Substitute cluster env variable

This commit is contained in:
2025-12-02 00:21:57 +01:00
parent 97c988761f
commit 8df322cfea

View File

@@ -1,5 +1,15 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- gotk-components.yaml
- gotk-sync.yaml
- gotk-components.yaml
- gotk-sync.yaml
patches:
- patch: |
- op: add
path: /spec/postBuild
value:
substitute:
cluster_env: staging
target:
kind: Kustomization
name: flux-system