Merge "[COMMON] add pre upgrade script for mariadb-galera"
[oom.git] / kubernetes / onap / values.yaml
1 # Copyright © 2019 Amdocs, Bell Canada
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 #################################################################
16 # Global configuration overrides.
17 #
18 # These overrides will affect all helm charts (ie. applications)
19 # that are listed below and are 'enabled'.
20 #################################################################
21 global:
22   # Change to an unused port prefix range to prevent port conflicts
23   # with other instances running within the same k8s cluster
24   nodePortPrefix: 302
25   nodePortPrefixExt: 304
26
27
28   # Install test components
29   # test components are out of the scope of ONAP but allow to have a entire
30   # environment to test the different features of ONAP
31   # Current tests environments provided:
32   #  - netbox (needed for CDS IPAM)
33   #  - AWX (needed for XXX)
34   #  - EJBCA Server (needed for CMPv2 tests)
35   # Today, "contrib" chart that hosting these components must also be enabled
36   # in order to make it work. So `contrib.enabled` must have the same value than
37   # addTestingComponents
38   addTestingComponents: &testing false
39
40   # ONAP Repository
41   # Uncomment the following to enable the use of a single docker
42   # repository but ONLY if your repository mirrors all ONAP
43   # docker images. This includes all images from dockerhub and
44   # any other repository that hosts images for ONAP components.
45   #repository: nexus3.onap.org:10001
46   repositoryCred:
47     user: docker
48     password: docker
49   dockerHubRepository: docker.io
50
51   # readiness check - temporary repo until images migrated to nexus3
52   readinessRepository: oomk8s
53   readinessImage: readiness-check:2.2.1
54
55   # curl image
56   curlImage: curlimages/curl:7.69.1
57
58   # logging agent - temporary repo until images migrated to nexus3
59   loggingRepository: docker.elastic.co
60
61   # dockerHub main repository
62   dockerHubRepository: docker.io
63
64   # busybox repo and image
65   busyboxRepository: docker.io
66   busyboxImage: busybox:1.30
67
68   # kubeclt image
69   kubectlImage: "bitnami/kubectl:1.15"
70
71   # image pull policy
72   pullPolicy: Always
73
74   # default clusterName
75   # {{ template "common.fullname" . }}.{{ template "common.namespace" . }}.svc.{{ .Values.global.clusterName }}
76   clusterName: cluster.local
77
78   # default mount path root directory referenced
79   # by persistent volumes and log files
80   persistence:
81     mountPath: /dockerdata-nfs
82     enableDefaultStorageclass: false
83     parameters: {}
84     storageclassProvisioner: kubernetes.io/no-provisioner
85     volumeReclaimPolicy: Retain
86
87   # override default resource limit flavor for all charts
88   flavor: unlimited
89
90   # flag to enable debugging - application support required
91   debugEnabled: false
92
93   #Global ingress configuration
94   ingress:
95     enabled: false
96     virtualhost:
97         enabled: true
98         baseurl: "simpledemo.onap.org"
99
100   # Global Service Mesh configuration
101   # POC Mode, don't use it in production
102   serviceMesh:
103     enabled: false
104     tls: true
105
106   # Disabling AAF
107   # POC Mode, only for use in development environment
108   # Keep it enabled in production
109   aafEnabled: true
110   aafAgentImage: onap/aaf/aaf_agent:2.1.20
111
112   # Enabling CMPv2
113   cmpv2Enabled: true
114   aaf:
115     certServiceClient:
116       image: onap/org.onap.aaf.certservice.aaf-certservice-client:1.0.0
117       secret:
118         name: aaf-cert-service-client-tls-secret
119         mountPath: /etc/onap/aaf/certservice/certs/
120       envVariables:
121         # Certificate related
122         cmpv2Organization: "Linux-Foundation"
123         cmpv2OrganizationalUnit: "ONAP"
124         cmpv2Location: "San-Francisco"
125         cmpv2State: "California"
126         cmpv2Country: "US"
127         # Client configuration related
128         caName: "RA"
129         requestURL: "https://aaf-cert-service:8443/v1/certificate/"
130         requestTimeout: "20000"
131         keystorePath: "/etc/onap/aaf/certservice/certs/certServiceClient-keystore.jks"
132         keystorePassword: "secret"
133         truststorePath: "/etc/onap/aaf/certservice/certs/truststore.jks"
134         truststorePassword: "secret"
135
136   # TLS
137   # Set to false if you want to disable TLS for NodePorts. Be aware that this
138   # will loosen your security.
139   # if set this element will force or not tls even if serviceMesh.tls is set.
140   # tlsEnabled: false
141
142   # Logging
143   # Currently, centralized logging is not in best shape so it's disabled by
144   # default
145   centralizedLoggingEnabled: &centralizedLogging false
146
147
148 # Example of specific for the components where you want to disable TLS only for
149 # it:
150 # if set this element will force or not tls even if global.serviceMesh.tls and
151 # global.tlsEnabled is set otherwise.
152 # robot:
153 #   tlsOverride: false
154
155   # Global storage configuration
156   #    Set to "-" for default, or with the name of the storage class
157   #    Please note that if you use AAF, CDS, SDC, Netbox or Robot, you need a
158   #    storageclass with RWX capabilities (or set specific configuration for these
159   #    components).
160   # persistence:
161   #   storageClass: "-"
162
163 # Example of specific for the components which requires RWX:
164 # aaf:
165 #   persistence:
166 #     storageClassOverride: "My_RWX_Storage_Class"
167 # contrib:
168 #   netbox:
169 #     netbox-app:
170 #       persistence:
171 #         storageClassOverride: "My_RWX_Storage_Class"
172 # cds:
173 #   cds-blueprints-processor:
174 #     persistence:
175 #       storageClassOverride: "My_RWX_Storage_Class"
176 # sdc:
177 #   sdc-onboarding-be:
178 #     persistence:
179 #       storageClassOverride: "My_RWX_Storage_Class"
180
181 #################################################################
182 # Enable/disable and configure helm charts (ie. applications)
183 # to customize the ONAP deployment.
184 #################################################################
185 aaf:
186   enabled: false
187 aai:
188   enabled: false
189 appc:
190   enabled: false
191   config:
192     openStackType: OpenStackProvider
193     openStackName: OpenStack
194     openStackKeyStoneUrl: http://localhost:8181/apidoc/explorer/index.html
195     openStackServiceTenantName: default
196     openStackDomain: default
197     openStackUserName: admin
198     openStackEncryptedPassword: admin
199 cassandra:
200   enabled: false
201 cds:
202   enabled: false
203 clamp:
204   enabled: false
205 cli:
206   enabled: false
207 consul:
208   enabled: false
209 # Today, "contrib" chart that hosting these components must also be enabled
210 # in order to make it work. So `contrib.enabled` must have the same value than
211 # addTestingComponents
212 contrib:
213   enabled: *testing
214 dcaegen2:
215   enabled: false
216 dcaemod:
217   enabled: false
218 pnda:
219   enabled: false
220 dmaap:
221   enabled: false
222 esr:
223   enabled: false
224 # Today, "logging" chart that perform the central part of logging must also be
225 # enabled in order to make it work. So `logging.enabled` must have the same
226 # value than centralizedLoggingEnabled
227 log:
228   enabled: *centralizedLogging
229 sniro-emulator:
230   enabled: false
231 oof:
232   enabled: false
233 mariadb-galera:
234   enabled: false
235 msb:
236   enabled: false
237 multicloud:
238   enabled: false
239 nbi:
240   enabled: false
241   config:
242     # openstack configuration
243     openStackRegion: "Yolo"
244     openStackVNFTenantId: "1234"
245 policy:
246   enabled: false
247 pomba:
248   enabled: false
249 portal:
250   enabled: false
251 robot:
252   enabled: false
253   config:
254     # openStackEncryptedPasswordHere should match the encrypted string used in SO and APPC and overridden per environment
255     openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
256 sdc:
257   enabled: false
258 sdnc:
259   enabled: false
260
261   replicaCount: 1
262
263   mysql:
264     replicaCount: 1
265 so:
266   enabled: false
267
268   replicaCount: 1
269
270   liveness:
271     # necessary to disable liveness probe when setting breakpoints
272     # in debugger so K8s doesn't restart unresponsive container
273     enabled: false
274
275   # so server configuration
276   config:
277     # message router configuration
278     dmaapTopic: "AUTO"
279     # openstack configuration
280     openStackUserName: "vnf_user"
281     openStackRegion: "RegionOne"
282     openStackKeyStoneUrl: "http://1.2.3.4:5000"
283     openStackServiceTenantName: "service"
284     openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
285
286   # configure embedded mariadb
287   mariadb:
288     config:
289       mariadbRootPassword: password
290 uui:
291   enabled: false
292 vfc:
293   enabled: false
294 vid:
295   enabled: false
296 vnfsdk:
297   enabled: false
298 modeling:
299   enabled: false