fix: helm-charts in overlay only

weird issues with kustomize not being able to merge helm-charts between
base/overlays

- move the helm-charts to the overlay only
This commit is contained in:
Ben Vincent 2026-03-01 16:00:23 +11:00
parent ce261f66c0
commit eafac246f0
3 changed files with 9 additions and 11 deletions

View File

@ -4,7 +4,7 @@
# Usage: make build clusters/au-syd1/bootstrap # Usage: make build clusters/au-syd1/bootstrap
build: build:
@mkdir -p manifests/$(filter-out $@,$(MAKECMDGOALS)) @mkdir -p manifests/$(filter-out $@,$(MAKECMDGOALS))
@kustomize build $(filter-out $@,$(MAKECMDGOALS)) --output manifests/$(filter-out $@,$(MAKECMDGOALS)) @kustomize build --enable-helm $(filter-out $@,$(MAKECMDGOALS)) --output manifests/$(filter-out $@,$(MAKECMDGOALS))
# Clean all generated manifests # Clean all generated manifests
clean: clean:
@ -12,4 +12,4 @@ clean:
# Allow any argument after build to be treated as a path # Allow any argument after build to be treated as a path
%: %:
@: @:

View File

@ -4,10 +4,3 @@ kind: Kustomization
resources: resources:
- namespace.yaml - namespace.yaml
helmCharts:
- name: reflector
repo: oci://ghcr.io/emberstack/helm-charts
version: "10.0.1"
releaseName: reflector
namespace: reflector-system

View File

@ -5,5 +5,10 @@ kind: Kustomization
resources: resources:
- ../../../base/reflector-system - ../../../base/reflector-system
patches: helmCharts:
- path: helm-patch.yaml - name: reflector
repo: oci://ghcr.io/emberstack/helm-charts
version: "10.0.1"
releaseName: reflector
namespace: reflector-system
valuesFile: values.yaml