Skip to content

Commit 802179a

Browse files
authored
fix: sanitize remaining chart-version label in deployment (#170)
Follow-up to the _helpers.tpl fix: deployment.yaml also uses .Chart.Version directly in labels without sanitizing the + character. Apply the same replace "+" "_" fix.
1 parent 8410f18 commit 802179a

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.17.0-dev
1+
v0.18.0

charts/quota-operator/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: quota-operator
33
description: A Helm chart for the quota-operator
44
type: application
5-
version: v0.16.0
6-
appVersion: v0.16.0
5+
version: v0.18.0
6+
appVersion: v0.18.0
77
home: https://github.com/openmcp-project/quota-operator
88
sources:
99
- https://github.com/openmcp-project/quota-operator

charts/quota-operator/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
app: openmcp-onboarding
88
role: quota-operator
99
chart-name: "{{ .Chart.Name }}"
10-
chart-version: "{{ .Chart.Version }}"
10+
chart-version: "{{ .Chart.Version | replace "+" "_" }}"
1111
release: "{{ .Release.Name }}"
1212
heritage: "{{ .Release.Service }}"
1313
spec:

0 commit comments

Comments
 (0)