Skip to content

Commit 1128f6d

Browse files
committed
[FIX] bootstrap
1 parent 2e23c32 commit 1128f6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

charts/adhoc-odoo/v0.2.9/templates/cnpg_pg.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ spec:
117117
target: prefer-standby
118118
retentionPolicy: "360d"
119119

120+
{{- if .Values.cloudNativePG.restore.inTimeRecovery }}
120121
bootstrap:
121-
{{- if .Values.cloudNativePG.restore.inTimeRecovery }}
122122
recovery:
123123
{{- if or .Values.cloudNativePG.restore.fromSnapshot .Values.cloudNativePG.restore.fromGCPSnapshot }}
124124
volumeSnapshots:
@@ -138,7 +138,7 @@ spec:
138138
recoveryTarget:
139139
targetTime: {{ .Values.cloudNativePG.restore.inTimeRecovery | quote }}
140140
{{- end }}
141-
{{- end }}
141+
{{- end }}
142142

143143
{{- if not .Values.cloudNativePG.restore.inTimeRecovery }}
144144
managed:

0 commit comments

Comments
 (0)