Skip to content

Commit

Permalink
Add value to enable custom config maps
Browse files Browse the repository at this point in the history
  • Loading branch information
rdettai committed Apr 4, 2024
1 parent 7b050f8 commit 2a2acba
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/quickwit/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions charts/quickwit/templates/control-plane-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}
Expand Down
9 changes: 9 additions & 0 deletions charts/quickwit/templates/indexer-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}
Expand Down
9 changes: 9 additions & 0 deletions charts/quickwit/templates/janitor-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}
Expand Down
9 changes: 9 additions & 0 deletions charts/quickwit/templates/metastore-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}
Expand Down
9 changes: 9 additions & 0 deletions charts/quickwit/templates/searcher-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/quickwit/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ securityContext:
environment: {}
# KEY: VALUE

configMaps: []
# - name: configmap1
# mountPath: /quickwit/configmaps/

searcher:
replicaCount: 3

Expand Down

0 comments on commit 2a2acba

Please sign in to comment.