Skip to content

Commit

Permalink
Custom pod labels (#74)
Browse files Browse the repository at this point in the history
* Custom pod labels

* Cleanup unnecessary value definition
  • Loading branch information
rdettai authored Apr 2, 2024
1 parent c92e873 commit 24e5eb8
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 4 deletions.
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.10
version: 0.5.11
appVersion: "v0.8.1"
keywords:
- quickwit
Expand Down
3 changes: 1 addition & 2 deletions charts/quickwit/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}

{{/*
Search Selector labels
Searcher Selector labels
*/}}
{{- define "quickwit.searcher.selectorLabels" -}}
{{ include "quickwit.selectorLabels" . }}
Expand Down Expand Up @@ -200,4 +200,3 @@ Quickwit metastore environment
value: "postgres://$(POSTGRES_USERNAME):$(POSTGRES_PASSWORD)@$(POSTGRES_HOST):$(POSTGRES_PORT)/$(POSTGRES_DATABASE)"
{{- end }}
{{- end }}

2 changes: 1 addition & 1 deletion charts/quickwit/templates/control-plane-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "quickwit.labels" . | nindent 8 }}
{{- include "quickwit.control_plane.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.imagePullSecrets }}
Expand Down Expand Up @@ -78,4 +79,3 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}

1 change: 1 addition & 0 deletions charts/quickwit/templates/indexer-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "quickwit.labels" . | nindent 8 }}
{{- include "quickwit.indexer.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.imagePullSecrets }}
Expand Down
1 change: 1 addition & 0 deletions charts/quickwit/templates/janitor-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "quickwit.labels" . | nindent 8 }}
{{- include "quickwit.janitor.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.imagePullSecrets }}
Expand Down
1 change: 1 addition & 0 deletions charts/quickwit/templates/metastore-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "quickwit.labels" . | nindent 8 }}
{{- include "quickwit.metastore.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.imagePullSecrets }}
Expand Down
1 change: 1 addition & 0 deletions charts/quickwit/templates/searcher-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "quickwit.labels" . | nindent 8 }}
{{- include "quickwit.searcher.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.imagePullSecrets }}
Expand Down

0 comments on commit 24e5eb8

Please sign in to comment.