From 97985d80947f09e20a5d50c00b1909252befccb3 Mon Sep 17 00:00:00 2001 From: rangajal Date: Sat, 7 Nov 2020 09:31:55 +0000 Subject: [PATCH] adding env variable for alarmadapter container to read platform namespace name Change-Id: Ie81c5aae2d882543f9fe608be8cf5a61a40c3f3c Signed-off-by: rangajal --- helm/alarmadapter/templates/deployment.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/helm/alarmadapter/templates/deployment.yaml b/helm/alarmadapter/templates/deployment.yaml index 47e8e66..9b82ff3 100644 --- a/helm/alarmadapter/templates/deployment.yaml +++ b/helm/alarmadapter/templates/deployment.yaml @@ -53,6 +53,9 @@ spec: #args: ["-c", "while true; do echo hello; sleep 10;done"] command: ["/bin/sh"] args: ["-c", "/alarm-adapter -f /alarmadaptercfg/config-file.json"] + env: + - name: PLT_NAMESPACE + value: {{ include "common.namespace.platform" . }} envFrom: - configMapRef: name: {{ include "common.configmapname.alarmadapter" . }}-env -- 2.16.6