Skip to content

Commit e2d0dbc

Browse files
authored
Added missing ingester.persistence.enabled conditions (#146)
1 parent 53ec22d commit e2d0dbc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

charts/openobserve/templates/ingester-statefulset.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,11 @@ spec:
139139
{{- with .Values.ingester.extraEnv }}
140140
{{- toYaml . | nindent 12 }}
141141
{{- end }}
142+
{{- if .Values.ingester.persistence.enabled }}
142143
volumeMounts:
143144
- name: data
144145
mountPath: /data
146+
{{- end }}
145147
{{- with .Values.nodeSelector.ingester }}
146148
nodeSelector:
147149
{{- toYaml . | nindent 8 }}
@@ -154,6 +156,7 @@ spec:
154156
tolerations:
155157
{{- toYaml . | nindent 8 }}
156158
{{- end }}
159+
{{- if .Values.ingester.persistence.enabled }}
157160
volumeClaimTemplates:
158161
- metadata:
159162
name: data
@@ -166,3 +169,5 @@ spec:
166169
resources:
167170
requests:
168171
storage: {{ .Values.ingester.persistence.size | quote }}
172+
{{- end }}
173+

0 commit comments

Comments
 (0)