2018-09-07 16:09:15 +02:00
|
|
|
# Use kubectl create -f restore.yaml to manually execute a restore of the vault
|
2018-09-07 15:13:00 +02:00
|
|
|
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
|
2018-09-17 00:27:50 +02:00
|
|
|
backupStorageType: S3
|
|
|
|
s3:
|
|
|
|
path: vault/backup-<name>
|
|
|
|
awsSecret: aws
|
|
|
|
endpoint: http://minio.minio.svc:9000
|