Skip to content

Commit

Permalink
Enable watching of ConfigMaps
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
  • Loading branch information
alexellis committed Oct 17, 2023
1 parent 0d729f5 commit 98581dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chart/openfaas/templates/operator-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ rules:
{{- if .Values.operator.leaderElection.enabled }}
- apiGroups: [""]
resources: ["configmaps"]
verbs: [ "update", "patch", "delete"]
verbs: [ "update", "patch", "delete", "watch"]
{{- end }}
- apiGroups: ["apps", "extensions"]
resources: ["deployments"]
Expand Down Expand Up @@ -161,7 +161,7 @@ rules:
{{- if .Values.operator.leaderElection.enabled }}
- apiGroups: [""]
resources: ["configmaps"]
verbs: [ "update", "patch", "delete"]
verbs: [ "update", "patch", "delete", "watch"]
{{- end }}
# TODO: AE - remove endpoints from RBAC now that operator uses EndpointSlices
- apiGroups: [""]
Expand Down

0 comments on commit 98581dc

Please sign in to comment.