Fix image tag not followed in polylith (#1451)

This commit is contained in:
Jonathan Bartlett 2022-03-11 17:09:43 +00:00 committed by GitHub
parent 8856491aaa
commit 05af1b178a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@ apiVersion: v2
appVersion: v0.6.3 appVersion: v0.6.3
description: Dendrite Matrix Homeserver description: Dendrite Matrix Homeserver
name: dendrite name: dendrite
version: 3.0.1 version: 3.0.2
kubeVersion: ">=1.16.0-0" kubeVersion: ">=1.16.0-0"
keywords: keywords:
- dendrite - dendrite
@ -87,5 +87,5 @@ dependencies:
condition: dendrite.polylithEnabled condition: dendrite.polylithEnabled
annotations: annotations:
artifacthub.io/changes: | artifacthub.io/changes: |
- kind: changed - kind: fixed
description: Bumped app version to v0.6.3 description: Fixed image tag not being followed in polylith deployments

View File

@ -4,7 +4,7 @@
{{- include "common.values.setup" (index $.Subcharts .) }} {{- include "common.values.setup" (index $.Subcharts .) }}
{{- with (index $.Values .) }} {{- with (index $.Values .) }}
{{- with .image }} {{- with .image }}
{{- $_ := set . "tag" (default .tag $.Chart.AppVersion) -}} {{- $_ := set . "tag" (default $.Chart.AppVersion .tag) -}}
{{- end -}} {{- end -}}
{{- if not .persistence }} {{- if not .persistence }}
{{- $_ := set . "persistence" (dict)}} {{- $_ := set . "persistence" (dict)}}

View File

@ -229,7 +229,7 @@ syncapi:
repository: matrixdotorg/dendrite-polylith repository: matrixdotorg/dendrite-polylith
# -- image tag # -- image tag
# @default -- chart.appVersion # @default -- chart.appVersion
tag: tag: latest
# -- image pull policy # -- image pull policy
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
service: service: