Skip to content
Snippets Groups Projects
Commit ee80333d authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

migrate to new volume

parent 97398b10
No related branches found
No related tags found
No related merge requests found
Pipeline #9342 passed
...@@ -29,9 +29,9 @@ spec: ...@@ -29,9 +29,9 @@ spec:
securityContext: securityContext:
{{- toYaml .Values.podSecurityContext | nindent 12 }} {{- toYaml .Values.podSecurityContext | nindent 12 }}
volumes: volumes:
- name: order-data - name: backups
persistentVolumeClaim: persistentVolumeClaim:
claimName: order-data claimName: backups
{{- if .Values.application.secretName }} {{- if .Values.application.secretName }}
- name: backuprsa - name: backuprsa
secret: secret:
...@@ -55,7 +55,7 @@ spec: ...@@ -55,7 +55,7 @@ spec:
name: {{ .Values.application.secretName }}-backupenv name: {{ .Values.application.secretName }}-backupenv
{{- end }} {{- end }}
volumeMounts: volumeMounts:
- name: order-data - name: backups
mountPath: /data mountPath: /data
{{- if .Values.application.secretName }} {{- if .Values.application.secretName }}
- name: backuprsa - name: backuprsa
......
...@@ -25,9 +25,9 @@ spec: ...@@ -25,9 +25,9 @@ spec:
securityContext: securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }} {{- toYaml .Values.podSecurityContext | nindent 8 }}
volumes: volumes:
- name: order-data - name: backups
persistentVolumeClaim: persistentVolumeClaim:
claimName: order-data claimName: backups
{{- if .Values.application.secretName }} {{- if .Values.application.secretName }}
- name: application-secret - name: application-secret
secret: secret:
...@@ -46,7 +46,7 @@ spec: ...@@ -46,7 +46,7 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
volumeMounts: volumeMounts:
- name: order-data - name: backups
mountPath: /data mountPath: /data
{{- if .Values.application.secretName }} {{- if .Values.application.secretName }}
- name: application-secret - name: application-secret
...@@ -76,7 +76,7 @@ spec: ...@@ -76,7 +76,7 @@ spec:
command: ["/usr/local/bin/node"] command: ["/usr/local/bin/node"]
args: ["./bin/cron"] args: ["./bin/cron"]
volumeMounts: volumeMounts:
- name: order-data - name: backups
mountPath: /data mountPath: /data
{{- if .Values.application.secretName }} {{- if .Values.application.secretName }}
- name: application-secret - name: application-secret
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment