Skip to content

Commit

Permalink
Merge pull request #28 from spidernet-io/pr/welan/bug
Browse files Browse the repository at this point in the history
chart: fail to generate image name when using digital tag from develo…
  • Loading branch information
weizhoublue authored Jan 16, 2025
2 parents 1263835 + e596db8 commit 6e43e25
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions chart/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ return the controller image
{{- if .Values.image.digest }}
{{- print "@" .Values.image.digest -}}
{{- else if .Values.global.imageTagOverride -}}
{{- printf ":%s" .Values.global.imageTagOverride -}}
{{- printf ":%s" (toString .Values.global.imageTagOverride) -}}
{{- else if .Values.image.tag -}}
{{- printf ":%s" .Values.image.tag -}}
{{- printf ":%s" (toString .Values.image.tag) -}}
{{- else -}}
{{- printf ":v%s" .Chart.AppVersion -}}
{{- end -}}
Expand All @@ -97,9 +97,9 @@ return the agent image
{{- if .Values.clusterAgent.agentYaml.image.digest }}
{{- print "@" .Values.clusterAgent.agentYaml.image.digest -}}
{{- else if .Values.global.imageTagOverride -}}
{{- printf ":%s" .Values.global.imageTagOverride -}}
{{- printf ":%s" (toString .Values.global.imageTagOverride) -}}
{{- else if .Values.clusterAgent.agentYaml.image.tag -}}
{{- printf ":%s" .Values.clusterAgent.agentYaml.image.tag -}}
{{- printf ":%s" (toString .Values.clusterAgent.agentYaml.image.tag) -}}
{{- else -}}
{{- printf ":v%s" .Chart.AppVersion -}}
{{- end -}}
Expand Down

0 comments on commit 6e43e25

Please sign in to comment.