|
|
|
@ -327,24 +327,34 @@ spec:
|
|
|
|
|
{{- toYaml . | nindent 8 }}
|
|
|
|
|
{{- end }}
|
|
|
|
|
serviceAccountName: {{ include "<CHARTNAME>.serviceAccountName" . }}
|
|
|
|
|
{{- with .Values.podSecurityContext }}
|
|
|
|
|
securityContext:
|
|
|
|
|
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
|
|
|
|
{{- toYaml . | nindent 8 }}
|
|
|
|
|
{{- end }}
|
|
|
|
|
containers:
|
|
|
|
|
- name: {{ .Chart.Name }}
|
|
|
|
|
{{- with .Values.securityContext }}
|
|
|
|
|
securityContext:
|
|
|
|
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
|
|
|
|
{{- toYaml . | nindent 12 }}
|
|
|
|
|
{{- end }}
|
|
|
|
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
|
|
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
|
|
|
|
ports:
|
|
|
|
|
- name: http
|
|
|
|
|
containerPort: {{ .Values.service.port }}
|
|
|
|
|
protocol: TCP
|
|
|
|
|
{{- with .Values.livenessProbe }}
|
|
|
|
|
livenessProbe:
|
|
|
|
|
{{- toYaml .Values.livenessProbe | nindent 12 }}
|
|
|
|
|
{{- toYaml . | nindent 12 }}
|
|
|
|
|
{{- end }}
|
|
|
|
|
{{- with .Values.readinessProbe }}
|
|
|
|
|
readinessProbe:
|
|
|
|
|
{{- toYaml .Values.readinessProbe | nindent 12 }}
|
|
|
|
|
{{- toYaml . | nindent 12 }}
|
|
|
|
|
{{- end }}
|
|
|
|
|
{{- with .Values.resources }}
|
|
|
|
|
resources:
|
|
|
|
|
{{- toYaml .Values.resources | nindent 12 }}
|
|
|
|
|
{{- toYaml . | nindent 12 }}
|
|
|
|
|
{{- end }}
|
|
|
|
|
{{- with .Values.volumeMounts }}
|
|
|
|
|
volumeMounts:
|
|
|
|
|
{{- toYaml . | nindent 12 }}
|
|
|
|
|