Skip to content

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:

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

All scaffolded projects are using deprecated rbac.authorization.k8s.io/v1beta1 for the auth proxy client ClusterRole
3 participants