diff --git a/execution/helm/templates/theodolite/role.yaml b/execution/helm/templates/theodolite/role.yaml index ee699a5b861c64e355ca2ba44330a7d600756b77..630a84c0491328a9bb1900c1f99a8f4643020e17 100644 --- a/execution/helm/templates/theodolite/role.yaml +++ b/execution/helm/templates/theodolite/role.yaml @@ -56,5 +56,14 @@ rules: - watch - update - patch + - apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - delete + - get + - create + - update {{- 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..e45814eedacd30715075f66e520f9f9e6bfc42ad 100644 --- a/execution/infrastructure/kubernetes/rbac/role.yaml +++ b/execution/infrastructure/kubernetes/rbac/role.yaml @@ -52,4 +52,12 @@ rules: - watch - update - patch - + - apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - delete + - get + - create + - update \ No newline at end of file