Merge "Enable https in nonrtric A1 simulator"
[it/dep.git] / nonrtric / RECIPE_EXAMPLE / example_recipe.yaml
1 ################################################################################
2 #   Copyright (c) 2020 Nordix Foundation.                                      #
3 #                                                                              #
4 #   Licensed under the Apache License, Version 2.0 (the "License");            #
5 #   you may not use this file except in compliance with the License.           #
6 #   You may obtain a copy of the License at                                    #
7 #                                                                              #
8 #       http://www.apache.org/licenses/LICENSE-2.0                             #
9 #                                                                              #
10 #   Unless required by applicable law or agreed to in writing, software        #
11 #   distributed under the License is distributed on an "AS IS" BASIS,          #
12 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   #
13 #   See the License for the specific language governing permissions and        #
14 #   limitations under the License.                                             #
15 ################################################################################
16
17 #-------------------------------------------------------------------------
18 # Global common setting
19 #-------------------------------------------------------------------------
20
21 common:
22   releasePrefix: r2-dev-nonrtric
23 # Change the namespaces using the following options
24   namespace:
25     nonrtric: nonrtric
26
27 component: nonrtric
28
29 a1controller:
30   a1controller:
31     imagePullPolicy: IfNotPresent
32     image:
33       registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
34       name: nonrtric-a1-controller
35       tag: 1.7.5
36     replicaCount: 1
37     service:
38       allowHttp: true
39       httpName: http
40       internalPort1: 8282
41       targetPort1: 8181
42       httpsName: https
43       internalPort2: 8383
44       targetPort2: 8443
45     liveness:
46       initialDelaySeconds: 60
47       periodSeconds: 10
48     readiness:
49       initialDelaySeconds: 60
50       periodSeconds: 10
51
52 a1simulator:
53   a1simulator:
54     name: a1-sim
55     imagePullPolicy: IfNotPresent
56     image:
57       registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
58       name: a1-simulator
59       tag: 1.0.1
60     service:
61       httpName: http
62       internalPort1: 8085
63       targetPort1: 8085
64       httpsName: https
65       internalPort2: 8185
66       targetPort2: 8185
67     liveness:
68       initialDelaySeconds: 20
69       periodSeconds: 10
70     readiness:
71       initialDelaySeconds: 20
72       periodSeconds: 10
73     oscVersion:
74       name: a1-sim-osc
75       replicaCount: 2
76     stdVersion:
77       name: a1-sim-std
78       replicaCount: 2
79
80 # image registry and tag to be changed after first release of controlpanel
81 # Need to check the external port Availability
82 controlpanel:
83   controlpanel:
84     imagePullPolicy: IfNotPresent
85     image:
86       registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
87       name: nonrtric-controlpanel
88       tag: 1.0.0
89     replicaCount: 1
90     service:
91       allowHttp: true
92       httpName: http
93       internalPort1: 8080
94       targetPort1: 8080
95       externalPort1: 30091
96       httpsName: https
97       internalPort2: 8081
98       targetPort2: 8082
99       externalPort2: 30092
100     liveness:
101       initialDelaySeconds: 20
102       periodSeconds: 10
103     readiness:
104       initialDelaySeconds: 20
105       periodSeconds: 10
106
107 # Need to check the external port Availability
108 policymanagementservice:
109   policymanagementservice:
110     imagePullPolicy: IfNotPresent
111     image:
112       registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
113       name: nonrtric-policy-agent
114       tag: 1.0.0
115     service:
116       allowHttp: true
117       httpName: http
118       internalPort1: 9080
119       targetPort1: 8081
120       externalPort1: 30093
121       httpsName: https
122       internalPort2: 9081
123       targetPort2: 8433
124       externalPort2: 30094
125     liveness:
126       initialDelaySeconds: 20
127       periodSeconds: 10
128     readiness:
129       initialDelaySeconds: 20
130       periodSeconds: 10