fix review comments
Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
This commit is contained in:
parent
9ac72abd1a
commit
069ecf5cc3
5 changed files with 8 additions and 9 deletions
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue