Quote image tag (#641)
fix #631 Co-authored-by: justusbunsi <sk.bunsenbrenner@gmail.com> Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/641 Co-authored-by: pat-s <patrick.schratz@gmail.com> Co-committed-by: pat-s <patrick.schratz@gmail.com> (cherry picked from commit 0b2f3d6eb9c2aebf4473dd98dbd3cf558d2ecf0c) Conflicts: unittests/deployment/image-configuration.yaml
This commit is contained in:
parent
d307773ff1
commit
36c68d3c09
2 changed files with 18 additions and 1 deletions
|
@ -60,7 +60,7 @@ Create image name and tag used by the deployment.
|
|||
{{- $registry := .Values.global.imageRegistry | default .Values.image.registry -}}
|
||||
{{- $repository := .Values.image.repository -}}
|
||||
{{- $separator := ":" -}}
|
||||
{{- $tag := .Values.image.tag | default .Chart.AppVersion -}}
|
||||
{{- $tag := .Values.image.tag | default .Chart.AppVersion | toString -}}
|
||||
{{- $rootless := ternary "-rootless" "" (.Values.image.rootless) -}}
|
||||
{{- $digest := "" -}}
|
||||
{{- if .Values.image.digest }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue