Browse Source

Try to circumvent rancher boolean set bug

master
Fábio Kaiser Rauber 3 years ago
parent
commit
0a63adfdc8
  1. 5
      charts/portalmodelo/v0.5.0/templates/repozo-configmap.yaml

5
charts/portalmodelo/v0.5.0/templates/repozo-configmap.yaml

@ -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(

Loading…
Cancel
Save