Skip to content

Commit

Permalink
Rename customLabels to additionalLabels
Browse files Browse the repository at this point in the history
  • Loading branch information
rdettai committed Apr 3, 2024
1 parent e8fd386 commit d5d67b6
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions charts/quickwit/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Create chart name and version as used by the chart label.
{{/*
Custom labels
*/}}
{{- define "quickwit.customLabels" -}}
{{- define "quickwit.additionalLabels" -}}
{{- if .Values.additionalLabels }}
{{ toYaml .Values.additionalLabels }}
{{- end }}
Expand All @@ -49,7 +49,7 @@ helm.sh/chart: {{ include "quickwit.chart" . }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{ include "quickwit.customLabels" . }}
{{ include "quickwit.additionalLabels" . }}
{{- end }}

{{/*
Expand Down
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,7 +19,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "quickwit.customLabels" . | nindent 8 }}
{{- include "quickwit.additionalLabels" . | nindent 8 }}
{{- include "quickwit.control_plane.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.imagePullSecrets }}
Expand Down
2 changes: 1 addition & 1 deletion charts/quickwit/templates/indexer-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "quickwit.customLabels" . | nindent 8 }}
{{- include "quickwit.additionalLabels" . | nindent 8 }}
{{- include "quickwit.indexer.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.imagePullSecrets }}
Expand Down
2 changes: 1 addition & 1 deletion charts/quickwit/templates/janitor-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "quickwit.customLabels" . | nindent 8 }}
{{- include "quickwit.additionalLabels" . | nindent 8 }}
{{- include "quickwit.janitor.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.imagePullSecrets }}
Expand Down
2 changes: 1 addition & 1 deletion charts/quickwit/templates/metastore-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "quickwit.customLabels" . | nindent 8 }}
{{- include "quickwit.additionalLabels" . | nindent 8 }}
{{- include "quickwit.metastore.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.imagePullSecrets }}
Expand Down
2 changes: 1 addition & 1 deletion charts/quickwit/templates/searcher-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "quickwit.customLabels" . | nindent 8 }}
{{- include "quickwit.additionalLabels" . | nindent 8 }}
{{- include "quickwit.searcher.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.imagePullSecrets }}
Expand Down

0 comments on commit d5d67b6

Please sign in to comment.