5f542e7632
We can host s3 compatible storage locally by deploying the stable/minio chart. Ran into https://github.com/coreos/etcd-operator/issues/1980 and therefore downgrade the backup and restore operator images to 0.8.3.
16 lines
487 B
YAML
16 lines
487 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: S3
|
|
s3:
|
|
path: vault/backup-<name>
|
|
awsSecret: aws
|
|
endpoint: http://minio.minio.svc:9000 |