A Backup resource in an application causes the Admin Console to enable snapshots for the application. This resource is fully documented on velero.io.
This resource supports the KOTS optional resources annotations.
apiVersion: velero.io/v1
kind: Backup
metadata:
name: backup
annotations:
"kots.io/when": '{{repl ConfigOptionEquals "postgres_type" "embedded_postgres" }}'
spec: {}
Refer to the Velero documentation for all options in this resource.