tatort-dev: volume and deployment config
This commit is contained in:
@@ -15,6 +15,10 @@ spec:
|
||||
strategy:
|
||||
{{ toYaml .Values.updateStrategy | nindent 4 }}
|
||||
replicas: {{ .Values.replicaCount }}
|
||||
volumes:
|
||||
- name: shared-data
|
||||
persistentVolumeClaim:
|
||||
claimName: shared-data
|
||||
selector:
|
||||
matchLabels:
|
||||
app: {{ template "tatort.name" . }}
|
||||
@@ -38,6 +42,9 @@ spec:
|
||||
- name: {{ .Chart.Name }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
volumeMounts:
|
||||
- name: shared-data
|
||||
mountPath: {{ .Values.sharedDataFolder.path }}
|
||||
terminationMessagePolicy: FallbackToLogsOnError
|
||||
ports:
|
||||
- name: http
|
||||
|
||||
Reference in New Issue
Block a user