1
0

feat (molgenis-vault): Add backup cronjob

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.
This commit is contained in:
Fleur Kelpin
2018-09-07 16:09:15 +02:00
parent 7df68882b6
commit ca939363f8
8 changed files with 75 additions and 16 deletions

View File

@ -1,12 +0,0 @@
apiVersion: "etcd.database.coreos.com/v1beta2"
kind: "EtcdBackup"
metadata:
name: backup
namespace: "vault-operator"
spec:
etcdEndpoints: ["https://vault-etcd-client:2379"]
storageType: ABS
clientTLSSecret: vault-etcd-client-tls
abs:
path: vault/backup
absSecret: abs

View File

@ -1,3 +1,4 @@
# Use kubectl create -f restore.yaml to manually execute a restore of the vault
apiVersion: "etcd.database.coreos.com/v1beta2"
kind: "EtcdRestore"
metadata:
@ -10,5 +11,5 @@ spec:
name: vault-etcd
backupStorageType: ABS
abs:
path: vault/backup
path: vault/backup-<specify the backup name>
absSecret: abs