Add support for prometheus
[ric-plt/ric-dep.git] / helm / submgr / templates / deployment.yaml
index 6f502ba..49db0ee 100644 (file)
@@ -50,10 +50,13 @@ spec:
         - name: {{ include "common.containername.submgr" . }}
           image: {{ include "common.dockerregistry.url" $imagectx }}/{{ .Values.submgr.image.name }}:{{ .Values.submgr.image.tag }}
           imagePullPolicy: {{ include "common.dockerregistry.pullpolicy" $pullpolicyctx }}
-          command: ["/run_submgr.sh"]
+          command: ["/submgr"]
+          args: ["-f", "/cfg/submgr-config.yaml"]
           envFrom:
             - configMapRef:
                 name: {{ include "common.configmapname.submgr" . }}-env
+            - configMapRef:
+                name: {{ include "common.configmapname.dbaas" . }}-appconfig
           ports:
             - name: http
               containerPort: {{ include "common.serviceport.submgr.http" . }}
@@ -75,4 +78,6 @@ spec:
               - key: submgrcfg
                 path: submgr-config.yaml
                 mode: 0644
-
+              - key: submgrutartg
+                path: submgr-uta-rtg.rt
+                mode: 0644