fix: fix diagrid dasboard statestore config
This commit is contained in:
@@ -59,12 +59,18 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.volumeMounts }}
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
- name: statestore
|
||||||
|
mountPath: /app/components/statestore.yaml
|
||||||
|
subPath: statestore.yaml
|
||||||
|
{{- with .Values.volumeMounts }}
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.volumes }}
|
|
||||||
volumes:
|
volumes:
|
||||||
|
- name: statestore
|
||||||
|
configMap:
|
||||||
|
name: {{ include "diagrid-dashboard.fullname" . }}-statestore
|
||||||
|
{{- with .Values.volumes }}
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: diadash-statestore
|
name: {{ include "diagrid-dashboard.fullname" . }}-statestore
|
||||||
data:
|
data:
|
||||||
statestore.yaml: |
|
statestore.yaml: |
|
||||||
apiVersion: dapr.io/v1alpha1
|
apiVersion: dapr.io/v1alpha1
|
||||||
@@ -17,10 +17,9 @@ data:
|
|||||||
- name: redisUsername
|
- name: redisUsername
|
||||||
value: default
|
value: default
|
||||||
- name: redisPassword
|
- name: redisPassword
|
||||||
value: mrtz-password
|
secretKeyRef:
|
||||||
# secretKeyRef:
|
key: redis-password
|
||||||
# key: redis-password
|
name: {{ .Values.statestore.redis }}
|
||||||
# name: {{ .Values.statestore.redis }}
|
|
||||||
- name: actorStateStore
|
- name: actorStateStore
|
||||||
value: "true"
|
value: "true"
|
||||||
- name: redisDB
|
- name: redisDB
|
||||||
|
|||||||
@@ -148,16 +148,10 @@ autoscaling:
|
|||||||
# targetMemoryUtilizationPercentage: 80
|
# targetMemoryUtilizationPercentage: 80
|
||||||
|
|
||||||
# Additional volumes on the output Deployment definition.
|
# Additional volumes on the output Deployment definition.
|
||||||
volumes:
|
volumes: {}
|
||||||
- name: statestore
|
|
||||||
configMap:
|
|
||||||
name: diadash-statestore
|
|
||||||
|
|
||||||
# Additional volumeMounts on the output Deployment definition.
|
# Additional volumeMounts on the output Deployment definition.
|
||||||
volumeMounts:
|
volumeMounts: {}
|
||||||
- name: statestore
|
|
||||||
mountPath: /app/components/statestore.yaml
|
|
||||||
subPath: statestore.yaml
|
|
||||||
|
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user