Add volumes. rearrange commented values

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

@ -76,16 +76,24 @@ deployment:
targetCPUUtilizationPercentage: 80 targetCPUUtilizationPercentage: 80
targetMemoryUtilizationPercentage: 80 targetMemoryUtilizationPercentage: 80
volumes: []
# - name: cache-volume
# emptyDir: {}
volumeMounts: []
# - name: cache-volume
# mountPath: /cache
podSecurityContext: {} podSecurityContext: {}
# runAsUser: 10001
# fsGroup: 2000 # fsGroup: 2000
# runAsNonRoot: true
# runAsUser: 10001
containerSecurityContext: {} containerSecurityContext: {}
# runAsNonRoot: true
# readOnlyRootFilesystem: true
# capabilities: # capabilities:
# drop: # drop:
# - ALL # - ALL
# readOnlyRootFilesystem: true
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
@ -228,6 +236,10 @@ spec:
{{- with .Values.deployment.podSecurityContext }} {{- with .Values.deployment.podSecurityContext }}
securityContext: securityContext:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.deployment.volumes }}
volumes:
{{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
containers: containers:
- name: {{ .Chart.Name }} - name: {{ .Chart.Name }}
@ -249,6 +261,8 @@ spec:
{{- toYaml .Values.deployment.resources | nindent 12 }} {{- toYaml .Values.deployment.resources | nindent 12 }}
env: env:
{{- toYaml .Values.deployment.env | nindent 12 }} {{- toYaml .Values.deployment.env | nindent 12 }}
volumeMounts:
{{- toYaml .Values.deployment.volumeMounts | nindent 12 }}
securityContext: securityContext:
{{- toYaml .Values.deployment.containerSecurityContext | nindent 12 }} {{- toYaml .Values.deployment.containerSecurityContext | nindent 12 }}
{{- with .Values.deployment.nodeSelector }} {{- with .Values.deployment.nodeSelector }}

Loading…
Cancel
Save