Skip to content

Commit

Permalink
added way to configure replica count for valkey
Browse files Browse the repository at this point in the history
  • Loading branch information
Loki-Afro committed Sep 18, 2024
1 parent 10d4344 commit 261743d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ansible/roles/tldraw-valkey/defaults/main.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
TLDRAW_VALKEY_CHART_VERSION: 0.3.17
TLDRAW_VALKEY_REPLICAS: 3
2 changes: 2 additions & 0 deletions ansible/roles/tldraw-valkey/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
values:
global:
defaultStorageClass: "{{ SC_DEFAULT_STORAGE_CLASS_NAME }}"
replica:
replicaCount: "{{ TLDRAW_VALKEY_REPLICAS }}"
auth:
existingSecret: tldraw-valkey-password
existingSecretPasswordKey: REDIS_SENTINEL_PASSWORD
Expand Down

0 comments on commit 261743d

Please sign in to comment.