Skip to content

RBAC fixes to Helm Chart#5

Merged
gcaracuel merged 1 commit into
mainfrom
fix/helm_rbac
Aug 26, 2025
Merged

RBAC fixes to Helm Chart#5
gcaracuel merged 1 commit into
mainfrom
fix/helm_rbac

Conversation

@gcaracuel

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings August 26, 2025 12:49
@gcaracuel gcaracuel self-assigned this Aug 26, 2025

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

This PR implements RBAC fixes for the Dapr Trust Bundle Helm Chart to improve permissions management and chart configuration. The changes focus on enhancing RBAC documentation, updating resource naming for consistency, and providing better user guidance.

  • Improved RBAC configuration with better documentation and warnings
  • Updated image configuration to use specific tag and pull policy
  • Enhanced template naming consistency for metrics authentication resources

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
deploy/helm/dapr-trustbundle/values.yaml Updated image config, removed leader election settings, enhanced RBAC documentation
deploy/helm/dapr-trustbundle/templates/role.yaml Added detailed comments explaining RBAC permissions and simplified verb configuration
deploy/helm/dapr-trustbundle/templates/clusterrolebinding.yaml Renamed proxy-rolebinding to metrics-auth-rolebinding for clarity
deploy/helm/dapr-trustbundle/templates/clusterrole.yaml Renamed proxy-role to metrics-auth-role for consistency
deploy/helm/dapr-trustbundle/templates/NOTES.txt Added RBAC warnings and updated pod selector labels
README.md Added mermaid diagram showing component relationships

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment on lines 27 to 29
verbs:
- create
- delete

Copilot AI Aug 26, 2025

Copy link

Choose a reason for hiding this comment

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

The removal of 'patch' and 'update' verbs may be problematic. The comment on line 21 suggests this rule is for creating secrets and configmaps, but the operator may need to update existing resources. Consider if patch/update permissions are needed for proper operation.

Suggested change
verbs:
- create
- delete
- delete
- patch
- update

Copilot uses AI. Check for mistakes.
1. Check the status of the Dapr Trust Bundle Operator:

kubectl get pods -n {{ include "dapr-trustbundle.namespace" . }} -l control-plane=controller-manager
kubectl get pods -n {{ include "dapr-trustbundle.namespace" . }} -l control-plane=operator

Copilot AI Aug 26, 2025

Copy link

Choose a reason for hiding this comment

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

The label selector has changed from 'controller-manager' to 'operator'. Ensure this matches the actual labels applied to the deployed pods, otherwise users won't be able to find the running pods with these commands.

Copilot uses AI. Check for mistakes.
@gcaracuel gcaracuel merged commit 6f124ed into main Aug 26, 2025
3 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.

2 participants