From 0e4e12443a6ca8694b3a72aec690245ff6dc22ea Mon Sep 17 00:00:00 2001 From: Yasser Saleemi Date: Wed, 16 Dec 2020 16:19:53 +0000 Subject: [PATCH] [plex] Quote values for extraEnv (#361) Ensure we always use a string and prevent accidental usage of incorrect type (such as using true or false as values) --- charts/plex/Chart.yaml | 2 +- charts/plex/templates/deployment.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/plex/Chart.yaml b/charts/plex/Chart.yaml index 32815d2b..f2973a15 100644 --- a/charts/plex/Chart.yaml +++ b/charts/plex/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: 1.20.2.3402 description: Plex Media Server name: plex -version: 2.1.0 +version: 2.1.1 keywords: - plex home: https://plex.tv/ diff --git a/charts/plex/templates/deployment.yaml b/charts/plex/templates/deployment.yaml index 3fcabb00..87b83595 100644 --- a/charts/plex/templates/deployment.yaml +++ b/charts/plex/templates/deployment.yaml @@ -175,7 +175,7 @@ spec: # Extra ENV Values supplied by user {{- range $key, $value := .Values.extraEnv }} - name: {{ $key }} - value: {{ $value }} + value: "{{ $value }}" {{- end }} # This is part of pkcsMangler {{- if .Values.certificate.pkcsMangler.enabled }} @@ -310,7 +310,7 @@ spec: - name: {{ .name }} persistentVolumeClaim: claimName: {{ .claimName }} - {{- end }} + {{- end }} {{- end }} - name: shared emptyDir: {}