-
Notifications
You must be signed in to change notification settings - Fork 86
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 Kubernetes to 1.27.2 and Kustomize to 5.0.3 #534
Conversation
Converted to draft until the controller-runtime fork is replaced with official release. |
b1b482b
to
84249aa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @aryan9600 🎖️
Is the |
Didn't notice that package as it had no direct deps to Kubernetes or Kustomize packages 😓 Let me update it as well. |
We decided to wait for controller-runtime v0.15 release that is blocked by a regression in Kubernetes v1.27 that will be fixed in Kubernetes 1.27.2 (scheduled for 17th May). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you update the controller-runtime dependencies to the v0.15.0-beta.0
tag?
After discussion with @stefanprodan, we have decided to bet on this for lower level dependencies, while allowing the controllers to manually upgrade to the final release.
This would unblock the controllers from prepping in a sane way.
* k8s.io/api => v0.27.2 * k8s.io/apimachinery => v0.27.2 * k8s.io/apiextensions-apiserver => v0.27.2 * k8s.io/client-go => v0.27.2 * k8s.io/component-base => v0.27.2 * sigs.k8s.io/controller-runtime => v0.15.0-beta.0 * sigs.k8s.io/kustomize/api => v0.13.4 * sigs.k8s.io/kustomize/kyaml => v0.14.2 * helm.sh/helm/v3 => v3.12.0 * github.com/onsi/gomega => v1.27.6 * github.com/go-logr/logr => v1.2.4 * github.com/prometheus/client_golang => v1.15.1 Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
Add a new util func `NewDynamicRESTMapper(restConfig *rest.Config)` in `runtime/client` for creating new RESTMapper objects. Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
v0.15.0-beta.0
NewDynamicRESTMapper(restConfig *rest.Config)
inruntime/client
for creating new RESTMapper objects.Part of: fluxcd/flux2#3564