Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

go/ansible/helm plugins: use rbac/v1 for metrics reader cluster role #4136

Merged

Conversation

joelanford
Copy link
Member

Description of the change:

In Go, Ansible, and Helm operators, updated the metrics-reader ClusterRole to use rbac.authorization.k8s.io/v1 to be consistent with all other scaffolded RBAC resources.

Motivation for the change:

Closes #4072

Checklist

If the pull request includes user-facing changes, extra documentation is required:

@@ -34,7 +34,7 @@ require (
rsc.io/letsencrypt v0.0.3 // indirect
sigs.k8s.io/controller-runtime v0.6.3
sigs.k8s.io/controller-tools v0.3.0
sigs.k8s.io/kubebuilder v1.0.9-0.20201014221150-c993a2a221fe
sigs.k8s.io/kubebuilder v1.0.9-0.20201021204649-36124ae2e027
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it the latest version?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not. This is the commit that added the fix for this particular issue after my upstream PR merged. I didn't want to pull in any more than necessary since this PR is meant to only cover the rbac/v1 scaffolding fix.

Copy link
Contributor

@camilamacedo86 camilamacedo86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @joelanford,
I checked and shows that only your pr requires a changelog entry (kubernetes-sigs/kubebuilder@c993a2a...36124ae). So,

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 30, 2020
@joelanford joelanford merged commit ca096b6 into operator-framework:master Oct 30, 2020
@joelanford joelanford deleted the plugins-use-rbac-v1 branch October 30, 2020 13:24
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
lgtm Indicates that a PR is ready to be merged.
Projects
None yet
3 participants