ca939363f8
Needs to run under service account created by the etcd-operator subchart so there's some template magic needed to figure out what it's called.
15 lines
466 B
YAML
15 lines
466 B
YAML
# Use kubectl create -f restore.yaml to manually execute a restore of the vault
|
|
apiVersion: "etcd.database.coreos.com/v1beta2"
|
|
kind: "EtcdRestore"
|
|
metadata:
|
|
# The restore CR name must be the same as spec.etcdCluster.name
|
|
name: vault-etcd
|
|
namespace: vault-operator
|
|
spec:
|
|
etcdCluster:
|
|
# The namespace is the same as this EtcdRestore CR
|
|
name: vault-etcd
|
|
backupStorageType: ABS
|
|
abs:
|
|
path: vault/backup-<specify the backup name>
|
|
absSecret: abs |