feat: Substitute variables from cluster-variables
This commit is contained in:
@@ -1,5 +1,16 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- gotk-components.yaml
|
- gotk-components.yaml
|
||||||
- gotk-sync.yaml
|
- gotk-sync.yaml
|
||||||
|
patches:
|
||||||
|
- patch: |
|
||||||
|
- op: add
|
||||||
|
path: /spec/postBuild
|
||||||
|
value:
|
||||||
|
substituteFrom:
|
||||||
|
- kind: ConfigMap
|
||||||
|
name: cluster-variables
|
||||||
|
target:
|
||||||
|
kind: Kustomization
|
||||||
|
name: flux-system
|
||||||
|
|||||||
Reference in New Issue
Block a user