Enable https port
[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.4
36     replicaCount: 1
37     service:
38       internalPort: 8181
39       externalPort: 8282
40
41 a1simulator:
42   a1simulator:
43     name: a1-sim
44     imagePullPolicy: IfNotPresent
45     image:
46       registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
47       name: a1-simulator
48       tag: 1.0.1
49     service:
50       internalPort: 8085
51     oscVersion:
52       name: a1-sim-osc
53       replicaCount: 2
54     stdVersion:
55       name: a1-sim-std
56       replicaCount: 2
57
58 # image registry and tag to be changed after first release of controlpanel
59 # Need to check the external port Availability
60 controlpanel:
61   controlpanel:
62     imagePullPolicy: IfNotPresent
63     image:
64       registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
65       name: nonrtric-controlpanel
66       tag: 1.0.0
67     replicaCount: 1
68     service:
69       allowHttp: true
70       httpName: http
71       internalPort1: 8080
72       targetPort1: 8080
73       externalPort1: 30091
74       httpsName: https
75       internalPort2: 8081
76       targetPort2: 8082
77       externalPort2: 30092
78     liveness:
79       initialDelaySeconds: 20
80       periodSeconds: 10
81     readiness:
82       initialDelaySeconds: 20
83       periodSeconds: 10
84
85 # Need to check the external port Availability
86 policymanagementservice:
87   policymanagementservice:
88     imagePullPolicy: IfNotPresent
89     image:
90       registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
91       name: nonrtric-policy-agent
92       tag: 1.0.0
93     service:
94       allowHttp: true
95       httpName: http
96       internalPort1: 9080
97       targetPort1: 8081
98       externalPort1: 30093
99       httpsName: https
100       internalPort2: 9081
101       targetPort2: 8433
102       externalPort2: 30094
103     liveness:
104       initialDelaySeconds: 20
105       periodSeconds: 10
106     readiness:
107       initialDelaySeconds: 20
108       periodSeconds: 10