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

View File

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

View File

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