Merge "[COMMON] new logConfiguration chart"
[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.2
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   # configuration to set log level to all components (the one that are using
94   # "common.log.level" to set this)
95   # can be overrided per components by setting logConfiguration.logLevelOverride
96   # to the desired value
97   # logLevel: DEBUG
98
99   #Global ingress configuration
100   ingress:
101     enabled: false
102     virtualhost:
103         enabled: true
104         baseurl: "simpledemo.onap.org"
105
106   # Global Service Mesh configuration
107   # POC Mode, don't use it in production
108   serviceMesh:
109     enabled: false
110     tls: true
111
112   # Disabling AAF
113   # POC Mode, only for use in development environment
114   # Keep it enabled in production
115   aafEnabled: true
116   aafAgentImage: onap/aaf/aaf_agent:2.1.20
117
118   # Enabling CMPv2
119   cmpv2Enabled: true
120   aaf:
121     certServiceClient:
122       image: onap/org.onap.aaf.certservice.aaf-certservice-client:1.2.0
123       secret:
124         name: aaf-cert-service-client-tls-secret
125         mountPath: /etc/onap/aaf/certservice/certs/
126       envVariables:
127         # Certificate related
128         cmpv2Organization: "Linux-Foundation"
129         cmpv2OrganizationalUnit: "ONAP"
130         cmpv2Location: "San-Francisco"
131         cmpv2State: "California"
132         cmpv2Country: "US"
133         # Client configuration related
134         caName: "RA"
135         requestURL: "https://aaf-cert-service:8443/v1/certificate/"
136         requestTimeout: "30000"
137         keystorePath: "/etc/onap/aaf/certservice/certs/certServiceClient-keystore.jks"
138         keystorePassword: "secret"
139         truststorePath: "/etc/onap/aaf/certservice/certs/truststore.jks"
140         truststorePassword: "secret"
141
142   # TLS
143   # Set to false if you want to disable TLS for NodePorts. Be aware that this
144   # will loosen your security.
145   # if set this element will force or not tls even if serviceMesh.tls is set.
146   # tlsEnabled: false
147
148   # Logging
149   # Currently, centralized logging is not in best shape so it's disabled by
150   # default
151   centralizedLoggingEnabled: &centralizedLogging false
152
153
154 # Example of specific for the components where you want to disable TLS only for
155 # it:
156 # if set this element will force or not tls even if global.serviceMesh.tls and
157 # global.tlsEnabled is set otherwise.
158 # robot:
159 #   tlsOverride: false
160
161   # Global storage configuration
162   #    Set to "-" for default, or with the name of the storage class
163   #    Please note that if you use AAF, CDS, SDC, Netbox or Robot, you need a
164   #    storageclass with RWX capabilities (or set specific configuration for these
165   #    components).
166   # persistence:
167   #   storageClass: "-"
168
169 # Example of specific for the components which requires RWX:
170 # aaf:
171 #   persistence:
172 #     storageClassOverride: "My_RWX_Storage_Class"
173 # contrib:
174 #   netbox:
175 #     netbox-app:
176 #       persistence:
177 #         storageClassOverride: "My_RWX_Storage_Class"
178 # cds:
179 #   cds-blueprints-processor:
180 #     persistence:
181 #       storageClassOverride: "My_RWX_Storage_Class"
182 # sdc:
183 #   sdc-onboarding-be:
184 #     persistence:
185 #       storageClassOverride: "My_RWX_Storage_Class"
186
187 #################################################################
188 # Enable/disable and configure helm charts (ie. applications)
189 # to customize the ONAP deployment.
190 #################################################################
191 aaf:
192   enabled: false
193 aai:
194   enabled: false
195 appc:
196   enabled: false
197   config:
198     openStackType: OpenStackProvider
199     openStackName: OpenStack
200     openStackKeyStoneUrl: http://localhost:8181/apidoc/explorer/index.html
201     openStackServiceTenantName: default
202     openStackDomain: default
203     openStackUserName: admin
204     openStackEncryptedPassword: admin
205 cassandra:
206   enabled: false
207 cds:
208   enabled: false
209 clamp:
210   enabled: false
211 cli:
212   enabled: false
213 consul:
214   enabled: false
215 # Today, "contrib" chart that hosting these components must also be enabled
216 # in order to make it work. So `contrib.enabled` must have the same value than
217 # addTestingComponents
218 contrib:
219   enabled: *testing
220 dcaegen2:
221   enabled: false
222 dcaemod:
223   enabled: false
224 pnda:
225   enabled: false
226 dmaap:
227   enabled: false
228 esr:
229   enabled: false
230 # Today, "logging" chart that perform the central part of logging must also be
231 # enabled in order to make it work. So `logging.enabled` must have the same
232 # value than centralizedLoggingEnabled
233 log:
234   enabled: *centralizedLogging
235 sniro-emulator:
236   enabled: false
237 oof:
238   enabled: false
239 mariadb-galera:
240   enabled: false
241 msb:
242   enabled: false
243 multicloud:
244   enabled: false
245 nbi:
246   enabled: false
247   config:
248     # openstack configuration
249     openStackRegion: "Yolo"
250     openStackVNFTenantId: "1234"
251 policy:
252   enabled: false
253 pomba:
254   enabled: false
255 portal:
256   enabled: false
257 robot:
258   enabled: false
259   config:
260     # openStackEncryptedPasswordHere should match the encrypted string used in SO and APPC and overridden per environment
261     openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
262 sdc:
263   enabled: false
264 sdnc:
265   enabled: false
266
267   replicaCount: 1
268
269   mysql:
270     replicaCount: 1
271 so:
272   enabled: false
273
274   replicaCount: 1
275
276   liveness:
277     # necessary to disable liveness probe when setting breakpoints
278     # in debugger so K8s doesn't restart unresponsive container
279     enabled: false
280
281   # so server configuration
282   config:
283     # message router configuration
284     dmaapTopic: "AUTO"
285     # openstack configuration
286     openStackUserName: "vnf_user"
287     openStackRegion: "RegionOne"
288     openStackKeyStoneUrl: "http://1.2.3.4:5000"
289     openStackServiceTenantName: "service"
290     openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
291
292   # configure embedded mariadb
293   mariadb:
294     config:
295       mariadbRootPassword: password
296 uui:
297   enabled: false
298 vfc:
299   enabled: false
300 vid:
301   enabled: false
302 vnfsdk:
303   enabled: false
304 modeling:
305   enabled: false