You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The defaultkustomize build --reorder legacyorders our resources in a way that a CRD(SealedSecret) is declared below dependant CRs. This is causing flux to fail.
Our kustomizations are arranged in a way that our CRD is listed first, so kustomize build --reorder none will output resources in the right order, with the CRD above everything else. The --reorder flag (and probably the others, but only concerned with --reorder here) should be configurable instead of hard coded. I'm just looking for thoughts from the community on this change, as it appears others are running into similar issues, and it looks like it should be a small change.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The default
kustomize build --reorder legacy
orders our resources in a way that a CRD(SealedSecret) is declared below dependant CRs. This is causing flux to fail.Our kustomizations are arranged in a way that our CRD is listed first, so
kustomize build --reorder none
will output resources in the right order, with the CRD above everything else. The--reorder
flag (and probably the others, but only concerned with--reorder
here) should be configurable instead of hard coded. I'm just looking for thoughts from the community on this change, as it appears others are running into similar issues, and it looks like it should be a small change.Steps to reproduce the ordering issue can be found in kustomize issue #821.
Beta Was this translation helpful? Give feedback.
All reactions