Helm charts and apps for pm-setup
[nonrtric/plt/ranpm.git] / install / helm / nrt-pm / charts / ics / templates / app-deployment.yaml
diff --git a/install/helm/nrt-pm/charts/ics/templates/app-deployment.yaml b/install/helm/nrt-pm/charts/ics/templates/app-deployment.yaml
new file mode 100644 (file)
index 0000000..74029ec
--- /dev/null
@@ -0,0 +1,52 @@
+#  ============LICENSE_START===============================================
+#  Copyright (C) 2023 Nordix Foundation. All rights reserved.
+#  ========================================================================
+#  Licensed under the Apache License, Version 2.0 (the "License");
+#  you may not use this file except in compliance with the License.
+#  You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  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.
+#  ============LICENSE_END=================================================
+#
+
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+  name: informationservice
+  namespace: nonrtric
+  labels:
+    app: informationservice
+spec:
+  replicas: 1
+  selector:
+    matchLabels:
+      app: informationservice
+  template:
+    metadata:
+      labels:
+        app: informationservice
+    spec:
+      containers:
+      - name: informationservice
+        image: nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-plt-informationcoordinatorservice:1.5.0
+        imagePullPolicy: Always
+        ports:
+        - name: http
+          containerPort: 8083
+        - name: https
+          containerPort: 8434
+        volumeMounts:
+        - mountPath: /opt/app/information-coordinator-service/config/application.yaml
+          subPath: application.yaml
+          name: informationservice-cm-config
+      volumes:
+      - configMap:
+          defaultMode: 420
+          name: informationservice-cm-config
+        name: informationservice-cm-config
\ No newline at end of file