Skip to content

Deprecated or deleted API version in "rbac" in examples #709

New issue

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

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

Already on GitHub? Sign in to your account

Open
Dor1ma opened this issue Jan 29, 2025 · 0 comments
Open

Deprecated or deleted API version in "rbac" in examples #709

Dor1ma opened this issue Jan 29, 2025 · 0 comments

Comments

@Dor1ma
Copy link

Dor1ma commented Jan 29, 2025

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant