All scaffolded projects are using deprecated rbac.authorization.k8s.io/v1beta1
for the auth proxy client ClusterRole
#4072
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
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
usesapiVersion: 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
The text was updated successfully, but these errors were encountered: