fix: helm-charts in overlay only (#5)

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

- move the helm-charts to the overlay only

Reviewed-on: #5
This commit is contained in:
Ben Vincent 2026-03-01 16:01:32 +11:00
parent ce261f66c0
commit c52af7eb11
3 changed files with 9 additions and 11 deletions

View File

@ -4,7 +4,7 @@
# Usage: make build clusters/au-syd1/bootstrap
build:
@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:
@ -12,4 +12,4 @@ clean:
# Allow any argument after build to be treated as a path
%:
@:
@:

View File

@ -4,10 +4,3 @@ kind: Kustomization
resources:
- 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:
- ../../../base/reflector-system
patches:
- path: helm-patch.yaml
helmCharts:
- name: reflector
repo: oci://ghcr.io/emberstack/helm-charts
version: "10.0.1"
releaseName: reflector
namespace: reflector-system
valuesFile: values.yaml