mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-02-08 04:50:22 +00:00
Set default backup TTL
Set default backup TTL to 30 days when TTL is not provided in the backup yaml configuration. Updates #138 Signed-off-by: Rohan Vora <vorar@vmware.com>
This commit is contained in:
@@ -66,7 +66,9 @@ spec:
|
||||
volumeSnapshotLocations:
|
||||
- aws-primary
|
||||
- gcp-primary
|
||||
# The amount of time before this backup is eligible for garbage collection.
|
||||
# The amount of time before this backup is eligible for garbage collection. If not specified,
|
||||
# a default value of 30 days will be used. The default can be configured on the velero server
|
||||
# by passing the flag --default-backup-ttl.
|
||||
ttl: 24h0m0s
|
||||
# Actions to perform at different times during a backup. The only hook currently supported is
|
||||
# executing a command in a container in a pod using the pod exec API. Optional.
|
||||
|
||||
Reference in New Issue
Block a user