Skip to content

Commit

Permalink
allow setting custom backup storePrefix (folder name)
Browse files Browse the repository at this point in the history
  • Loading branch information
lotharbach committed Mar 31, 2023
1 parent dae4c0f commit b7865d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/etcd/templates/statefulset-etcd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ spec:
- --max-backups={{ .Values.backup.maxBackups }}
- --data-dir=/var/etcd/data/new.etcd
- --storage-provider={{ .Values.backup.storageProvider }}
- --store-prefix={{ .Values.name }}
- --store-prefix={{ .Values.backup.storePrefix | default .Values.name }}
- --cert=/var/etcd/ssl/client/tls.crt
- --key=/var/etcd/ssl/client/tls.key
- --cacert=/var/etcd/ssl/ca/ca.crt
Expand Down
1 change: 1 addition & 0 deletions charts/etcd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ backup:
secretData: {}
storageContainer: ""
volumeMounts: []
# storePrefix: "custom-prefix"

tls:
ca:
Expand Down

0 comments on commit b7865d9

Please sign in to comment.