From: rangajal Date: Sat, 7 Nov 2020 09:31:55 +0000 (+0000) Subject: adding env variable for alarmadapter container to read platform namespace name X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=97985d80947f09e20a5d50c00b1909252befccb3;p=ric-plt%2Fric-dep.git adding env variable for alarmadapter container to read platform namespace name Change-Id: Ie81c5aae2d882543f9fe608be8cf5a61a40c3f3c Signed-off-by: rangajal --- 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