Extend K8S and RIC installation instructions
[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   releasePrefix: r1
23   namespace:
24     xapp: ricxapp
25   
26     infra: ricinfra
27     platform: ricplt
28     aux: ricaux
29   # Docker registry from which RIC platform components pull the images
30   repository: nexus3.o-ran-sc.org:10004/o-ran-sc
31
32   # Name of the K8S docker credential that is onboarded by 20-credential 
33   repositoryCred: docker-reg-cred
34
35   # Docker image pull policy
36   imagePullPolicy: Always
37
38   # Helm repo that will be used by xApp manager
39   helmRepository: "http://10.0.2.100:32080/helm"
40
41   # Certificate of the helm repo
42   helmRepositoryCert: xapp-mgr-certs
43
44   # Name of the K8S secret that contains the credential of the helm repo
45   helmRepositoryCred: xapp-mgr-creds
46
47
48   # Endpoint of k8s API server
49   k8sAPIHost: https://kubernetes.default.svc.cluster.local/
50
51   # The ingress URL definitions for the ingress controller in four namespaces
52   ingressurl:
53     ric: ric-entry
54     aux: aux-entry
55     dashboard: dashboard-entry
56
57   tillers:
58     ricxapp:
59       name: ricxapp
60       nameSpace: ricxapp
61       deployNameSpace: ricinfra
62       image:
63         tillerTLSSecrets:
64           repository: nexus3.o-ran-sc.org:10004/o-ran-sc
65           name: it-dep-secret
66           tag: 0.0.2
67         tiller:
68           repository: gcr.io
69           name: kubernetes-helm/tiller
70           tag: v2.12.3
71       secret:
72         create: true
73         tillerSecretName: secret-tiller-ricxapp
74         helmSecretName: secret-helm-client-ricxapp
75       tls:
76        authenticate: true
77        verify: true
78       serviceAccount:
79         name: tiller
80         role:
81         - apiGroups: [""]
82           resources: ["pods", "configmaps", "services"]
83           verbs: ["get", "list", "create", "delete"]
84         - apiGroups: ["extensions", "apps"]
85           resources: ["deployments"]
86           verbs: ["get", "list", "create", "delete"]
87       port: 44134
88
89 #-------------------------------------------------------------------------
90 # Infrastructure
91 #-------------------------------------------------------------------------
92
93
94 credential:
95   repositoryCredential:
96     user: docker
97     password: docker
98   
99   
100   helmrepoCredential:
101     user: helm
102     password: helm
103
104   helmCertificate: |2
105     -----BEGIN CERTIFICATE-----
106     <CERT FOR HELM>
107     -----END CERTIFICATE-----
108
109 k8s:
110   enable: false
111
112 chartmuseum:
113   enable: true
114   repositoryOverride: "docker.io"
115   image:
116     name: chartmuseum/chartmuseum
117     tag: v0.8.2
118   job:
119     image:
120       name: alpine
121       tag: latest
122   storagesize: 2Gi
123   datapath: /opt/data/chartmuseum-data
124
125
126 elfkp:
127   enable: false
128
129 kong:
130   proxy:
131     http:
132       containerPort: 32080
133     tls:
134       containerPort: 32443
135   image:
136     repository: kong
137     tag: 1.3
138   ingressController:
139     image:
140       repository: kong-docker-kubernetes-ingress-controller.bintray.io/kong-ingress-controller
141       tag: 0.6.0