fix(mycloud-*): Add option for redis slave replicas

This commit is contained in:
WrenIX 2024-03-07 19:34:25 +01:00
parent 08d5e2176a
commit d4650334e2
Signed by: wrenix
GPG key ID: 7AFDB012974B1BB5
5 changed files with 10 additions and 2 deletions

View file

@ -26,6 +26,9 @@ commons:
annotations:
grafana.mon.local/dashboard-folder: "myCloud"
redis:
replicas: 0
components:
mycloud-services:
enabled: true

View file

@ -40,7 +40,7 @@ spec:
enabled: true
architecture: replication
replica:
replicaCount: 1
replicaCount: {{ .Values.commons.redis.replicas }}
metrics:
enabled: true
serviceMonitor:

View file

@ -40,6 +40,8 @@ commons:
rules:
labels: {}
redis:
replicas: 0
# -- generated by .Values.commons.masterPassword
secret_key:

View file

@ -203,7 +203,7 @@ spec:
enabled: true
replica:
# just one replica
replicaCount: 1
replicaCount: {{ .Values.commons.redis.replicas }}
metrics:
enabled: true
serviceMonitor:

View file

@ -51,6 +51,9 @@ commons:
rules:
labels: {}
redis:
replicas: 0
helm:
nextcloud:
# -- version of the helm chart (current on git)