Skip to content

Commit e271751

Browse files
committed
namespaces: give SAs access to get pod/status
Service Accounts need to be able to `get` `pod/status`. `warnet run SCENARIO --debug` does use `wait_for_pod` which calls `read_namespaced_pod_status` which is likely where we were running into the permissions issue.
1 parent b900df5 commit e271751

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

resources/charts/namespaces/values.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ roles:
1919
resources: ["persistentvolumeclaims", "namespaces"]
2020
verbs: ["get", "list"]
2121
- apiGroups: [""]
22-
resources: ["events"]
22+
resources: ["events", "pods/status"]
2323
verbs: ["get"]
2424
- name: pod-manager
2525
rules:
@@ -36,5 +36,5 @@ roles:
3636
resources: ["persistentvolumeclaims", "namespaces"]
3737
verbs: ["get", "list"]
3838
- apiGroups: [""]
39-
resources: ["events"]
40-
verbs: ["get"]
39+
resources: ["events", "pods/status"]
40+
verbs: ["get"]

0 commit comments

Comments
 (0)