1
0

feat (molgenis-vault): Use vault-operator chart and etcd-operator chart to deploy a vault with backup secret.

This commit is contained in:
Fleur Kelpin
2018-09-07 15:13:00 +02:00
parent 4683bd6649
commit 7df68882b6
11 changed files with 104 additions and 137 deletions

View File

@@ -0,0 +1,12 @@
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

@@ -0,0 +1,14 @@
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
absSecret: abs

View File

@@ -0,0 +1,8 @@
apiVersion: "vault.security.coreos.com/v1alpha1"
kind: "VaultService"
metadata:
name: "vault"
namespace: "vault-operator"
spec:
nodes: 2
version: "0.9.1-0"