diff --git a/charts/portalmodelo/v0.5.0/templates/repozo-configmap.yaml b/charts/portalmodelo/v0.5.0/templates/repozo-configmap.yaml index cda6660..c680d87 100644 --- a/charts/portalmodelo/v0.5.0/templates/repozo-configmap.yaml +++ b/charts/portalmodelo/v0.5.0/templates/repozo-configmap.yaml @@ -34,8 +34,11 @@ data: format='%(levelname)s: %(message)s') import collective.recipe.backup.main - - {{- $bkpLocation := .Values.velero.backup.enabled | ternary "/data" "/backup" }} + + {{- $bkpLocation := "/backup" -}} + {{- if .Values.velero.backup.enabled -}} + {{- $bkpLocation = "/data" -}} + {{- end }} if __name__ == '__main__': sys.exit(collective.recipe.backup.main.backup_main(