Skip to content

[shell-operator] replace deprecated rbac examples#884

Merged
ldmonster merged 1 commit into
mainfrom
fix/issue-709-rbac-v1beta1-deprecated
May 21, 2026
Merged

[shell-operator] replace deprecated rbac examples#884
ldmonster merged 1 commit into
mainfrom
fix/issue-709-rbac-v1beta1-deprecated

Conversation

@ldmonster
Copy link
Copy Markdown
Collaborator

@ldmonster ldmonster commented May 21, 2026

The rbac.authorization.k8s.io/v1beta1 API was deprecated in Kubernetes 1.17 and removed in 1.22. Update all example ClusterRole and ClusterRoleBinding manifests (plus the HOOKS.md reference) to use the stable rbac.authorization.k8s.io/v1 API so the examples apply cleanly on current Kubernetes versions.

Fixes #709

Overview

What this PR does / why we need it

Special notes for your reviewer

…ith v1

The rbac.authorization.k8s.io/v1beta1 API was deprecated in Kubernetes
1.17 and removed in 1.22. Update all example ClusterRole and
ClusterRoleBinding manifests (plus the HOOKS.md reference) to use the
stable rbac.authorization.k8s.io/v1 API so the examples apply cleanly
on current Kubernetes versions.

Fixes #709

Co-authored-by: Cursor <cursoragent@cursor.com>
@ldmonster ldmonster self-assigned this May 21, 2026
@ldmonster ldmonster merged commit 81a27e6 into main May 21, 2026
7 of 8 checks passed
@ldmonster ldmonster deleted the fix/issue-709-rbac-v1beta1-deprecated branch May 21, 2026 13:40
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

Successfully merging this pull request may close these issues.

Deprecated or deleted API version in "rbac" in examples

1 participant