fix review comments

Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
This commit is contained in:
David J. M. Karlsen 2019-12-16 00:09:48 +01:00
parent 9ac72abd1a
commit 069ecf5cc3
No known key found for this signature in database
GPG key ID: F54982D216088EE1
5 changed files with 8 additions and 9 deletions

View file

@ -35,7 +35,7 @@ spec:
{{- toYaml .Values.controller.podLabels | nindent 8 }}
{{- end }}
spec:
{{- if .Values.global.securityContext.enabled }}
{{- if .Values.global.securityContext }}
securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }}
{{- end }}
containers:

View file

@ -35,7 +35,7 @@ spec:
{{- toYaml .Values.controller.podLabels | nindent 8 }}
{{- end }}
spec:
{{- if .Values.global.securityContext.enabled }}
{{- if .Values.global.securityContext }}
securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }}
{{- end }}
containers:

View file

@ -35,7 +35,7 @@ spec:
{{- toYaml .Values.controller.podLabels | nindent 8 }}
{{- end }}
spec:
{{- if .Values.global.securityContext.enabled }}
{{- if .Values.global.securityContext }}
securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }}
{{- end }}
containers:

View file

@ -25,7 +25,7 @@ spec:
app.kubernetes.io/component: {{ .Values.redis.name }}
spec:
automountServiceAccountToken: false
{{- if .Values.global.securityContext.enabled }}
{{- if .Values.global.securityContext }}
securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }}
{{- end }}
containers:

View file

@ -12,11 +12,10 @@ global:
repository: argoproj/argocd
tag: v1.3.4
imagePullPolicy: IfNotPresent
securityContext:
enabled: true
runAsUser: 999
runAsGroup: 999
fsGroup: 999
securityContext: {}
# runAsUser: 999
# runAsGroup: 999
# fsGroup: 999
## Controller
controller: