Skip to content

Commit 98581dc

Browse files
committed
Enable watching of ConfigMaps
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent 0d729f5 commit 98581dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chart/openfaas/templates/operator-rbac.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ rules:
4444
{{- if .Values.operator.leaderElection.enabled }}
4545
- apiGroups: [""]
4646
resources: ["configmaps"]
47-
verbs: [ "update", "patch", "delete"]
47+
verbs: [ "update", "patch", "delete", "watch"]
4848
{{- end }}
4949
- apiGroups: ["apps", "extensions"]
5050
resources: ["deployments"]
@@ -161,7 +161,7 @@ rules:
161161
{{- if .Values.operator.leaderElection.enabled }}
162162
- apiGroups: [""]
163163
resources: ["configmaps"]
164-
verbs: [ "update", "patch", "delete"]
164+
verbs: [ "update", "patch", "delete", "watch"]
165165
{{- end }}
166166
# TODO: AE - remove endpoints from RBAC now that operator uses EndpointSlices
167167
- apiGroups: [""]

0 commit comments

Comments
 (0)