b6248d97b0ae47a98b3dc05872484abad6a55db4
[it/dep.git] / RECIPE_EXAMPLE / RIC_PLATFORM_RECIPE_EXAMPLE
1 ################################################################################
2 #   Copyright (c) 2019 AT&T Intellectual Property.                             #
3 #   Copyright (c) 2019 Nokia.                                                  #
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 ###############################################################################
17
18 #-------------------------------------------------------------------------
19 # Global common setting
20 #-------------------------------------------------------------------------
21 global:
22   # Docker registry from which RIC platform components pull the images
23   repository: nexus3.o-ran-sc.org:10004
24
25   # Name of the K8S docker credential that is onboarded by 20-credential 
26   repositoryCred: docker-reg-cred
27
28   # Docker image pull policy
29   imagePullPolicy: Always
30
31   # Helm repo that will be used by xApp manager
32   helmRepository: "https://helm-entry"
33
34   # Certificate of the helm repo
35   helmRepositoryCert: xapp-mgr-certs
36
37   # Name of the K8S secret that contains the credential of the helm repo
38   helmRepositoryCred: xapp-mgr-creds
39
40   # The ingress URL definitions for the ingress controller in four namespaces
41   ingressurl:
42     platform: ricplt-entry
43     xapp: ricxapp-entry
44     aux: ricaux-entry
45     infra: ricinfra-entry
46     localnexus: nexus-entry
47     localhelm: helm-entry
48     localdocker: docker-entry
49
50   tillers:
51     ricxapp:
52       name: ricxapp
53       nameSpace: ricxapp
54       deployNameSpace: ricinfra
55       image:
56         tillerTLSSecrets:
57           repository: nexus3.o-ran-sc.org:10004
58           name: it-dep-secret
59           tag: 0.0.1
60         tiller:
61           repository: gcr.io
62           name: kubernetes-helm/tiller
63           tag: v2.12.3
64       secret:
65         create: true
66         tillerSecretName: secret-tiller-ricxapp
67         helmSecretName: secret-helm-client-ricxapp
68       tls:
69        authenticate: true
70        verify: true
71       serviceAccount:
72         name: tiller
73         role:
74         - apiGroups: [""]
75           resources: ["pods", "configmaps", "services"]
76           verbs: ["get", "list", "create", "delete"]
77         - apiGroups: ["extensions", "apps"]
78           resources: ["deployments"]
79           verbs: ["get", "list", "create", "delete"]
80       port: 44134
81
82
83 #-------------------------------------------------------------------------
84 # Platform Components 
85 #-------------------------------------------------------------------------
86 # A1 Mediator
87 a1mediator:
88   # Use the following option to override the docker registry value
89   # repositoryOverride:
90   image:
91     name: ric-plt-a1
92     tag: 0.10.1
93   rmr_timeout_config:
94     rcv_retry_interval_ms: 500
95     rcv_retry_times: 20
96
97 # xApp Manager 
98 appmgr:
99   # Use the following option to override the docker registry value
100   # repositoryOverride:
101   image:
102     init:
103       name: it-dep-init
104       tag: 0.0.1
105     name: ric-plt-appmgr
106     tag: 0.1.5
107
108
109
110 # DBAAS 
111 dbaas:
112   # Use the following option to override the docker registry value
113   # repositoryOverride:
114   backend:
115     iterminationGracePeriodSeconds: 0
116     image:
117       name: ric-plt-dbaas
118       tag: 0.1.0
119
120 # E2 Manager
121 e2mgr:
122   # Use the following option to override the docker registry value
123   # repositoryOverride:
124   image:
125     name: ric-plt-e2mgr
126     tag: 1.0.0
127   env:
128     RIC_ID: "bbbccc-abcd0e/20"
129   privilegedmode: true
130
131
132 # E2 Termination
133 e2term:
134   # Use the following option to override the docker registry value
135   # repositoryOverride:
136   image:
137     name: ric-plt-e2
138     tag: 1.0.0
139   env:
140     print: "1"
141   privilegedmode: true
142   hostnetworkmode: true
143
144 # Routing Manager
145 rtmgr:
146   # Use the following option to override the docker registry value
147   # repositoryOverride:
148   image:
149     name: ric-plt-rtmgr
150     tag: 0.3.2
151
152 # Subscription Manager
153 submgr:
154   # Use the following option to override the docker registry value
155   # repositoryOverride:
156   image:
157     name: ric-plt-submgr
158     tag: 0.5.0
159
160 # the service for redirecting to AUX cluster
161 extsvcplt:
162   auxip:
163     # The ip address of the aux cluster ingress controller
164     <IP_ADDRESS of the AUX cluster>    
165   ricip:
166     # The ip address of the ric cluster ingress controller
167     <IP_ADDRESS of the RIC cluster>