Skip to content

fix: remove unnecessary nodes/proxy RBAC permissions#1754

Merged
AndrewChubatiuk merged 2 commits intomasterfrom
remove-nodes-proxy-permission
Jan 27, 2026
Merged

fix: remove unnecessary nodes/proxy RBAC permissions#1754
AndrewChubatiuk merged 2 commits intomasterfrom
remove-nodes-proxy-permission

Conversation

@vrutkovs
Copy link
Copy Markdown
Collaborator

@vrutkovs vrutkovs commented Jan 27, 2026

The nodes/proxy permission is not required for the VMAgent controller's operation and may be used to raise privileges.

Fixes #1753


Summary by cubic

Removed the unnecessary nodes/proxy RBAC permission from the VMAgent controller and ClusterRole to reduce privileges and prevent potential escalation. Updated RBAC annotations and the changelog to match; fixes #1753.

Written for commit 016d776. Summary will update on new commits.

The `nodes/proxy` permission is not required for the VMAgent controller's
operation and may be used to raise privileges.
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

1 issue found across 4 files

Prompt for AI agents (all issues)

Check if these issues are valid — if so, understand the root cause of each and fix them.


<file name="docs/CHANGELOG.md">

<violation number="1" location="docs/CHANGELOG.md:18">
P1: Rule violated: **Changelog Review Agent**

Changelog entry violates the required structure: it describes an internal RBAC permission removal without a before/after, user-visible impact explanation. The changelog rules require user-centric before/after context and observable improvement; internal cleanups alone must be rejected.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Comment thread docs/CHANGELOG.md Outdated
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Signed-off-by: Vadim Rutkovsky <roignac@gmail.com>
@AndrewChubatiuk AndrewChubatiuk merged commit 3ca966f into master Jan 27, 2026
7 of 9 checks passed
@AndrewChubatiuk AndrewChubatiuk deleted the remove-nodes-proxy-permission branch January 27, 2026 09:05
f41gh7 pushed a commit to VictoriaMetrics/VictoriaMetrics that referenced this pull request Jan 29, 2026
…removed

 Updated helm-charts and operators no longer come with nodes/proxy
permissions for vmagent/vmsingle roles. In the examples using kubelet's
proxy endpoint we should explicitly create ClusterRoles /
ClusterRoleBinding to grant access.

See VictoriaMetrics/operator#1754 and
VictoriaMetrics/helm-charts#2676

Ref: VictoriaMetrics/operator#1753
f41gh7 pushed a commit to VictoriaMetrics/VictoriaMetrics that referenced this pull request Jan 29, 2026
…removed

 Updated helm-charts and operators no longer come with nodes/proxy
permissions for vmagent/vmsingle roles. In the examples using kubelet's
proxy endpoint we should explicitly create ClusterRoles /
ClusterRoleBinding to grant access.

See VictoriaMetrics/operator#1754 and
VictoriaMetrics/helm-charts#2676

Ref: VictoriaMetrics/operator#1753
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.

Extra nodes/proxy permission for vmagent role

2 participants