TrueChartsClone/templates/questions/velero/veleroSchedule.yaml

51 lines
1.6 KiB
YAML

- variable: schedules
group: "Backup Configuration"
label: "Backup Schedules"
schema:
type: dict
additional_attrs: true
attrs:
- variable: default
label: "Default Schedule"
schema:
type: dict
additional_attrs: true
attrs:
- variable: enabled
label: "enabled"
schema:
type: boolean
default: false
- variable: schedule
label: "schedule"
show_if: [["enabled", "=", true]]
schema:
type: string
required: true
default: "0 0 0 * * *"
- variable: useOwnerReferencesInBackup
label: "useOwnerReferencesInBackup"
show_if: [["enabled", "=", true]]
schema:
type: boolean
default: false
- variable: template
label: template
show_if: [["enabled", "=", true]]
schema:
additional_attrs: true
type: dict
attrs:
- variable: ttl
label: "ttl"
schema:
type: string
required: true
default: "240h"
- variable: storageLocation
label: "storageLocation"
schema:
type: string
required: true
default: "default"