rename containerSecurityContext to just securityContext as per k8s api reference

Signed-off-by: Naseem Ullah <naseemkullah@gmail.com>
pull/5110/head
Naseem Ullah 7 years ago
parent 8d8c3ce014
commit d196d9550d

@ -86,14 +86,14 @@ deployment:
podSecurityContext: {} podSecurityContext: {}
# fsGroup: 2000 # fsGroup: 2000
# runAsNonRoot: true
# runAsUser: 10001
containerSecurityContext: {} securityContext: {}
# capabilities: # capabilities:
# drop: # drop:
# - ALL # - ALL
# readOnlyRootFilesystem: true # readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 10001
resources: {} resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious # We usually recommend not to specify default resources and to leave this as a conscious
@ -264,7 +264,7 @@ spec:
volumeMounts: volumeMounts:
{{- toYaml .Values.deployment.volumeMounts | nindent 12 }} {{- toYaml .Values.deployment.volumeMounts | nindent 12 }}
securityContext: securityContext:
{{- toYaml .Values.deployment.containerSecurityContext | nindent 12 }} {{- toYaml .Values.deployment.securityContext | nindent 12 }}
{{- with .Values.deployment.nodeSelector }} {{- with .Values.deployment.nodeSelector }}
nodeSelector: nodeSelector:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}

Loading…
Cancel
Save