Skip to content

Commit bef6454

Browse files
committed
Fix chart appVersion
1 parent 3a93ab5 commit bef6454

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Release
33
on:
44
push:
55
tags:
6-
- "*"
6+
- "v*"
77

88
permissions: read-all
99

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,5 +234,5 @@ For those interested in the Helm chart creation mechanics, the process was facil
234234
helm package deploy/stackit
235235
```
236236
237-
To release a new version of the Helm chart, one must meticulously update the version delineation in the
237+
To release a new version of the Helm chart, one must meticulously update the appVersion and (chart)version delineation in the
238238
[Chart.yaml](./deploy/stackit/Chart.yaml). Post this modification, initiate a new release to encompass these changes.

deploy/stackit/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v1
2-
appVersion: "1.0"
3-
description: A Helm chart for Kubernetes
2+
appVersion: "v0.3.1"
3+
description: A Helm chart for stackitcloud/stackit-cert-manager-webhook
44
name: stackit-cert-manager-webhook
5-
version: 0.3.2
5+
version: 0.3.3

deploy/stackit/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ spec:
2323
serviceAccountName: {{ include "stackit-cert-manager-webhook.fullname" . }}
2424
containers:
2525
- name: {{ .Chart.Name }}
26-
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
26+
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
2727
imagePullPolicy: {{ .Values.image.pullPolicy }}
2828
args:
2929
- --tls-cert-file=/tls/tls.crt

deploy/stackit/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ certManager:
2323
image:
2424
# -- repository of the image.
2525
repository: ghcr.io/stackitcloud/stackit-cert-manager-webhook
26-
# -- tag of the image.
27-
tag: v0.3.1
26+
# Overrides the image tag whose default is {{ .Chart.AppVersion }}
27+
tag: ""
2828
# -- pull policy of the image.
2929
pullPolicy: IfNotPresent
3030

0 commit comments

Comments
 (0)