Skip to content

fix: fix pods/resize verbs in chart role templates#3544

Merged
FabianKramm merged 1 commit intoloft-sh:mainfrom
flomedja:fix-pod-resize-role-in-chart
Jan 29, 2026
Merged

fix: fix pods/resize verbs in chart role templates#3544
FabianKramm merged 1 commit intoloft-sh:mainfrom
flomedja:fix-pod-resize-role-in-chart

Conversation

@flomedja
Copy link
Contributor

What issue type does this pull request address? (keep at least one, remove the others)
/kind bugfix

What does this pull request do? Which issues does it resolve? (use resolves #<issue_number> if possible)
resolves #

Please provide a short message that should be published in the vcluster release notes
Fixed an issue where vcluster ...

What else do we need to know?

@flomedja flomedja requested a review from FabianKramm as a code owner January 29, 2026 15:45
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 216dac08ed

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines 44 to 46
- apiGroups: [""]
resources: ["pods/resize"]
verbs: ["patch"]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Grant update for pods/resize

The rule for pods/resize now grants only patch, but Kubernetes’ generated client uses UpdateResize with verb update on the resize subresource (see vendor/k8s.io/api/core/v1/types.go around the +genclient:method=UpdateResize,verb=update,subresource=resize annotation). In clusters where this rule applies (>=1.35 per the Helm gate), any controller or client-go caller using the standard update path will still receive RBAC 403s, so resize operations remain broken. Consider including update (and optionally patch) in the verbs list.

Useful? React with 👍 / 👎.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@flomedja flomedja force-pushed the fix-pod-resize-role-in-chart branch from 216dac0 to 493b329 Compare January 29, 2026 15:51
@github-actions
Copy link

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

Copy link
Contributor

@johannesfrey johannesfrey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@FabianKramm FabianKramm merged commit fd932f5 into loft-sh:main Jan 29, 2026
39 checks passed
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.

3 participants