Inheritance in postbuild substitute #4707
-
Hello, dose postBuild variables are inherited to next Kustomization? Kustomization A will have va1 and it will apply Kustomization B with var2, will var1 also be available at Kustomization B?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
No, Flux Kustomizations don't support inherited and never will, each object is reconciled independently. To share the same variables in multiple Kustomization, use |
Beta Was this translation helpful? Give feedback.
-
Thanks Stefan! |
Beta Was this translation helpful? Give feedback.
No, Flux Kustomizations don't support inherited and never will, each object is reconciled independently. To share the same variables in multiple Kustomization, use
substituteFrom
and a ConfigMap/Secret. Docs here: https://fluxcd.io/flux/components/kustomize/kustomizations/#post-build-variable-substitution