aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2025-03-07 23:46:01 +0100
committerAleksandr Nogikh <nogikh@google.com>2025-03-11 21:04:55 +0000
commit05c08862c5a07507fd41fb4b335f35e3baa9f40e (patch)
tree752b6dc47f47fcfb9cec26fd11d853ff608e0790
parentf2eee6b3351e8cecbbd53e27c4f690a78b9ec2a2 (diff)
syz-cluster/overlays: add missing argo permissions
On minikube, argo controller was complaining about the lack of leases permissions. These are already contained in the "argo-role" role.
-rw-r--r--syz-cluster/overlays/common/workflow-roles.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/syz-cluster/overlays/common/workflow-roles.yaml b/syz-cluster/overlays/common/workflow-roles.yaml
index 591bc5238..d1f1274db 100644
--- a/syz-cluster/overlays/common/workflow-roles.yaml
+++ b/syz-cluster/overlays/common/workflow-roles.yaml
@@ -108,6 +108,22 @@ subjects:
---
+apiVersion: rbac.authorization.k8s.io/v1
+kind: RoleBinding
+metadata:
+ name: argo-role-to-controller-binding
+ namespace: argo
+roleRef:
+ apiGroup: rbac.authorization.k8s.io
+ kind: Role
+ name: argo-role
+subjects:
+- kind: ServiceAccount
+ name: argo-controller-ksa
+ namespace: argo
+
+---
+
apiVersion: v1
kind: Secret
metadata: