From 0ed21dcb87d73adc75efc56760e97cc5c3133d22 Mon Sep 17 00:00:00 2001 From: Julio H Morimoto Date: Thu, 30 May 2019 04:30:24 -0300 Subject: [PATCH] [stable/mongodb] Fix #14187, adding quotes around annotation values while rendering StatefulSet PVC templates. (#14188) Signed-off-by: root Bump chart version Signed-off-by: juliohm1978 --- stable/mongodb/Chart.yaml | 2 +- stable/mongodb/templates/statefulset-primary-rs.yaml | 2 +- stable/mongodb/templates/statefulset-secondary-rs.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stable/mongodb/Chart.yaml b/stable/mongodb/Chart.yaml index 49a66c35d5..a815b76d1d 100644 --- a/stable/mongodb/Chart.yaml +++ b/stable/mongodb/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: mongodb -version: 5.17.4 +version: 5.17.5 appVersion: 4.0.10 description: NoSQL document-oriented database that stores JSON-like documents with dynamic schemas, simplifying the integration of data in content-driven applications. keywords: diff --git a/stable/mongodb/templates/statefulset-primary-rs.yaml b/stable/mongodb/templates/statefulset-primary-rs.yaml index 57fb792930..fbe56e485f 100644 --- a/stable/mongodb/templates/statefulset-primary-rs.yaml +++ b/stable/mongodb/templates/statefulset-primary-rs.yaml @@ -251,7 +251,7 @@ spec: name: datadir annotations: {{- range $key, $value := .Values.persistence.annotations }} - {{ $key }}: {{ $value }} + {{ $key }}: "{{ $value }}" {{- end }} spec: accessModes: diff --git a/stable/mongodb/templates/statefulset-secondary-rs.yaml b/stable/mongodb/templates/statefulset-secondary-rs.yaml index ce5ef57d87..e944211e5a 100644 --- a/stable/mongodb/templates/statefulset-secondary-rs.yaml +++ b/stable/mongodb/templates/statefulset-secondary-rs.yaml @@ -225,7 +225,7 @@ spec: name: datadir annotations: {{- range $key, $value := .Values.persistence.annotations }} - {{ $key }}: {{ $value }} + {{ $key }}: "{{ $value }}" {{- end }} spec: accessModes: