fix: fix diagrid dasboard statestore config

This commit is contained in:
2025-12-17 14:06:55 +01:00
parent 22383f1d88
commit 0348b1d46f
3 changed files with 14 additions and 15 deletions
@@ -59,12 +59,18 @@ spec:
resources:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.volumeMounts }}
volumeMounts:
- name: statestore
mountPath: /app/components/statestore.yaml
subPath: statestore.yaml
{{- with .Values.volumeMounts }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.volumes }}
volumes:
- name: statestore
configMap:
name: {{ include "diagrid-dashboard.fullname" . }}-statestore
{{- with .Values.volumes }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nodeSelector }}
@@ -1,7 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: diadash-statestore
name: {{ include "diagrid-dashboard.fullname" . }}-statestore
data:
statestore.yaml: |
apiVersion: dapr.io/v1alpha1
@@ -17,10 +17,9 @@ data:
- name: redisUsername
value: default
- name: redisPassword
value: mrtz-password
# secretKeyRef:
# key: redis-password
# name: {{ .Values.statestore.redis }}
secretKeyRef:
key: redis-password
name: {{ .Values.statestore.redis }}
- name: actorStateStore
value: "true"
- name: redisDB
+2 -8
View File
@@ -148,16 +148,10 @@ autoscaling:
# targetMemoryUtilizationPercentage: 80
# Additional volumes on the output Deployment definition.
volumes:
- name: statestore
configMap:
name: diadash-statestore
volumes: {}
# Additional volumeMounts on the output Deployment definition.
volumeMounts:
- name: statestore
mountPath: /app/components/statestore.yaml
subPath: statestore.yaml
volumeMounts: {}
nodeSelector: {}