deployment.yaml
This commit is contained in:
@@ -60,23 +60,8 @@ spec:
|
||||
{{- with .Values.extraEnvFrom }}
|
||||
{{- tpl . $ | nindent 10 }}
|
||||
{{- end }}
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: {{ .Values.service.port }}
|
||||
initialDelaySeconds: 20
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: {{ .Values.service.port }}
|
||||
initialDelaySeconds: 60
|
||||
securityContext:
|
||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||
{{ if .Values.sharedDataFolder.enabled }}
|
||||
volumeMounts:
|
||||
- name: shared-data-volume
|
||||
mountPath: /data
|
||||
{{ end }}
|
||||
resources:
|
||||
{{ toYaml .Values.resources | indent 12 }}
|
||||
{{- with .Values.nodeSelector }}
|
||||
@@ -91,10 +76,3 @@ spec:
|
||||
tolerations:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
{{ if .Values.sharedDataFolder.enabled }}
|
||||
volumes:
|
||||
- name: shared-data-volume
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ template "tatort.fullname" . }}-shared-data
|
||||
{{ end }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user