From 9cf39763a09f23c30b2392a8007fb6318f04a385 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20J=C3=B6rg?= Date: Wed, 25 Feb 2026 17:36:31 +0100 Subject: [PATCH] fix(diadash): Don't hardcore stuff --- charts/diagrid-dashboard/templates/statestore.yaml | 5 +++-- charts/diagrid-dashboard/values.yaml | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/charts/diagrid-dashboard/templates/statestore.yaml b/charts/diagrid-dashboard/templates/statestore.yaml index eba6853b..d0b1b4b2 100644 --- a/charts/diagrid-dashboard/templates/statestore.yaml +++ b/charts/diagrid-dashboard/templates/statestore.yaml @@ -8,6 +8,7 @@ data: kind: Component metadata: name: statestore + namespace: {{ .Values.statestore.namespace | default "default" }} scopes: - {{ .Values.statestore.scope }} spec: @@ -17,10 +18,10 @@ data: - name: redisUsername value: default - name: redisPassword - value: secret + value: {{ .Values.statestore.password | default "secret" }} - name: actorStateStore value: "true" - name: redisDB - value: "1" + value: "{{ .Values.statestore.redisDB | default "0" }}" type: state.redis version: v1 diff --git a/charts/diagrid-dashboard/values.yaml b/charts/diagrid-dashboard/values.yaml index c874fcf4..a835b052 100644 --- a/charts/diagrid-dashboard/values.yaml +++ b/charts/diagrid-dashboard/values.yaml @@ -5,6 +5,9 @@ statestore: scope: my-scope redis: my-redis + namespace: default + password: secret + redisDB: "0" # This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/ replicaCount: 1