Fix deployment test
This commit is contained in:
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user