Fix deployment test

This commit is contained in:
Waqar Ahmed
2020-12-07 23:24:05 +05:00
parent 126ba367c8
commit 5f1283b4c4

View File

@@ -49,8 +49,16 @@ spec:
protocol: TCP
volumes:
- name: postgres-data
{{- if ne (include "configuredPostgresHostPath" .) "" }}
hostPath:
path: {{ template "configuredPostgresHostPath" . }}
{{- else }}
emptyDir: {}
{{- end }}
- name: postgres-backup
{{- if ne (include "configuredBackupPostgresHostPath" .) "" }}
hostPath:
path: {{ template "configuredBackupPostgresHostPath" . }}
{{- else }}
emptyDir: {}
{{- end }}