|
@ -34,8 +34,11 @@ data: |
|
|
format='%(levelname)s: %(message)s') |
|
|
format='%(levelname)s: %(message)s') |
|
|
|
|
|
|
|
|
import collective.recipe.backup.main |
|
|
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__': |
|
|
if __name__ == '__main__': |
|
|
sys.exit(collective.recipe.backup.main.backup_main( |
|
|
sys.exit(collective.recipe.backup.main.backup_main( |
|
|