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