Merge "Allow docker default version (no specific version) install"
[it/dep.git] / RECIPE_EXAMPLE / RIC_INFRA_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     ric: ric-entry
43     aux: aux-entry
44     helm: helm-entry
45
46   tillers:
47     ricxapp:
48       name: ricxapp
49       nameSpace: ricxapp
50       deployNameSpace: ricinfra
51       image:
52         tillerTLSSecrets:
53           repository: nexus3.o-ran-sc.org:10004
54           name: it-dep-secret
55           tag: 0.0.1
56         tiller:
57           repository: gcr.io
58           name: kubernetes-helm/tiller
59           tag: v2.12.3
60       secret:
61         create: true
62         tillerSecretName: secret-tiller-ricxapp
63         helmSecretName: secret-helm-client-ricxapp
64       tls:
65        authenticate: true
66        verify: true
67       serviceAccount:
68         name: tiller
69         role:
70         - apiGroups: [""]
71           resources: ["pods", "configmaps", "services"]
72           verbs: ["get", "list", "create", "delete"]
73         - apiGroups: ["extensions", "apps"]
74           resources: ["deployments"]
75           verbs: ["get", "list", "create", "delete"]
76       port: 44134
77
78 #-------------------------------------------------------------------------
79 # Infrastructure
80 #-------------------------------------------------------------------------
81
82 cluster:
83   deployK8S: false
84   deployNexus: false
85   deployK8SMonitoringStake: false
86   useLocalHelmRepo: false
87   useLocalDockerRegistry: false
88
89 credential:
90   repositoryCredential:
91     user: <DOCKER USER NAME>
92     password: <DOCKER PASSWORD>
93   
94   
95   helmrepoCredential:
96     user: <HELM USER NAME>
97     password: <HELM PASSWORD>
98
99   helmCertificate: |2
100     -----BEGIN CERTIFICATE-----
101     <CERT FOR HELM>
102     -----END CERTIFICATE-----
103
104 nexus:
105   image:
106     name: nexus-repository-helm-apt
107     tag: 1.0.0
108   adminPassword: <NEXUS ADMIN PASSWORD>
109   datapath: /tmp/nexus3-data/
110   storagesize: 20Gi
111
112 chartmuseum:
113   repositoryOverride: "registry.hub.docker.com"
114   image:
115     name: chartmuseum/chartmuseum
116     tag: v0.8.2
117
118   storagesize: 2Gi
119   datapath: /tmp/chartmuseum-data/