diff --git a/charts/quickwit/Chart.yaml b/charts/quickwit/Chart.yaml index d8e436e..27fc1fe 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.5.13 +version: 0.5.14 appVersion: "v0.8.1" keywords: - quickwit diff --git a/charts/quickwit/templates/control-plane-deployment.yaml b/charts/quickwit/templates/control-plane-deployment.yaml index 4a2cb87..3bf5d2b 100644 --- a/charts/quickwit/templates/control-plane-deployment.yaml +++ b/charts/quickwit/templates/control-plane-deployment.yaml @@ -66,6 +66,10 @@ spec: subPath: node.yaml - name: data mountPath: /quickwit/qwdata + {{- range .Values.configMaps }} + - name: {{ .name }} + mountPath: {{ .mountPath }} + {{- end }} resources: {{- toYaml .Values.control_plane.resources | nindent 14 }} volumes: @@ -77,6 +81,11 @@ spec: path: node.yaml - name: data emptyDir: {} + {{- range .Values.configMaps }} + - name: {{ .name }} + configMap: + name: {{ .name }} + {{- end }} {{- with .Values.control_plane.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/charts/quickwit/templates/indexer-statefulset.yaml b/charts/quickwit/templates/indexer-statefulset.yaml index 51118c5..66d7e7c 100644 --- a/charts/quickwit/templates/indexer-statefulset.yaml +++ b/charts/quickwit/templates/indexer-statefulset.yaml @@ -70,6 +70,10 @@ spec: subPath: node.yaml - name: data mountPath: /quickwit/qwdata + {{- range .Values.configMaps }} + - name: {{ .name }} + mountPath: {{ .mountPath }} + {{- end }} resources: {{- toYaml .Values.indexer.resources | nindent 12 }} volumes: @@ -83,6 +87,11 @@ spec: - name: data emptyDir: {} {{- end }} + {{- range .Values.configMaps }} + - name: {{ .name }} + configMap: + name: {{ .name }} + {{- end }} {{- with .Values.indexer.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/charts/quickwit/templates/janitor-deployment.yaml b/charts/quickwit/templates/janitor-deployment.yaml index 1a3a42f..6a08836 100644 --- a/charts/quickwit/templates/janitor-deployment.yaml +++ b/charts/quickwit/templates/janitor-deployment.yaml @@ -67,6 +67,10 @@ spec: subPath: node.yaml - name: data mountPath: /quickwit/qwdata + {{- range .Values.configMaps }} + - name: {{ .name }} + mountPath: {{ .mountPath }} + {{- end }} resources: {{- toYaml .Values.janitor.resources | nindent 14 }} volumes: @@ -78,6 +82,11 @@ spec: path: node.yaml - name: data emptyDir: {} + {{- range .Values.configMaps }} + - name: {{ .name }} + configMap: + name: {{ .name }} + {{- end }} {{- with .Values.janitor.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/charts/quickwit/templates/metastore-deployment.yaml b/charts/quickwit/templates/metastore-deployment.yaml index c10106a..af2397b 100644 --- a/charts/quickwit/templates/metastore-deployment.yaml +++ b/charts/quickwit/templates/metastore-deployment.yaml @@ -65,6 +65,10 @@ spec: subPath: node.yaml - name: data mountPath: /quickwit/qwdata + {{- range .Values.configMaps }} + - name: {{ .name }} + mountPath: {{ .mountPath }} + {{- end }} resources: {{- toYaml .Values.metastore.resources | nindent 14 }} volumes: @@ -76,6 +80,11 @@ spec: path: node.yaml - name: data emptyDir: {} + {{- range .Values.configMaps }} + - name: {{ .name }} + configMap: + name: {{ .name }} + {{- end }} {{- with .Values.metastore.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/charts/quickwit/templates/searcher-statefulset.yaml b/charts/quickwit/templates/searcher-statefulset.yaml index c8387de..4ebc2b4 100644 --- a/charts/quickwit/templates/searcher-statefulset.yaml +++ b/charts/quickwit/templates/searcher-statefulset.yaml @@ -70,6 +70,10 @@ spec: subPath: node.yaml - name: data mountPath: /quickwit/qwdata + {{- range .Values.configMaps }} + - name: {{ .name }} + mountPath: {{ .mountPath }} + {{- end }} resources: {{- toYaml .Values.searcher.resources | nindent 14 }} volumes: @@ -83,6 +87,11 @@ spec: - name: data emptyDir: {} {{- end }} + {{- range .Values.configMaps }} + - name: {{ .name }} + configMap: + name: {{ .name }} + {{- end }} {{- with .Values.searcher.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/charts/quickwit/values.yaml b/charts/quickwit/values.yaml index 82ee34e..1ae55d6 100644 --- a/charts/quickwit/values.yaml +++ b/charts/quickwit/values.yaml @@ -40,6 +40,10 @@ securityContext: environment: {} # KEY: VALUE +configMaps: [] + # - name: configmap1 + # mountPath: /quickwit/configmaps/ + searcher: replicaCount: 3