Commit 5f1283b4 authored by Waqar Ahmed's avatar Waqar Ahmed

Fix deployment test

parent 126ba367
...@@ -49,8 +49,16 @@ spec: ...@@ -49,8 +49,16 @@ spec:
protocol: TCP protocol: TCP
volumes: volumes:
- name: postgres-data - name: postgres-data
{{- if ne (include "configuredPostgresHostPath" .) "" }}
hostPath: hostPath:
path: {{ template "configuredPostgresHostPath" . }} path: {{ template "configuredPostgresHostPath" . }}
{{- else }}
emptyDir: {}
{{- end }}
- name: postgres-backup - name: postgres-backup
{{- if ne (include "configuredBackupPostgresHostPath" .) "" }}
hostPath: hostPath:
path: {{ template "configuredBackupPostgresHostPath" . }} path: {{ template "configuredBackupPostgresHostPath" . }}
{{- else }}
emptyDir: {}
{{- end }}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment