-
Notifications
You must be signed in to change notification settings - Fork 70
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
Remove apis that wont work in k8s 1.22 #116
Conversation
thanks for opening @theoriginalgri @rimusz
What is the versioning strategy in terms of Kubernetes version compatibility? |
@cdaguerre Since the README.md states "Kubernetes versions older than 1.9 are not supported by this chart.", it's probably better to just update RBAC to not increase this to 1.21? |
@cdaguerre minor version bump is fine. Also as not everyone is on 1.22+ I suggest to add to PDB and RBAC templates something like this:
As the chart needs to be backwards compatible. |
Ok then:
@rimusz I didn't add the condition for RBAC because the stable api version is available since Kubernetes 1.8 and the readme states that this chart is not compatible with kube versions below 1.9. |
What this PR does / why we need it:
Removes deprecated api usage which is removed in 1.22. New APIs available from 1.8 on.
See also https://kubernetes.io/docs/reference/using-api/deprecation-guide/#rbac-resources-v122
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]
This is not my code. I've just seen @cdaguerre already did the changes I was going to make but did not create a pull request to this repo.