2018-09-07 21:45:24 +02:00
|
|
|
# configmap to use as a template by the backup cronjob to create etcdbackup instances
|
2018-09-07 16:09:15 +02:00
|
|
|
apiVersion: v1
|
|
|
|
kind: ConfigMap
|
|
|
|
metadata:
|
|
|
|
name: backup-config
|
|
|
|
data:
|
|
|
|
backup_cr.yaml: |
|
|
|
|
apiVersion: "etcd.database.coreos.com/v1beta2"
|
|
|
|
kind: "EtcdBackup"
|
|
|
|
metadata:
|
|
|
|
generateName: vault-backup-
|
|
|
|
spec:
|
|
|
|
etcdEndpoints: ["https://vault-etcd-client:2379"]
|
|
|
|
storageType: ABS
|
|
|
|
clientTLSSecret: vault-etcd-client-tls
|
|
|
|
abs:
|
|
|
|
path: vault/backup.<NOW>
|
|
|
|
absSecret: abs
|