Add ability to have optional dependencies #3715
Unanswered
gavinclarkeuk
asked this question in
Proposals
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have a use case where we have multiple clusters being deployed with flux. We're deploying a nested baseline set of Kustomizations with dependencies between each, and in some clusters we have some additional Kustomizations. Whilst it is straightforward to make the additional Kustomizations depend on a baseline Kustomization, we'd also likemake a baseline Kustomization depend on an additional Kustomizations if it exists.
This could be modelled by adding an
optional
flag to the dependency like this:Would something like this be feasible? If not then how would you recommend we manage this optional dependency. One option might be to apply a patch, but given the nested nature of the Kustomizations I'm not sure how practical that would be.
Beta Was this translation helpful? Give feedback.
All reactions