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