Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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/matrix/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ sources:

type: application

version: 19.4.0
version: 19.5.0

# renovate: image=ghcr.io/element-hq/synapse
appVersion: v1.127.1
Expand Down
13 changes: 6 additions & 7 deletions charts/matrix/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,12 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/name: "matrix"
{{- end -}}

# TODO: Include labels from values
{{/*
Synapse specific labels
*/}}
{{- define "matrix.synapse.labels" -}}
{{- range $key, $val := .Values.synapse.labels -}}
{{ $key }}: {{ $val }}
{{- with .Values.synapse.labels }}
{{- toYaml . }}
{{- end }}
{{- end -}}

Expand All @@ -67,17 +66,17 @@ Create image name that is used in the deployment
Element specific labels
*/}}
{{- define "matrix.element.labels" -}}
{{- range $key, $val := .Values.element.labels }}
{{ $key }}: {{ $val }}
{{- with .Values.element.labels }}
{{- toYaml . }}
{{- end }}
{{- end -}}

{{/*
Mail relay specific labels
*/}}
{{- define "matrix.mail.labels" -}}
{{- range $key, $val := .Values.mail.relay.labels -}}
{{ $key }}: {{ $val }}
{{- with .Values.mail.relay.labels }}
{{- toYaml . }}
{{- end }}
{{- end -}}

Expand Down
Loading