@ -35,7 +35,10 @@ data:
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(