Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions deployment/helm/node-feature-discovery/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,12 @@ rules:
- pods
verbs:
- get
- apiGroups:
- apps
resources:
- daemonsets/finalizers
verbs:
- get
- update
- delete
Copy link
Preview

Copilot AI Sep 9, 2025

Choose a reason for hiding this comment

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

The delete verb on daemonsets/finalizers may be overly permissive. Consider if only get and update verbs are sufficient for setting blockOwnerDeletion, as delete allows removing finalizers from any DaemonSet which could impact cleanup behavior.

Suggested change
- delete

Copilot uses AI. Check for mistakes.

Copy link
Contributor

Choose a reason for hiding this comment

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

++

{{- end }}