Skip to content

[fix](helm) operator RBAC matches config/operator manifests - #529

Open
SLoeuillet wants to merge 1 commit into
apache:masterfrom
SLoeuillet:fix/chart-rbac-502
Open

SLoeuillet wants to merge 1 commit into
apache:masterfrom
SLoeuillet:fix/chart-rbac-502

Conversation

@SLoeuillet

Copy link
Copy Markdown

What problem does this PR solve?

Issue Number: close #527

The Helm chart's RBAC lags behind config/operator/operator.yaml and config/operator/disaggregated-operator.yaml. This adds the four rules it misses:

Rule Added to the manifests by
pods delete #502 (graceful compute-group shutdown)
pods/exec create #502
events update (leader-election Role) #502
persistentvolumeclaims create ca0bf94 (operator-provisioned PVCs, provisioner: operator)

The fourth one isn't in #527; it surfaced while diffing every rule.

Release note

doris-operator chart: RBAC now matches config/operator/, so operator 26.x can delete and exec into pods, and create PVCs it provisions.

Check List (For Author)

  • Test
    • Manual test: every (apiGroup, resource, verb) granted by config/operator/operator.yaml and config/operator/disaggregated-operator.yaml is in the rendered chart; before this change four were missing, after it none are. The chart gains exactly those four, loses none, and renders no other object differently. Both roles pass kubeconform -strict.
  • Behavior changed:
    • Yes. The operator's ServiceAccount gets the four permissions above.
  • Does this need documentation?
    • No.

🤖 Generated with Claude Code

The chart's ClusterRole and leader-election Role lagged behind
config/operator/{operator,disaggregated-operator}.yaml:

- pods delete and pods/exec create, added for the graceful compute-group
  shutdown (apache#502);
- persistentvolumeclaims create, added with operator-provisioned PVCs
  (ca0bf94, used when a volume sets `provisioner: operator`);
- events update in the leader-election Role.

Fixes apache#527

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

[Bug] Helm chart RBAC misses pods delete, pods/exec create and events update needed by #502

1 participant