shell-operator icon indicating copy to clipboard operation
shell-operator copied to clipboard

Deprecated or deleted API version in "rbac" in examples

Open Dor1ma opened this issue 11 months ago • 0 comments

Is your feature request related to a problem? Please describe. Some examples in /examples directory contains deprecated or deleted version of RBAC API (v1beta1) in "shell-operator-rbac.yaml". This causes a nasty but simple error

Describe the solution you'd like to see Because this API version is outdated or has been removed, I suggest replacing v1betav1 with v1. At least in my case it worked (Kubernetes 1.22)

Describe alternatives you've considered Currently, as an alternative, the end user will have to change the config from the example manually

Additional context After a little research I found a following information:

  • In Kubernetes 1.17 API rbac.authorization.k8s.io/v1beta1 was marked as 'deprecated'
  • In Kubernetes 1.22 this API was finally removed

Dor1ma avatar Jan 29 '25 18:01 Dor1ma