-
Notifications
You must be signed in to change notification settings - Fork 607
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Flux controllers to Kustomize v5.0 #3564
Comments
This has been fixed upstream, Kustomize v5 will be shipped in Kubernetes 1.27 next week. After the release we can look into updating Flux. |
Is this aimed to be included in the v2 GA or will this be updated in a later release? |
We don't know yet. While Kubernetes cli-runtime was update, the Kubernetes cli-utils is still on the old Kustomize version https://github.com/kubernetes-sigs/cli-utils/blob/ed4ec48b3405206c6c2200adbbc9606ea46b4257/go.mod#L95 |
We've started the upgrade, currently blocked by controller-runtime, ref: fluxcd/pkg#534 |
We are now waiting on kubernetes-sigs/controller-runtime#2297 that depends on Kubernetes 1.27.2 (scheduled for 17th May). |
This is now done and will be part of Flux v2.0.0-rc.4 release |
We should update Flux to Kustomize to v5.0.0 but this version comes with many breaking changes. One breaking change is the removal of the
DoLegacyResourceSort
which is used in Kubernetes cli-runtime. Given that the Flux controllers depend onk8s.io/cli-runtime
, we are in stuck with Kustomize v4 until there is an official Kubernetes release that includeskustomize/api@v0.13.1
incli-runtime
.Bumping
sigs.k8s.io/kustomize/api
tov0.13.1
in kustomize-controller results in:Use
kustomize/api@v0.13.1
andkustomize/kyaml@v0.14.0
in:The text was updated successfully, but these errors were encountered: