feat (molgenis-vault): Use vault-operator chart and etcd-operator chart to deploy a vault with backup secret.
This commit is contained in:
12
molgenis-vault/resources/backup.yaml
Normal file
12
molgenis-vault/resources/backup.yaml
Normal 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
|
14
molgenis-vault/resources/restore.yaml
Normal file
14
molgenis-vault/resources/restore.yaml
Normal 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
|
8
molgenis-vault/resources/vault.yaml
Normal file
8
molgenis-vault/resources/vault.yaml
Normal 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"
|
Reference in New Issue
Block a user