-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Update kustomize to v3.8.7 #3457
Comments
Hi! Thanks for the suggestion! Flux v1 is currently in maintenance mode, I wonder if you've tried the new Kustomize Controller? We are being very conservative about upgrading things in Flux v1 because of the new development work that is taking place in Flux v2. If there is something stopping you from moving to Flux v2, we'd much rather address that and make the investment where the new development is going. I see you've submitted this as a PR, I'm not sure it can be merged if it adds new features. Can you make the case for this in a way that it helps as a transitionary feature, that will make it easier to move to Flux v2? Broadly, we are not trying to attract new users to Flux v1 if they can be onboarded with the new architecture instead because so many scaling and support issues are already solved there. I would be more likely to consider this for merge if it was accompanied by a piece of documentation explaining the new functionality. What do you think about this? |
There is I will hold this issue open until 1.23.0 simply for tracking that, whenever the next minor release 1.23.0 is out, we actually pick the same version of Kustomize that is in use in Flux v2 at that time. The release should be ready not much later today, assuming I can find approvers as I need them. 👍 |
According to #3500, we might be inclined to downgrade the Kustomize version back to... I hope you are ready for this... Kustomize of no higher than Thanks again for your initial submission, which suggested the most conservative upgrade. I think it will cause too much chaos to upgrade Kustomize any further, and based on experience in Flux v2, the Kustomize v4 upgrade certainly has enough breaking changes that it will definitely not be possible. Upgrading to v3.10.0 seems quite unlikely too at this point. I'm going to leave this issue open for visibility, but for the record I just wanted to tie this still-outstanding issue to the new issue report that just surfaced. |
According to #3500, there are breaking changes in the patch release of Kustomize v3.8.8 which were included in the Flux 1.23.0 release that upgraded from Kustomize v3.8.4 to v3.8.10. A PATCH or MINOR release in semver is meant to signal that compatibility is maintained, but it appears the semver wasn't totally honest and a behavior was changed in a destructive way for some users. Other Flux users were looking (#3457) for functionality that was added in v3.8.5, (so I guess that could have been our first clue semver isn't strictly honored) rather than revert the update entirely, we'd like to at least upgrade that far. Signed-off-by: Kingdon Barrett <kingdon@weave.works>
According to #3500, there are breaking changes in the patch release of Kustomize v3.8.8 which were included in the Flux 1.23.0 release that upgraded from Kustomize v3.8.4 to v3.8.10. A PATCH or MINOR release in semver is meant to signal that compatibility is maintained, but it appears the semver wasn't totally honest and a behavior was changed in a destructive way for some users. Other Flux users were looking (#3457) for functionality that was added in v3.8.5, (so I guess that could have been our first clue semver isn't strictly honored) rather than revert the update entirely, we'd like to at least upgrade that far. Signed-off-by: Kingdon Barrett <kingdon@weave.works>
According to fluxcd#3500, there are breaking changes in the patch release of Kustomize v3.8.8 which were included in the Flux 1.23.0 release that upgraded from Kustomize v3.8.4 to v3.8.10. A PATCH or MINOR release in semver is meant to signal that compatibility is maintained, but it appears the semver wasn't totally honest and a behavior was changed in a destructive way for some users. Other Flux users were looking (fluxcd#3457) for functionality that was added in v3.8.5, (so I guess that could have been our first clue semver isn't strictly honored) rather than revert the update entirely, we'd like to at least upgrade that far. Signed-off-by: Kingdon Barrett <kingdon@weave.works>
According to #3500, there are breaking changes in the patch release of Kustomize v3.8.8 which were included in the Flux 1.23.0 release that upgraded from Kustomize v3.8.4 to v3.8.10. A PATCH or MINOR release in semver is meant to signal that compatibility is maintained, but it appears the semver wasn't totally honest and a behavior was changed in a destructive way for some users. Other Flux users were looking (#3457) for functionality that was added in v3.8.5, (so I guess that could have been our first clue semver isn't strictly honored) rather than revert the update entirely, we'd like to at least upgrade that far. Signed-off-by: Kingdon Barrett <kingdon@weave.works>
Currently Flux v1 is using kustomize v.3.8.4.
It would be nice to upgrade the kustomize to at least v3.8.5 or above to leverage the var ref in deployment template annotations.
https://github.com/kubernetes-sigs/kustomize/blob/kustomize/v3.8.5/api/konfig/builtinpluginconsts/varreference.go
The text was updated successfully, but these errors were encountered: