From fefa8a61c22925206941a56c629bf6765ffd8108 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=A9o=20M=C3=A9vollon?= Date: Tue, 10 Sep 2024 11:30:06 +0200 Subject: [PATCH] fix tpl --- plugins/fabrique/charts/pg/values.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/fabrique/charts/pg/values.yaml b/plugins/fabrique/charts/pg/values.yaml index 67746608a..86652feac 100644 --- a/plugins/fabrique/charts/pg/values.yaml +++ b/plugins/fabrique/charts/pg/values.yaml @@ -56,8 +56,8 @@ cnpg-cluster: backup: ~tpl~enabled: "{{ (or .Values.Parent.backup.enabled .Values.global.isProd .Values.global.isPreProd) | ternary `true` `false` }}" schedule: "0 0 0 * * *" # daily - retentionPolicy: "{{ .Values.global.isProd | ternary `60d` `7d` }}" - sqlDumpRetentionDays: "{{ .Values.global.isProd | ternary `60` `7` }}" + ~tpl~retentionPolicy: "{{ .Values.global.isProd | ternary `60d` `7d` }}" + ~tpl~sqlDumpRetentionDays: "{{ .Values.global.isProd | ternary `60` `7` }}" barmanObjectStore: ~tpl~destinationPath: "s3://{{ .Values.global.projectName }}-{{ .Values.global.isProd | ternary `prod` `dev` }}-backups/{{ .Values.global.namespace }}{{ (ne .Values.Parent.backup.name ``) | ternary (print `-` .Values.Parent.backup.name) `` }}" ~tpl~endpointURL: "{{ .Values.global.pgBackupEndpointURL }}"