I-Relese - Update versions for RANPM
[nonrtric/plt/ranpm.git] / install / helm / nrt-pm / charts / ics / templates / app-deployment.yaml
1 #  ============LICENSE_START===============================================
2 #  Copyright (C) 2020-2023 Nordix Foundation. All rights reserved.
3 #  Copyright (C) 2023 OpenInfra Foundation Europe. All rights reserved.
4 #  ========================================================================
5 #  Licensed under the Apache License, Version 2.0 (the "License");
6 #  you may not use this file except in compliance with the License.
7 #  You may obtain a copy of the License at
8 #
9 #       http://www.apache.org/licenses/LICENSE-2.0
10 #
11 #  Unless required by applicable law or agreed to in writing, software
12 #  distributed under the License is distributed on an "AS IS" BASIS,
13 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 #  See the License for the specific language governing permissions and
15 #  limitations under the License.
16 #  ============LICENSE_END=================================================
17 #
18
19 apiVersion: apps/v1
20 kind: Deployment
21 metadata:
22   name: informationservice
23   namespace: nonrtric
24   labels:
25     app: informationservice
26 spec:
27   replicas: 1
28   selector:
29     matchLabels:
30       app: informationservice
31   template:
32     metadata:
33       labels:
34         app: informationservice
35     spec:
36       containers:
37       - name: informationservice
38         image: nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-plt-informationcoordinatorservice:1.6.0
39         imagePullPolicy: Always
40         ports:
41         - name: http
42           containerPort: 8083
43         - name: https
44           containerPort: 8434
45         volumeMounts:
46         - mountPath: /opt/app/information-coordinator-service/config/application.yaml
47           subPath: application.yaml
48           name: informationservice-cm-config
49       volumes:
50       - configMap:
51           defaultMode: 420
52           name: informationservice-cm-config
53         name: informationservice-cm-config