From ef4126150d499c2c1bf4a3b0731dfdc2ee8773e1 Mon Sep 17 00:00:00 2001
From: Rajesh <rjshrjndrn@gmail.com>
Date: Sat, 23 Nov 2019 13:54:51 +0000
Subject: [PATCH] default '' value for null values in go templating

---
 3node/helm-charts/player/templates/configmap.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/3node/helm-charts/player/templates/configmap.yaml b/3node/helm-charts/player/templates/configmap.yaml
index 89dd7d0eb..61960f06f 100644
--- a/3node/helm-charts/player/templates/configmap.yaml
+++ b/3node/helm-charts/player/templates/configmap.yaml
@@ -1,7 +1,7 @@
 apiVersion: v1
 data:
   {{- range $key, $val := .Values.playerenv }}
-  {{ $key }}: {{ $val }}
+  {{ $key }}: {{default "''" $val }}
   {{- end }}
   sunbird_cassandra_replication_strategy: {{ .Values.sunbird_cassandra_replication_strategy | toJson }}
 kind: ConfigMap
-- 
GitLab