mirror of
https://github.com/Noooste/garage-ui.git
synced 2026-07-26 07:48:13 +00:00
fix: Helm image tag (#53)
* fix(helm): update image tag logic to handle version prefixes correctly Signed-off-by: Noste <83548733+Noooste@users.noreply.github.com> * fix(ci): exclude helm/garage-ui from changelog generation Signed-off-by: Noste <83548733+Noooste@users.noreply.github.com> --------- Signed-off-by: Noste <83548733+Noooste@users.noreply.github.com>
This commit is contained in:
@@ -30,7 +30,7 @@ spec:
|
|||||||
- name: {{ .Chart.Name }}
|
- name: {{ .Chart.Name }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default (ternary .Chart.AppVersion (printf "v%s" .Chart.AppVersion) (hasPrefix "v" .Chart.AppVersion)) }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
"component": "garage-ui",
|
"component": "garage-ui",
|
||||||
"include-component-in-tag": false,
|
"include-component-in-tag": false,
|
||||||
"changelog-path": "CHANGELOG.md",
|
"changelog-path": "CHANGELOG.md",
|
||||||
|
"exclude-paths": ["helm/garage-ui"],
|
||||||
"extra-files": [
|
"extra-files": [
|
||||||
{
|
{
|
||||||
"type": "yaml",
|
"type": "yaml",
|
||||||
|
|||||||
Reference in New Issue
Block a user