matrix-synapse: Switch to upstream image

This commit is contained in:
Alexander Olofsson 2021-03-20 20:48:26 +01:00
parent c13ac3d9a4
commit c302e50a1b
No known key found for this signature in database
GPG key ID: D439C9470CB04C73
3 changed files with 3 additions and 3 deletions

View file

@ -59,7 +59,7 @@ Create chart name and version as used by the chart label.
Get the correct image tag name Get the correct image tag name
*/}} */}}
{{- define "matrix-synapse.imageTag" -}} {{- define "matrix-synapse.imageTag" -}}
{{- .Values.image.tag | default (printf "%s" .Chart.AppVersion) -}} {{- .Values.image.tag | default (printf "v%s" .Chart.AppVersion) -}}
{{- end -}} {{- end -}}
{{/* {{/*

View file

@ -87,7 +87,7 @@ spec:
{{- end }} {{- end }}
securityContext: securityContext:
{{- $config.securityContext | default $default.securityContext | toYaml | nindent 12 }} {{- $config.securityContext | default $default.securityContext | toYaml | nindent 12 }}
image: "{{ $.Values.image.repository }}:{{ $.Chart.AppVersion }}" image: "{{ $.Values.image.repository }}:{{ include "matrix-synapse.imageTag" $ }}"
imagePullPolicy: {{ $.Values.image.pullPolicy }} imagePullPolicy: {{ $.Values.image.pullPolicy }}
ports: ports:
- name: metrics - name: metrics

View file

@ -2,7 +2,7 @@
## Docker image configuration, used for Synapse and workers. ## Docker image configuration, used for Synapse and workers.
## ##
image: image:
repository: ananace/matrix-synapse repository: matrixdotorg/synapse
## Tag to override with, will default to the application version. ## Tag to override with, will default to the application version.
## ##
# tag: '' # tag: ''