Skip to content

Remove role name length assertions#47

Merged
simu merged 1 commit into
masterfrom
fix/generated-rbac-namelength
May 26, 2026
Merged

Remove role name length assertions#47
simu merged 1 commit into
masterfrom
fix/generated-rbac-namelength

Conversation

@simu
Copy link
Copy Markdown
Member

@simu simu commented May 26, 2026

Kubernetes actually doesn't restrict role/clusterrole name length. The actual error I saw previously was that the value of app.kubernetes.io/name can't exceed 63 characters.

For better UX, we remove the name length assertions again and instead drop the app.kubernetes.io/name label from the supplemental roles and rolebindings since that label isn't really required anyway.

Follow-up for #44

Checklist

  • The PR has a meaningful title. It will be used to auto-generate the
    changelog.
    The PR has a meaningful description that sums up the change. It will be
    linked in the changelog.
  • PR contains a single logical change (to build a better changelog).
  • Categorize the PR by adding one of the labels:
    bug, enhancement, documentation, change, breaking, dependency
    as they show up in the changelog.
  • Link this PR to related issues or PRs.

@simu simu requested a review from a team May 26, 2026 13:36
@simu simu added bug Something isn't working bump:patch labels May 26, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 26, 2026

🚀 This PR has been released as v0.19.2

Triggering workflows Release

🛠️ Auto tagging enabled with label bump:patch

@simu simu force-pushed the fix/generated-rbac-namelength branch from 2a01771 to 473a445 Compare May 26, 2026 13:38
Kubernetes actually doesn't restrict role/clusterrole name length. The
actual error I saw previously was that the value of
`app.kubernetes.io/name` can't exceed 63 characters.

For better UX, we remove the name length assertions again and drop the
`app.kubernetes.io/name` label from the supplemental roles and
rolebindings since that label isn't really required anyway.
@simu simu force-pushed the fix/generated-rbac-namelength branch from 473a445 to e42b6b2 Compare May 26, 2026 13:40
@simu simu merged commit c900790 into master May 26, 2026
11 checks passed
@simu simu deleted the fix/generated-rbac-namelength branch May 26, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working bump:patch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants