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: annotations:
grafana.mon.local/dashboard-folder: "myCloud" grafana.mon.local/dashboard-folder: "myCloud"
redis:
replicas: 0
components: components:
mycloud-services: mycloud-services:
enabled: true enabled: true

View file

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

View file

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

View file

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

View file

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