Last active
June 18, 2019 17:17
Revisions
-
cxhercules revised this gist
Jun 18, 2019 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,11 @@ You need to use a tpl trick to interpolate the value, since helm variable in values are not processed, you have to update your deployment, for example: In your values.yaml: ``` tag: "{{ .Chart.AppVersion }}" ``` In your deployment: ``` image: "{{ .Values.api.image.repository }}:{{ tpl .Values.api.image.tag . }}" ``` -
cxhercules created this gist
Jun 18, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ You need to use a tpl trick to interpolate the value, since helm variable in values are not processed, you have to update your deployment, for example: In your values.yaml: ... tag: "{{ .Chart.AppVersion }}" ... In your deployment: ... image: "{{ .Values.api.image.repository }}:{{ tpl .Values.api.image.tag . }}" ...