Skip to content

Commit 084a294

Browse files
committed
r
1 parent b58247a commit 084a294

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

.github/workflows/build-apiserver.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ jobs:
4646
with:
4747
bundle-name: ghcr.io/datum-cloud/search-kustomize
4848
bundle-path: config
49-
image-overlays: |
50-
config/base
51-
config/core-control-plane
49+
image-overlays: config/base
5250
image-name: ghcr.io/datum-cloud/search
5351
secrets: inherit
Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
# This overlay aggregates all search components for deployment into the core
2-
# control plane. It includes the apiserver, resource-indexer, and the
3-
# controller-manager with its core-control-plane RBAC overlay.
2+
# control plane. It includes the full base (apiserver, controller-manager,
3+
# resource-indexer) and layers on the controller-manager RBAC overlay that is
4+
# specific to the core control plane.
45
#
5-
# The images block at this level ensures that the CI-injected image tag
6-
# cascades down to all sub-components.
6+
# The images block from ../base cascades down to all sub-components, so CI
7+
# only needs to inject the tag into config/base.
78
apiVersion: kustomize.config.k8s.io/v1beta1
89
kind: Kustomization
910

1011
resources:
11-
- ../base/apiserver
12-
- ../overlays/controller-manager/core-control-plane
13-
- ../base/resource-indexer
12+
# The base aggregates apiserver, controller-manager, and resource-indexer.
13+
# Its images: block (injected by CI) cascades the correct tag to all.
14+
- ../base
15+
# Add the RBAC resources specific to the core control plane.
16+
- ../overlays/controller-manager/core-control-plane/rbac
1417

15-
images:
16-
- name: ghcr.io/datum-cloud/search
17-
newTag: latest
18+
patches:
19+
# Apply the controller-manager deployment patch from the overlay.
20+
- path: ../overlays/controller-manager/core-control-plane/patches/deployment.yaml

0 commit comments

Comments
 (0)