-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
(ansible/v1, helm/v1): deprecate the flag since APIs is not longer offered from k8s 1.22 and this flag is deprecated for Golang #5815
(ansible/v1, helm/v1): deprecate the flag since APIs is not longer offered from k8s 1.22 and this flag is deprecated for Golang #5815
Conversation
…fered from k8s 1.22 and this flag is deprecated for Golang Signed-off-by: Camila Macedo <[email protected]>
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.
Just one nit on the warning wording.
entries: | ||
- description: > | ||
For Ansible/Helm based-operators (ansible/v1, helm/v1), deprecate the flag `crd-version` since | ||
`v1beta1` APIs is not longer offered from k8s 1.22 and this flag is deprecated for Golang. |
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.
Do we need to back port this to the SDK release which supports k8s 1.22?
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.
It is not a bug fix so if we not be able to backport that is 100% fine.
However, I think that would be cool if we are able to do that
Co-authored-by: Bryce Palmer <[email protected]>
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
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
all suggestions were addressed
…fered from k8s 1.22 and this flag is deprecated for Golang (operator-framework#5815) * (ansible/v1, helm/v1): deprecate the flag since APIs is not longer offered from k8s 1.22 and this flag is deprecated for Golang Signed-off-by: Camila Macedo <[email protected]> * Update internal/plugins/util/message.go Co-authored-by: Bryce Palmer <[email protected]> Co-authored-by: Bryce Palmer <[email protected]>
Description
deprecate the flag since APIs is not longer offered from k8s 1.22 and this flag is deprecated for Golang
NOTE: Users should no longer be using this option since if they scaffold projects with v1beta1 it will no longer work on Kubernetes versions >= 1.22. By using v1 for CRDs they can create projects which can work since Kubernetes 1.16