Code Review
/
ric-plt
/
ric-dep.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
91a43ec
)
adding env variable for alarmadapter container to read platform namespace name
08/5008/1
author
rangajal
<ranjit.angajala@nokia.com>
Sat, 7 Nov 2020 09:31:55 +0000
(09:31 +0000)
committer
rangajal
<ranjit.angajala@nokia.com>
Sat, 7 Nov 2020 09:32:14 +0000
(09:32 +0000)
Change-Id: Ie81c5aae2d882543f9fe608be8cf5a61a40c3f3c
Signed-off-by: rangajal <ranjit.angajala@nokia.com>
helm/alarmadapter/templates/deployment.yaml
patch
|
blob
|
history
diff --git
a/helm/alarmadapter/templates/deployment.yaml
b/helm/alarmadapter/templates/deployment.yaml
index
47e8e66
..
9b82ff3
100644
(file)
--- 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