Merge "helm3 and K8 1.18 support added"
[ric-plt/ric-dep.git] / helm / alarmadapter / templates / deployment.yaml
index 47e8e66..8d02070 100644 (file)
@@ -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
@@ -61,7 +64,7 @@ spec:
           volumeMounts:
             - mountPath: /alarmadaptercfg
               name: appconfig-file
-              subpath: config-file.json
+              subPath: config-file.json
           ports:
             - name: "http"
               containerPort: {{ include "common.serviceport.alarmadapter.http" . }}