Add support for Ceph based PV for chartmuseum and dashboard
[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
41   # Endpoint of k8s API server
42   k8sAPIHost: https://kubernetes.default.svc.cluster.local/
43
44   # The ingress URL definitions for the ingress controller in four namespaces
45   ingressurl:
46     ric: ric-entry
47     aux: aux-entry
48     helm: helm-entry
49
50
51   tillers:
52     ricxapp:
53       name: ricxapp
54       nameSpace: ricxapp
55       deployNameSpace: ricinfra
56       image:
57         tillerTLSSecrets:
58           repository: nexus3.o-ran-sc.org:10004
59           name: it-dep-secret
60           tag: 0.0.2
61         tiller:
62           repository: gcr.io
63           name: kubernetes-helm/tiller
64           tag: v2.12.3
65       secret:
66         create: true
67         tillerSecretName: secret-tiller-ricxapp
68         helmSecretName: secret-helm-client-ricxapp
69       tls:
70        authenticate: true
71        verify: true
72       serviceAccount:
73         name: tiller
74         role:
75         - apiGroups: [""]
76           resources: ["pods", "configmaps", "services"]
77           verbs: ["get", "list", "create", "delete"]
78         - apiGroups: ["extensions", "apps"]
79           resources: ["deployments"]
80           verbs: ["get", "list", "create", "delete"]
81       port: 44134
82
83 #-------------------------------------------------------------------------
84 # Infrastructure
85 #-------------------------------------------------------------------------
86
87 cluster:
88   deployK8S: false
89   deployNexus: false
90   deployK8SMonitoringStake: false
91   useLocalHelmRepo: false
92   useLocalDockerRegistry: false
93
94 credential:
95   repositoryCredential:
96     user: <DOCKER USER NAME>
97     password: <DOCKER PASSWORD>
98   
99   
100   helmrepoCredential:
101     user: <HELM USER NAME>
102     password: <HELM PASSWORD>
103
104   helmCertificate: |2
105     -----BEGIN CERTIFICATE-----
106     <CERT FOR HELM>
107     -----END CERTIFICATE-----
108
109
110 chartmuseum:
111   repositoryOverride: "docker.io"
112   image:
113     name: chartmuseum/chartmuseum
114     tag: v0.8.2
115   job:
116     image:
117       name: alpine
118       tag: latest
119
120   storagesize: 2Gi