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:
parent
ce261f66c0
commit
c52af7eb11
4
Makefile
4
Makefile
@ -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
|
||||
%:
|
||||
@:
|
||||
@:
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user