Skip to content

Commit 00919a1

Browse files
authored
Merge pull request #63 from stackitcloud/bugfix/ChartAppVersion
fix: Chart appVersion
2 parents 5442665 + bef6454 commit 00919a1

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
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

CODEOWNERS

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
* patrick.koss@mail.schwarz
1+
* patrick.koss@stackit.cloud
22
* marius.galm@mail.schwarz
3-
* simon.stier@mail.schwarz
4-
* christopher.paul@mail.schwarz
3+
* simon.stier@stackit.cloud
4+
* florian.sandel@stackit.cloud

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)