-
Notifications
You must be signed in to change notification settings - Fork 661
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
Upgrade Role's apiVersion #602
Comments
https://kubernetes.io/docs/reference/using-api/deprecation-guide/#rbac-resources-v122 |
Thanks for raising this issue. I am still a little confused. Does that mean sealed-secrets 0.16.0 will not work with k8s 1.22+ currently until the manifests are updated? |
The manifests with the old versions will stop working yes. If they have already been applied and GKE performs the upgrade on its own it means the existing code will also stop working immediately. |
Is it correct the fix is single sed command? |
@dosmanak do you want to provide a PR for this? |
rbac.authorization.k8s.io/v1beta1 Role is deprecated in v1.17+, unavailable in v1.22+; use rbac.authorization.k8s.io/v1 done using command: find -type f -exec sed -i -e 's%rbac.authorization.k8s.io/v1beta1%rbac.authorization.k8s.io/v1%g' {} \;
Awaiting aproval to run the tests in PR #627 |
AFAIK, GKE clusters will soon be updated to Kubernetes v1.22 in stable branch, so this issue is pretty important. Btw, the issue name is strange to me: it's not about "Role's namespace". It's about deprecated api version. :) |
A month later I still wait for approval to run the tests etc. Anyone with particular permission, please respond. |
Would love to see this change released ASAP. |
Like the warnings say
The text was updated successfully, but these errors were encountered: