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 committed 2018-09-07 21:46:39 +02:00
1 parent 7df68882b6
commit ca939363f8
8 files changed
+75 -16

No files matched your search

-12
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
+2 -1
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