From 55894426597fdf228e4d9adb630983ddea749f67 Mon Sep 17 00:00:00 2001 From: devthejo Date: Mon, 31 Jul 2023 18:42:48 +0200 Subject: [PATCH] fix: go to backup name --- plugins/fabrique/charts/pg/values.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/fabrique/charts/pg/values.yaml b/plugins/fabrique/charts/pg/values.yaml index f9b5130076..3c5b2f17bc 100644 --- a/plugins/fabrique/charts/pg/values.yaml +++ b/plugins/fabrique/charts/pg/values.yaml @@ -1,5 +1,6 @@ backup: enabled: false + name: "" cnpg-cluster: enabled: true @@ -45,7 +46,7 @@ cnpg-cluster: schedule: "0 0 0 * * *" # daily retentionPolicy: 60d barmanObjectStore: - ~tpl~destinationPath: "s3://{{ .Values.global.projectName }}-{{ .Values.global.isProd | ternary `prod` `dev` }}/{{ .Values.global.namespace }}{{ .Values.recovery.targetTime | ternary (print `-` .Values.recovery.targetTime) `` }}" + ~tpl~destinationPath: "s3://{{ .Values.global.projectName }}-{{ .Values.global.isProd | ternary `prod` `dev` }}/{{ .Values.global.namespace }}{{ .Values.Parent.backup.name | ternary (print `-` .Values.Parent.backup.name) `` }}" ~tpl~endpointURL: "{{ .Values.global.pgBackupEndpointURL }}" s3Credentials: accessKeyId: