Fix RBAC: add argo-workflow SA, pods/exec, and nodes permissions
This commit is contained in:
parent
8ecd75b53d
commit
6ce7116c4b
@ -42,8 +42,13 @@ rules:
|
|||||||
|
|
||||||
# Pods for verification and workflow execution
|
# Pods for verification and workflow execution
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["pods", "pods/log"]
|
resources: ["pods", "pods/log", "pods/exec"]
|
||||||
verbs: ["get", "list", "watch", "patch", "update"]
|
verbs: ["get", "list", "watch", "create", "patch", "update"]
|
||||||
|
|
||||||
|
# Nodes - for getting node IPs for IP registration
|
||||||
|
- apiGroups: [""]
|
||||||
|
resources: ["nodes"]
|
||||||
|
verbs: ["get", "list"]
|
||||||
|
|
||||||
# ArgoCD Applications (CRDs)
|
# ArgoCD Applications (CRDs)
|
||||||
- apiGroups: ["argoproj.io"]
|
- apiGroups: ["argoproj.io"]
|
||||||
@ -69,6 +74,9 @@ subjects:
|
|||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: default
|
name: default
|
||||||
namespace: argo-workflows
|
namespace: argo-workflows
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: argo-workflow
|
||||||
|
namespace: argo-workflows
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: argo-workflows
|
name: argo-workflows
|
||||||
namespace: argo-workflows
|
namespace: argo-workflows
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user