Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use configLocation #116

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.7.7
version: 0.7.8
appVersion: "v0.8.2"
keywords:
- quickwit
Expand Down
2 changes: 1 addition & 1 deletion charts/quickwit/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ metadata:
labels:
{{- include "quickwit.labels" . | nindent 4 }}
data:
node.yaml: |-
{{ base .Values.configLocation }}: |-
{{- toYaml .Values.config | nindent 4 }}
8 changes: 4 additions & 4 deletions charts/quickwit/templates/control-plane-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ spec:
{{- toYaml .Values.control_plane.readinessProbe | nindent 12 }}
volumeMounts:
- name: config
mountPath: /quickwit/node.yaml
subPath: node.yaml
mountPath: {{ .Values.configLocation }}
subPath: {{ base .Values.configLocation }}
- name: data
mountPath: /quickwit/qwdata
{{- range .Values.configMaps }}
Expand All @@ -97,8 +97,8 @@ spec:
configMap:
name: {{ template "quickwit.fullname" . }}
items:
- key: node.yaml
path: node.yaml
- key: {{ base .Values.configLocation }}
path: {{ base .Values.configLocation }}
- name: data
emptyDir: {}
{{- range .Values.configMaps }}
Expand Down
8 changes: 4 additions & 4 deletions charts/quickwit/templates/indexer-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ spec:
{{- toYaml .Values.indexer.readinessProbe | nindent 12 }}
volumeMounts:
- name: config
mountPath: /quickwit/node.yaml
subPath: node.yaml
mountPath: {{ .Values.configLocation }}
subPath: {{ base .Values.configLocation }}
- name: data
mountPath: /quickwit/qwdata
{{- range .Values.configMaps }}
Expand All @@ -106,8 +106,8 @@ spec:
configMap:
name: {{ template "quickwit.fullname" . }}
items:
- key: node.yaml
path: node.yaml
- key: {{ base .Values.configLocation }}
path: {{ base .Values.configLocation }}
{{- if ne .Values.indexer.persistentVolume.enabled true }}
- name: data
emptyDir: {}
Expand Down
8 changes: 4 additions & 4 deletions charts/quickwit/templates/janitor-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ spec:
{{- toYaml .Values.janitor.readinessProbe | nindent 12 }}
volumeMounts:
- name: config
mountPath: /quickwit/node.yaml
subPath: node.yaml
mountPath: {{ .Values.configLocation }}
subPath: {{ base .Values.configLocation }}
- name: data
mountPath: /quickwit/qwdata
{{- range .Values.configMaps }}
Expand All @@ -98,8 +98,8 @@ spec:
configMap:
name: {{ template "quickwit.fullname" . }}
items:
- key: node.yaml
path: node.yaml
- key: {{ base .Values.configLocation }}
path: {{ base .Values.configLocation }}
- name: data
emptyDir: {}
{{- range .Values.configMaps }}
Expand Down
8 changes: 4 additions & 4 deletions charts/quickwit/templates/job-create-indices.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ spec:
{{- end }}
volumeMounts:
- name: config
mountPath: /quickwit/node.yaml
subPath: node.yaml
mountPath: {{ .Values.configLocation }}
subPath: {{ base .Values.configLocation }}
- name: index
mountPath: /quickwit/{{ .index_id }}.yaml
subPath: {{ .index_id }}.yaml
Expand All @@ -75,8 +75,8 @@ spec:
configMap:
name: {{ template "quickwit.fullname" $ }}
items:
- key: node.yaml
path: node.yaml
- key: {{ base .Values.configLocation }}
path: {{ base .Values.configLocation }}
- name: index
configMap:
name: {{ template "quickwit.fullname" $ }}-bootstrap
Expand Down
8 changes: 4 additions & 4 deletions charts/quickwit/templates/job-create-sources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ spec:
{{- end }}
volumeMounts:
- name: config
mountPath: /quickwit/node.yaml
subPath: node.yaml
mountPath: {{ .Values.configLocation }}
subPath: {{ base .Values.configLocation }}
{{- if $.Values.seed.sources }}
- name: source
mountPath: /quickwit/{{ .source.source_id }}.yaml
Expand All @@ -77,8 +77,8 @@ spec:
configMap:
name: {{ template "quickwit.fullname" $ }}
items:
- key: node.yaml
path: node.yaml
- key: {{ base .Values.configLocation }}
path: {{ base .Values.configLocation }}
- name: source
configMap:
name: {{ template "quickwit.fullname" $ }}-bootstrap
Expand Down
8 changes: 4 additions & 4 deletions charts/quickwit/templates/metastore-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ spec:
{{- toYaml .Values.metastore.readinessProbe | nindent 12 }}
volumeMounts:
- name: config
mountPath: /quickwit/node.yaml
subPath: node.yaml
mountPath: {{ .Values.configLocation }}
subPath: {{ base .Values.configLocation }}
- name: data
mountPath: /quickwit/qwdata
{{- range .Values.configMaps }}
Expand All @@ -96,8 +96,8 @@ spec:
configMap:
name: {{ template "quickwit.fullname" . }}
items:
- key: node.yaml
path: node.yaml
- key: {{ base .Values.configLocation }}
path: {{ base .Values.configLocation }}
- name: data
emptyDir: {}
{{- range .Values.configMaps }}
Expand Down
8 changes: 4 additions & 4 deletions charts/quickwit/templates/searcher-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ spec:
{{- toYaml .Values.searcher.readinessProbe | nindent 12 }}
volumeMounts:
- name: config
mountPath: /quickwit/node.yaml
subPath: node.yaml
mountPath: {{ .Values.configLocation }}
subPath: {{ base .Values.configLocation }}
- name: data
mountPath: /quickwit/qwdata
{{- range .Values.configMaps }}
Expand All @@ -105,8 +105,8 @@ spec:
configMap:
name: {{ template "quickwit.fullname" . }}
items:
- key: node.yaml
path: node.yaml
- key: {{ base .Values.configLocation }}
path: {{ base .Values.configLocation }}
{{- if not .Values.searcher.persistentVolume.enabled }}
- name: data
emptyDir: {}
Expand Down