Skip to content

Commit

Permalink
unique name for sse-key secret; set snapshot schedule based on env var
Browse files Browse the repository at this point in the history
  • Loading branch information
amold1 committed Mar 26, 2024
1 parent 55e2485 commit 1008c25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ data:
command:
- /etcdbrctl
- snapshot
- --schedule=0 0 * * *
- --schedule=${ETCD_BACKUP_SCHEDULE:=0 0 * * *}
- --garbage-collection-period=1m
- --storage-provider=S3
- --store-prefix=etcd-backup
Expand Down
2 changes: 1 addition & 1 deletion templates/addons/etcd-backup-restore/sse-key-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ type: addons.cluster.x-k8s.io/resource-set
metadata:
name: ${CLUSTER_NAME}-ssekey
stringData:
linode-token-region.yaml: |-
sse-key.yaml: |-
kind: Secret
apiVersion: v1
metadata:
Expand Down

0 comments on commit 1008c25

Please sign in to comment.