Add comment for configuring Helm repo
[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:10002/o-ran-sc
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, for hosting xApp charts.
38   # (The example value below points to a Helm repo that is to be set up in the
39   # AUX cluster.  If the goal is to use any other Helm chart repo, configure
40   # this parameter accordingly.  For example, if the plan is to use a chart
41   # repo in the RIC cluster, which can be done by enabling the Chart Museum
42   # component in RIC_INFRA recipe, this line should be:
43   #   helmRepository: "http://service-ricinfra-chartmuseum-http.ricinfra:8080" )
44   helmRepository: "http://aux-entry/helm"
45
46   # Certificate of the helm repo
47   helmRepositoryCert: xapp-mgr-certs
48
49   # Name of the K8S secret that contains the credential of the helm repo
50   helmRepositoryCred: xapp-mgr-creds
51
52   # Endpoint of k8s API server
53   k8sAPIHost: https://kubernetes.default.svc.cluster.local/
54
55   # The ingress URL definitions for the ingress controller in four namespaces
56   ingressurl:
57     ric: ric-entry
58     aux: aux-entry
59     dashboard: dashboard-entry
60
61   tillers:
62     ricxapp:
63       name: ricxapp
64       nameSpace: ricxapp
65       deployNameSpace: ricinfra
66       image:
67         tillerTLSSecrets:
68           repository: nexus3.o-ran-sc.org:10002/o-ran-sc
69           name: it-dep-secret
70           tag: 0.0.2
71         tiller:
72           repository: gcr.io
73           name: kubernetes-helm/tiller
74           tag: v2.12.3
75       secret:
76         create: true
77         tillerSecretName: secret-tiller-ricxapp
78         helmSecretName: secret-helm-client-ricxapp
79       tls:
80        authenticate: true
81        verify: true
82       serviceAccount:
83         name: tiller
84         role:
85         - apiGroups: [""]
86           resources: ["pods", "configmaps", "services"]
87           verbs: ["get", "list", "create", "delete"]
88         - apiGroups: ["extensions", "apps"]
89           resources: ["deployments"]
90           verbs: ["get", "list", "create", "delete"]
91       port: 44134
92
93
94 #-------------------------------------------------------------------------
95 # Platform Components 
96 #-------------------------------------------------------------------------
97 # A1 Mediator
98 a1mediator:
99   # Use the following option to override the docker registry value
100   # repositoryOverride:
101   image:
102     name: ric-plt-a1
103     tag: 1.0.4
104   rmr_timeout_config:
105     rcv_retry_interval_ms: 500
106     rcv_retry_times: 20
107
108 # xApp Manager 
109 appmgr:
110   # Use the following option to override the docker registry value
111   # repositoryOverride:
112   image:
113     init:
114       name: it-dep-init
115       tag: 0.0.1
116     name: ric-plt-appmgr
117     tag: 0.1.10
118
119
120
121 # DBAAS 
122 dbaas:
123   # Use the following option to override the docker registry value
124   # repositoryOverride:
125   backend:
126     iterminationGracePeriodSeconds: 0
127     image:
128       name: ric-plt-dbaas
129       tag: 0.1.0
130
131 # E2 Manager
132 e2mgr:
133   # Use the following option to override the docker registry value
134   # repositoryOverride:
135   image:
136     name: ric-plt-e2mgr
137     tag: 2.0.10
138   env:
139     RIC_ID: "bbbccc-abcd0e/20"
140   privilegedmode: false
141
142
143 # E2 Termination
144 e2term:
145   # Use the following option to override the docker registry value
146   # repositoryOverride:
147   image:
148     name: ric-plt-e2
149     tag: 2.0.10
150   env:
151     print: "1"
152   privilegedmode: false
153   hostnetworkmode: false
154
155   dataVolSize: 100Mi
156   storageClassName: local-storage
157   #storageClassName: ric-storage-class
158
159 # Routing Manager
160 rtmgr:
161   # Use the following option to override the docker registry value
162   # repositoryOverride:
163   image:
164     name: ric-plt-rtmgr
165     tag: 0.3.9
166   loglevel: DEBUG
167
168 # Subscription Manager
169 submgr:
170   # Use the following option to override the docker registry value
171   # repositoryOverride:
172   image:
173     name: ric-plt-submgr
174     tag: 0.10.7
175
176 # VESPA Manager
177 vespamgr:
178   # Use the following option to override the docker registry value
179   # repositoryOverride:
180   image:
181     name: ric-plt-vespamgr
182     tag: 0.0.8
183   prometheusurl: "http://rec-prometheus-server.default"
184
185 # RAN Resource Monitor
186 rsm:
187   image:
188     name: ric-plt-resource-status-manager
189     tag: 2.0.10
190
191 # Jaeger Adapter
192 jaegeradapter:
193   repositoryOverride: docker.io
194   image:
195     name: jaegertracing/all-in-one
196     tag: 1.12
197     pullPolicy: IfNotPresent
198
199
200 # the service for redirecting to AUX cluster
201 extsvcplt:
202   auxip:
203     # The ip address of the aux cluster ingress controller
204     10.0.2.101
205   ricip:
206     # The ip address of the ric cluster ingress controller
207     10.0.2.100