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

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

Closed
joelanford opened this issue Oct 20, 2020 · 0 comments · Fixed by #4136
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. language/ansible Issue is related to an Ansible operator project language/go Issue is related to a Go operator project language/helm Issue is related to a Helm operator project
Milestone

Comments

@joelanford
Copy link
Member

Bug Report

What did you do?

Initialized new projects for Go, Ansible, and Helm

What did you expect to see?

Consistent use of rbac.authorization.k8s.io/v1 for all RBAC resources.

What did you see instead? Under which circumstances?

In all project types, the metrics-reader ClusterRole in ./config/rbac/auth_proxy_client_clusterrole.yaml uses apiVersion: rbac.authorization.k8s.io/v1beta1

Environment

Operator type:

/language go
/language ansible
/language helm

Kubernetes cluster type:

N/A

$ operator-sdk version

operator-sdk version: "v1.1.0-3-ge3110860", commit: "e3110860a8b8681cb78ddb520f53c3eed104b28a", kubernetes version: "v1.18.8", go version: "go1.15.2 linux/amd64", GOOS: "linux", GOARCH: "amd64"

$ go version (if language is Go)

N/A

$ kubectl version

N/A

Possible Solution

Update scaffold to use rbac.authorization.k8s.io/v1 in ./config/rbac/auth_proxy_client_clusterrole.yaml

Additional context

Upstream kubebuilder PR: kubernetes-sigs/kubebuilder#1731

@openshift-ci-robot openshift-ci-robot added language/go Issue is related to a Go operator project language/ansible Issue is related to an Ansible operator project language/helm Issue is related to a Helm operator project labels Oct 20, 2020
@joelanford joelanford added the kind/bug Categorizes issue or PR as related to a bug. label Oct 20, 2020
@estroz estroz added this to the v1.2.0 milestone Oct 21, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. language/ansible Issue is related to an Ansible operator project language/go Issue is related to a Go operator project language/helm Issue is related to a Helm operator project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants