Skip to content
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 to use kubernetes api v1 #190

Closed
tibcoplord opened this issue Nov 9, 2020 · 4 comments · Fixed by #215
Closed

Upgrade to use kubernetes api v1 #190

tibcoplord opened this issue Nov 9, 2020 · 4 comments · Fixed by #215
Assignees
Labels
bug 🐛 Something isn't working
Milestone

Comments

@tibcoplord
Copy link

tibcoplord commented Nov 9, 2020

Describe the bug
With recent kubectl we see warnings about using deprecated CustomResourceDefinition and ClusterRole beta apis. We should upgrade to v1.

To Reproduce

$ kubectl apply -f nexus-operator.yaml 
...
namespace/nexus-operator-system created
Warning: apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition
...
clusterrole.rbac.authorization.k8s.io/nexus-operator-proxy-role created
Warning: rbac.authorization.k8s.io/v1beta1 ClusterRole is deprecated in v1.17+, unavailable in v1.22+; use rbac.authorization.k8s.io/v1 ClusterRole

Expected behavior
No warnings generated

Environment

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.3", GitCommit:"1e11e4a2108024935ecfcb2912226cedeafd99df", GitTreeState:"clean", BuildDate:"2020-10-14T18:49:28Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.3", GitCommit:"1e11e4a2108024935ecfcb2912226cedeafd99df", GitTreeState:"clean", BuildDate:"2020-10-14T12:41:49Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"linux/amd64"}
@tibcoplord tibcoplord added the bug 🐛 Something isn't working label Nov 9, 2020
@ricardozanini ricardozanini self-assigned this Nov 9, 2020
@ricardozanini ricardozanini added this to the v0.5.0 milestone Nov 9, 2020
@ricardozanini
Copy link
Member

ricardozanini commented Nov 9, 2020

Hi @tibcoplord!

Thanks for reporting! Yes, we are targeting this upgrade to 0.5.0 since we would like to still give support for old clusters like OpenShift 3.11. 0.4.0 is now cluster scoped, so it's a good feature to have for everyone out there.

Is this blocking you to use the operator?

Thanks again!

@tibcoplord
Copy link
Author

Is this blocking you to use the operator?

No .. I just spotted it so thought best to report.

@ricardozanini
Copy link
Member

Sure! Many thanks for reporting it :)

@ricardozanini
Copy link
Member

Fixed in #215

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants