Skip to content

Commit aea48c9

Browse files
committed
Fix event sourcing template in chart template
Signed-off-by: Raul Gonzales <[email protected]>
1 parent 4fa9825 commit aea48c9

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

charts/core-dump-handler/templates/daemonset.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ spec:
1414
containers:
1515
- name: coredump-container
1616
image: {{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag }}
17+
imagePullPolicy: {{ .Values.image.pullPolicy }}
1718
resources:
1819
requests:
1920
memory: {{ .Values.image.request_mem }}
@@ -30,7 +31,7 @@ spec:
3031
- name: core-volume
3132
mountPath: {{ .Values.daemonset.coreDirectory }}
3233
mountPropagation: Bidirectional
33-
{{- if .Values.composer.events }}
34+
{{- if .Values.composer.coreEvents }}
3435
- name: event-volume
3536
mountPath: {{ .Values.daemonset.eventDirectory }}
3637
mountPropagation: Bidirectional
@@ -134,6 +135,11 @@ spec:
134135
- name: core-volume
135136
persistentVolumeClaim:
136137
claimName: core-storage-pvc
138+
{{- if .Values.composer.coreEvents }}
139+
- name: event-volume
140+
persistentVolumeClaim:
141+
claimName: event-storage-pvc
142+
{{- end }}
137143
{{- if .Values.daemonset.mountContainerRuntimeEndpoint }}
138144
- name: container-runtime
139145
hostPath:

0 commit comments

Comments
 (0)