Skip to content

Commit

Permalink
Grant Consul API Gateway controller access to new PodSecurityPolicy
Browse files Browse the repository at this point in the history
  • Loading branch information
nathancoleman committed Oct 27, 2022
1 parent dfdf7ff commit 5af4a55
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,4 +244,12 @@ rules:
- get
- patch
- update
{{- if .Values.global.enablePodSecurityPolicies }}
- apiGroups: ["policy"]
resources: ["podsecuritypolicies"]
resourceNames:
- {{ template "consul.fullname" . }}-api-gateway-controller
verbs:
- use
{{- end }}
{{- end }}

0 comments on commit 5af4a55

Please sign in to comment.