Skip to content

Commit

Permalink
deploy-agent: append char "v" when using image tag from chart's app v…
Browse files Browse the repository at this point in the history
…ersion
  • Loading branch information
nettoclaudio committed Jul 19, 2023
1 parent c234936 commit 893e1a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/deploy-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.4.1
version: 1.4.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/deploy-agent/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
{{- end }}
containers:
- name: deploy-agent
image: "{{ .Values.deployAgent.image.repository }}:{{ .Values.deployAgent.image.tag | default .Chart.AppVersion }}"
image: {{ .Values.deployAgent.image.repository }}:{{ default (printf "v%s" .Chart.AppVersion) .Values.deployAgent.image.tag }}
imagePullPolicy: {{ .Values.deployAgent.image.pullPolicy }}
command:
- /usr/local/bin/deploy-agent
Expand Down

0 comments on commit 893e1a8

Please sign in to comment.