Skip to content
Snippets Groups Projects
Commit 256e42be authored by Damiano Donati's avatar Damiano Donati Committed by Brad Davidson
Browse files

fix: system-upgrade-controller-drainer: add missing delete permission for pods in clusterrole

parent c900c39e
No related branches found
No related tags found
No related merge requests found
...@@ -91,7 +91,7 @@ rules: ...@@ -91,7 +91,7 @@ rules:
- "pods/eviction" - "pods/eviction"
verbs: verbs:
- "create" - "create"
# Needed to list pods by Node # Needed to list/delete pods by Node
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
...@@ -99,6 +99,7 @@ rules: ...@@ -99,6 +99,7 @@ rules:
verbs: verbs:
- "get" - "get"
- "list" - "list"
- "delete"
# Needed to cordon Nodes # Needed to cordon Nodes
- apiGroups: - apiGroups:
- "" - ""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment