fixing bug in new config pod
-it appears the variable substitution was not working
and the config map was empty causing the config pod to fail.
I was sure I tested this...alas :'(
Issue-ID: OOM-277
Change-Id: I439d2e0d12f74e76c2fb0a2d44da8aaa473035a7
Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
diff --git a/kubernetes/config/templates/pod.yaml b/kubernetes/config/templates/pod.yaml
index 296ebba..c9bf7a9 100644
--- a/kubernetes/config/templates/pod.yaml
+++ b/kubernetes/config/templates/pod.yaml
@@ -4,7 +4,7 @@
name: global-onap-configmap
namespace: "{{ .Values.nsPrefix }}"
data:
- {{ (.Files.Glob "{{ .Values.parameterFile }}").AsConfig | indent 2 }}
+ {{ (.Files.Glob "onap-parameters.yaml").AsConfig | indent 2 }}
---
apiVersion: v1
kind: Pod