012bbb50 by Adam Heath

Add support for cloning the database from a backup.

1 parent fd2d38f5
......@@ -6,6 +6,9 @@ postgresql:
version: "14"
waitForPg:
image: registry.opensource.zalan.do/acid/spilo-14:2.1-p6
# clone:
# uid:
# timestamp:
initialAdmin:
username: admin
password: admin
......
......@@ -19,6 +19,10 @@ releases:
size: {{ .Values.postgresql.volume.size | quote }}
postgresql:
version: {{ .Values.postgresql.version | quote }}
{{- if .Values | get "clone.uid" nil }}
clone:
{{ merge .Values.clone ( dict "cluster" "kpg-postgres" ) | toYaml | nindent 12 }}
{{- end }}
- name: kpg-keycloak
namespace: {{ .Values.namespace }}
......