Adding scope of RICPlatform that are under Apache License
[ric-plt/rtmgr.git] / manifests / rtmgr / rtmgr-dep.yaml
index 0a9982b..1c013d9 100644 (file)
 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 #   See the License for the specific language governing permissions and
 #   limitations under the License.
+#
+#   
+#   This source code is part of the near-RT RIC (RAN Intelligent Controller)
+#   platform project (RICP).
+#
 #==================================================================================
 #
 #
@@ -24,7 +29,6 @@ apiVersion: apps/v1
 kind: Deployment
 metadata:
   name: rtmgr
-  namespace: example
 spec:
   replicas: 1
   selector:
@@ -36,19 +40,40 @@ spec:
         app: rtmgr
     spec:
       containers:
-      - name: rtmgr
-        image: cmaster:5000/rtmgr:0.1.0
-        command: ["/run_rtmgr.sh"]
-        env:
-        - name: XMURL
-          value: "http://xmgr:3000/xapps"
-        - name: IP
-          value: "0.0.0.0"
-        - name: RTFILE
-          value: "/db/rt.json"
-        - name: RPE
-          value: "rmrpush"
-        - name: SBI
-          value: "nngpush"
-        ports:
-        - containerPort: 4560
+        - name: rtmgr
+          image: cmaster:5000/rtmgr:latest
+          command: ["/run_rtmgr.sh"]
+          env:
+            - name: XMURL
+              value: "http://appmgr-service:8080/ric/v1/xapps"
+            - name: RTFILE
+              value: "/db/rt.json"
+            - name: RPE
+              value: "rmrpush"
+            - name: SBI
+              value: "nngpush"
+            - name: SBIURL
+              value: "0.0.0.0"
+            - name: NBI
+              value: "httpRESTful"
+            - name: NBIURL
+              value: "http://rtmgr:8888"
+            - name: CFGFILE
+              value: "/cfg/rtmgr-config.json"
+            - name: LOGLEVEL
+              value: "DEBUG"
+          ports:
+            - containerPort: 8888
+            - containerPort: 4560
+          volumeMounts:
+            - mountPath: /cfg
+              name: rtmgrcfg
+              readOnly: true
+      volumes:
+        - name: rtmgrcfg
+          configMap:
+            name: rtmgrcfg
+            items:
+              - key: rtmgrcfg
+                path: rtmgr-config.json
+                mode: 0644