Skip to content

Commit

Permalink
added fsGroup to admission createSecret and patchWebhook job
Browse files Browse the repository at this point in the history
  • Loading branch information
dylan-bitovi committed Jan 31, 2022
1 parent a2a0e67 commit 56e063f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,5 @@ spec:
securityContext:
runAsNonRoot: true
runAsUser: {{ .Values.controller.admissionWebhooks.patch.runAsUser }}
fsGroup: {{ .Values.controller.admissionWebhooks.patch.fsGroup }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,5 @@ spec:
securityContext:
runAsNonRoot: true
runAsUser: {{ .Values.controller.admissionWebhooks.patch.runAsUser }}
fsGroup: {{ .Values.controller.admissionWebhooks.patch.fsGroup }}
{{- end }}
1 change: 1 addition & 0 deletions charts/ingress-nginx/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,7 @@ controller:
# -- Labels to be added to patch job resources
labels: {}
runAsUser: 2000
fsGroup: 2000

metrics:
port: 10254
Expand Down

0 comments on commit 56e063f

Please sign in to comment.