From e97444626489f098aaef1d52b8d180c74a5d26cb Mon Sep 17 00:00:00 2001 From: Bruno Jost Date: Fri, 4 Aug 2023 16:45:11 +0200 Subject: [PATCH] [common]: quote extraLabel value Signed-off-by: Bruno Jost --- charts/common/Chart.yaml | 2 +- charts/common/README.md | 2 +- charts/common/templates/_cronjob.yaml | 2 +- charts/common/templates/_deployment.yaml | 2 +- charts/common/templates/_jobspec.yaml | 2 +- charts/common/templates/_statefulset.yaml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/charts/common/Chart.yaml b/charts/common/Chart.yaml index 6e8a8960..23cd808d 100644 --- a/charts/common/Chart.yaml +++ b/charts/common/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: common description: "Bedag's common Helm chart to use for creating other Helm charts" -version: 10.3.0 +version: 10.3.1 # A chart can be either an 'application' or a 'library' chart. # # Application charts are a collection of templates that can be packaged into versioned archives diff --git a/charts/common/README.md b/charts/common/README.md index e0248f8a..8805fd18 100644 --- a/charts/common/README.md +++ b/charts/common/README.md @@ -1,6 +1,6 @@ # common -![Version: 10.3.0](https://img.shields.io/badge/Version-10.3.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 10.3.1](https://img.shields.io/badge/Version-10.3.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) Bedag's common Helm chart to use for creating other Helm charts diff --git a/charts/common/templates/_cronjob.yaml b/charts/common/templates/_cronjob.yaml index 78389429..0009f78e 100644 --- a/charts/common/templates/_cronjob.yaml +++ b/charts/common/templates/_cronjob.yaml @@ -33,7 +33,7 @@ spec: {{ include "library.labels.stable" $root | indent 8 }} app.kubernetes.io/component: {{ $name }} {{- range $key, $value := $cronjob.extraLabels }} - {{ $key }}: {{ $value }} + {{ $key }}: {{ $value | quote }} {{- end }} {{- if $cronjob.gatherMetrics }} gatherMetrics: "enabled" diff --git a/charts/common/templates/_deployment.yaml b/charts/common/templates/_deployment.yaml index 9aaef053..d3213624 100644 --- a/charts/common/templates/_deployment.yaml +++ b/charts/common/templates/_deployment.yaml @@ -40,7 +40,7 @@ spec: {{ include "library.labels.stable" $root | indent 8 }} app.kubernetes.io/component: {{ $name }} {{- range $key, $value := $deployment.extraLabels }} - {{ $key }}: {{ $value }} + {{ $key }}: {{ $value | quote }} {{- end }} {{- if $deployment.gatherMetrics }} gatherMetrics: "enabled" diff --git a/charts/common/templates/_jobspec.yaml b/charts/common/templates/_jobspec.yaml index b8fdbe26..0d8ac8b3 100644 --- a/charts/common/templates/_jobspec.yaml +++ b/charts/common/templates/_jobspec.yaml @@ -27,7 +27,7 @@ template: {{ include "library.labels.stable" $root | indent 6 }} app.kubernetes.io/component: {{ $name }} {{- range $key, $value := $job.extraLabels }} - {{ $key }}: {{ $value }} + {{ $key }}: {{ $value | quote }} {{- end }} {{- if $job.gatherMetrics }} gatherMetrics: "enabled" diff --git a/charts/common/templates/_statefulset.yaml b/charts/common/templates/_statefulset.yaml index ab651f09..dbcdb325 100644 --- a/charts/common/templates/_statefulset.yaml +++ b/charts/common/templates/_statefulset.yaml @@ -30,7 +30,7 @@ spec: {{ include "library.labels.stable" $root | indent 8 }} app.kubernetes.io/component: {{ $name }} {{- range $key, $value := $statefulset.extraLabels }} - {{ $key }}: {{ $value }} + {{ $key }}: {{ $value | quote }} {{- end }} {{- if $statefulset.gatherMetrics }} gatherMetrics: "enabled"