diff --git a/execution/helm/templates/theodolite/role.yaml b/execution/helm/templates/theodolite/role.yaml index ee699a5b861c64e355ca2ba44330a7d600756b77..f74960e7bb06c94d4d9555a367fdccdeac7ab8f0 100644 --- a/execution/helm/templates/theodolite/role.yaml +++ b/execution/helm/templates/theodolite/role.yaml @@ -56,5 +56,17 @@ rules: - watch - update - patch + - apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - delete + - list + - get + - create + - watch + - update + - patch {{- end }} {{- end }} \ No newline at end of file diff --git a/execution/infrastructure/kubernetes/rbac/role.yaml b/execution/infrastructure/kubernetes/rbac/role.yaml index a21fd554f0f56b3955e9a9b6cf4bf95442b5d7af..5c7357ce4fa87228222980cc91ef3ed42c4cc34c 100644 --- a/execution/infrastructure/kubernetes/rbac/role.yaml +++ b/execution/infrastructure/kubernetes/rbac/role.yaml @@ -52,4 +52,17 @@ rules: - watch - update - patch + - apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - delete + - list + - get + - create + - watch + - update + - patch +