Skip to content

Commit b7a1eb1

Browse files
kubermatic-botsteledkron4eg
authored
[release/v1.8] feat: add flag to skip TLS verification (#3554)
* feat: add flag to skip TLS verification Signed-off-by: Stephan <[email protected]> * Update addons/backups-restic/backups-restic.yaml Co-authored-by: Artiom Diomin <[email protected]> Signed-off-by: Stephan <[email protected]> --------- Signed-off-by: Stephan <[email protected]> Co-authored-by: Stephan <[email protected]> Co-authored-by: Artiom Diomin <[email protected]>
1 parent 08bee36 commit b7a1eb1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

addons/backups-restic/backups-restic.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ spec:
100100
cp -a /etc/kubernetes/pki/front-proxy-ca.key /backup/pki/kubernetes
101101
cp -a /etc/kubernetes/pki/sa.key /backup/pki/kubernetes
102102
cp -a /etc/kubernetes/pki/sa.pub /backup/pki/kubernetes
103-
restic snapshots -q || restic init -q
104-
restic backup --tag=etcd --host=${ETCD_HOSTNAME} /backup
105-
restic forget --prune --keep-last 48
103+
restic snapshots {{- with .Params.commonFlags }} {{.}}{{ end }} -q || restic init {{- with .Params.commonFlags }} {{.}}{{ end }} -q
104+
restic backup {{- with .Params.commonFlags }} {{.}}{{ end }} --tag=etcd --host=${ETCD_HOSTNAME} /backup
105+
restic forget {{- with .Params.commonFlags }} {{.}}{{ end }} --prune --keep-last 48
106106
env:
107107
- name: ETCD_HOSTNAME
108108
valueFrom:

0 commit comments

Comments
 (0)