diff --git a/charts/quickwit/Chart.yaml b/charts/quickwit/Chart.yaml index 39b1e8b..3d7721c 100644 --- a/charts/quickwit/Chart.yaml +++ b/charts/quickwit/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: quickwit description: Sub-second search & analytics engine on cloud storage. type: application -version: 0.7.3 +version: 0.7.4 appVersion: "v0.8.2" keywords: - quickwit diff --git a/charts/quickwit/templates/indexer-statefulset.yaml b/charts/quickwit/templates/indexer-statefulset.yaml index 099c27c..ba52a91 100644 --- a/charts/quickwit/templates/indexer-statefulset.yaml +++ b/charts/quickwit/templates/indexer-statefulset.yaml @@ -96,6 +96,10 @@ spec: {{- end }} resources: {{- toYaml .Values.indexer.resources | nindent 12 }} + {{- if .Values.indexer.lifecycleHooks }} + lifecycle: + {{- toYaml .Values.indexer.lifecycleHooks | nindent 12 }} + {{- end }} terminationGracePeriodSeconds: {{ .Values.indexer.terminationGracePeriodSeconds }} volumes: - name: config @@ -128,10 +132,6 @@ spec: tolerations: {{- toYaml . | nindent 8 }} {{- end }} - {{- with .Values.indexer.lifecycleHooks }} - lifecycle: - {{- toYaml . | nindent 8 }} - {{- end}} {{- if .Values.indexer.runtimeClassName }} runtimeClassName: {{ .Values.indexer.runtimeClassName | quote }} {{- end }} diff --git a/charts/quickwit/templates/searcher-statefulset.yaml b/charts/quickwit/templates/searcher-statefulset.yaml index 0e32e4d..febe512 100644 --- a/charts/quickwit/templates/searcher-statefulset.yaml +++ b/charts/quickwit/templates/searcher-statefulset.yaml @@ -96,6 +96,10 @@ spec: {{- end }} resources: {{- toYaml .Values.searcher.resources | nindent 14 }} + {{- if .Values.searcher.lifecycleHooks }} + lifecycle: + {{- toYaml .Values.searcher.lifecycleHooks | nindent 14 }} + {{- end }} volumes: - name: config configMap: @@ -127,10 +131,6 @@ spec: tolerations: {{- toYaml . | nindent 8 }} {{- end }} - {{- with .Values.searcher.lifecycleHooks }} - lifecycle: - {{- toYaml . | nindent 8 }} - {{- end}} {{- if .Values.searcher.runtimeClassName }} runtimeClassName: {{ .Values.searcher.runtimeClassName | quote }} {{- end }}