Skip to content

Commit

Permalink
Add additionalLabels support
Browse files Browse the repository at this point in the history
  • Loading branch information
gXkch authored and remram44 committed Dec 6, 2024
1 parent 9288d08 commit 976c53a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/matrix/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ Common labels
*/}}
{{- define "matrix.labels" -}}
helm.sh/chart: {{ include "matrix.chart" . }}
{{- range $key, $val := .Values.additionalLabels }}
{{ $key }}: {{ $val | quote }}
{{- end }}
{{ include "matrix.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
Expand Down
1 change: 1 addition & 0 deletions charts/matrix/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ image:
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
additionalLabels: {}

homeserverConfig:
# For more information on how to configure Synapse, including a complete accounting of
Expand Down

0 comments on commit 976c53a

Please sign in to comment.