blob: 15a8045d2f4502191801cd55f6f85a97f27ddac4 [file] [log] [blame]
Alexander Dehn9b797d62020-04-21 09:53:50 +00001# Copyright © 2020 Samsung Electronics, highstreet technologies GmbH
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00002# Copyright © 2017 Amdocs, Bell Canada
Remigiusz Janeczek42177a12020-12-10 13:10:15 +01003# Copyright © 2021 Nokia
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00004#
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
jmac065e2ce2018-03-29 01:18:02 +000017#################################################################
18# Global configuration defaults.
19#################################################################
20global:
21 nodePortPrefix: 302
jmac0e4f7172018-09-07 18:06:43 +000022 nodePortPrefixExt: 304
jmac065e2ce2018-03-29 01:18:02 +000023 persistence:
24 mountPath: /dockerdata-nfs
Agarwal, Ruchira (ra1926)ec7c75e2019-10-01 17:36:24 +000025 aafEnabled: true
Maciej Wereski537d71e2021-11-03 13:31:44 +000026 centralizedLoggingEnabled: true
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +010027 mariadbGalera:
28 #This flag allows SO to instantiate its own mariadb-galera cluster
29 #If shared instance is used, this chart assumes that DB already exists
30 localCluster: false
31 service: mariadb-galera
32 internalPort: 3306
33 nameOverride: mariadb-galera
34
35#################################################################
36# Secrets metaconfig
37#################################################################
38secrets:
39 - uid: db-root-password
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010040 name: &rootDbSecret '{{ include "common.release" . }}-sdnc-db-root-password'
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +010041 type: password
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010042 # If we're using shared mariadb, we need to use the secret name (second
43 # part).
44 # If not, we do the same trick than for user db secret hat allows you
45 # override this secret using external one with the same field that is used
46 # to pass this to subchart.
Krzysztof Opasiakab7a6bb2020-03-24 03:30:51 +010047 externalSecret: '{{ .Values.global.mariadbGalera.localCluster |
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010048 ternary ((hasSuffix "sdnc-db-root-password" (index .Values "mariadb-galera" "rootUser" "externalSecret")) |
49 ternary
50 ""
51 (tpl (default "" (index .Values "mariadb-galera" "rootUser" "externalSecret")) .))
52 (include "common.mariadb.secret.rootPassSecretName"
53 (dict "dot" .
54 "chartName" .Values.global.mariadbGalera.nameOverride)) }}'
55 password: '{{ (index .Values "mariadb-galera" "rootUser" "password") }}'
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +010056 - uid: db-secret
57 name: &dbSecretName '{{ include "common.release" . }}-sdnc-db-secret'
58 type: basicAuth
59 # This is a nasty trick that allows you override this secret using external one
60 # with the same field that is used to pass this to subchart
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010061 externalSecret: '{{ (hasSuffix "sdnc-db-secret" (index .Values "mariadb-galera" "db" "externalSecret")) |
62 ternary
63 ""
64 (tpl (default "" (index .Values "mariadb-galera" "db" "externalSecret")) .) }}'
65 login: '{{ index .Values "mariadb-galera" "db" "user" }}'
66 password: '{{ index .Values "mariadb-galera" "db" "password" }}'
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +010067 - uid: odl-creds
68 name: &odlCredsSecretName '{{ include "common.release" . }}-sdnc-odl-creds'
69 type: basicAuth
70 externalSecret: '{{ .Values.config.odlCredsExternalSecret }}'
71 login: '{{ .Values.config.odlUser }}'
72 password: '{{ .Values.config.odlPassword }}'
73 # For now this is left hardcoded but should be revisited in a future
74 passwordPolicy: required
demskeq89d26b332021-01-14 16:45:28 +010075 - uid: dmaap-proxy-creds
76 name: &dmaapProxyCredsSecretName '{{ include "common.release" . }}-sdnc-dmaap-proxy-creds'
77 type: basicAuth
78 externalSecret: '{{ .Values.config.dmaapProxyCredsExternalSecret }}'
79 login: '{{ .Values.config.sdnr.dmaapProxy.user }}'
80 password: '{{ .Values.config.sdnr.dmaapProxy.password }}'
81 # For now this is left hardcoded but should be revisited in a future
82 passwordPolicy: required
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +010083 - uid: netbox-apikey
84 type: password
85 externalSecret: '{{ .Values.config.netboxApikeyExternalSecret }}'
86 password: '{{ .Values.config.netboxApikey }}'
87 passwordPolicy: required
Dan Timoney9e310e72021-02-23 11:25:39 -050088 - uid: aai-truststore-password
89 type: password
90 externalSecret: '{{ .Values.config.aaiTruststoreExternalSecret }}'
91 password: '{{ .Values.config.aaiTruststorePassword }}'
92 passwordPolicy: required
93 - uid: ansible-truststore-password
94 type: password
95 externalSecret: '{{ .Values.config.ansibleTruststoreExternalSecret }}'
96 password: '{{ .Values.config.ansibleTruststorePassword }}'
97 passwordPolicy: required
98 - uid: truststore-password
99 type: password
100 externalSecret: '{{ .Values.config.truststoreExternalSecret }}'
101 password: '{{ .Values.config.truststorePassword }}'
102 passwordPolicy: required
103 - uid: keystore-password
104 type: password
105 externalSecret: '{{ .Values.config.keystoreExternalSecret }}'
106 password: '{{ .Values.config.keystorePassword }}'
107 passwordPolicy: required
108 - uid: dmaap-authkey
109 type: password
110 externalSecret: '{{ .Values.config.dmaapAuthKeyExternalSecret }}'
111 password: '{{ .Values.config.dmaapAuthKey }}'
112 passwordPolicy: required
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100113 - uid: aai-user-creds
114 type: basicAuth
115 externalSecret: '{{ .Values.config.aaiCredsExternalSecret}}'
116 login: '{{ .Values.config.aaiUser }}'
117 password: '{{ .Values.config.aaiPassword }}'
118 passwordPolicy: required
Dan Timoney9e310e72021-02-23 11:25:39 -0500119 - uid: so-user-creds
120 type: basicAuth
121 externalSecret: '{{ .Values.config.soCredsExternalSecret}}'
122 login: '{{ .Values.config.soUser }}'
123 password: '{{ .Values.config.soPassword }}'
124 passwordPolicy: required
125 - uid: neng-user-creds
126 type: basicAuth
127 externalSecret: '{{ .Values.config.nengCredsExternalSecret}}'
128 login: '{{ .Values.config.nengUser }}'
129 password: '{{ .Values.config.nengPassword }}'
130 passwordPolicy: required
131 - uid: cds-user-creds
132 type: basicAuth
133 externalSecret: '{{ .Values.config.cdsCredsExternalSecret}}'
134 login: '{{ .Values.config.cdsUser }}'
135 password: '{{ .Values.config.cdsPassword }}'
136 passwordPolicy: required
137 - uid: honeycomb-user-creds
138 type: basicAuth
139 externalSecret: '{{ .Values.config.honeycombCredsExternalSecret}}'
140 login: '{{ .Values.config.honeycombUser }}'
141 password: '{{ .Values.config.honeycombPassword }}'
142 passwordPolicy: required
143 - uid: dmaap-user-creds
144 type: basicAuth
145 externalSecret: '{{ .Values.config.dmaapCredsExternalSecret}}'
146 login: '{{ .Values.config.dmaapUser }}'
147 password: '{{ .Values.config.dmaapPassword }}'
148 passwordPolicy: required
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100149 - uid: modeling-user-creds
150 type: basicAuth
151 externalSecret: '{{ .Values.config.modelingCredsExternalSecret}}'
152 login: '{{ .Values.config.modelingUser }}'
153 password: '{{ .Values.config.modelingPassword }}'
154 passwordPolicy: required
155 - uid: restconf-creds
156 type: basicAuth
157 externalSecret: '{{ .Values.config.restconfCredsExternalSecret}}'
158 login: '{{ .Values.config.restconfUser }}'
159 password: '{{ .Values.config.restconfPassword }}'
160 passwordPolicy: required
161 - uid: ansible-creds
162 name: &ansibleSecretName '{{ include "common.release" . }}-sdnc-ansible-creds'
163 type: basicAuth
164 externalSecret: '{{ .Values.config.ansibleCredsExternalSecret}}'
165 login: '{{ .Values.config.ansibleUser }}'
166 password: '{{ .Values.config.ansiblePassword }}'
167 passwordPolicy: required
168 - uid: scaleout-creds
169 type: basicAuth
170 externalSecret: '{{ .Values.config.scaleoutCredsExternalSecret}}'
171 login: '{{ .Values.config.scaleoutUser }}'
172 password: '{{ .Values.config.scaleoutPassword }}'
173 passwordPolicy: required
demskeq8b43e92c2021-02-12 15:43:48 +0100174 - uid: oauth-token-secret
175 type: password
176 externalSecret: '{{ ternary (tpl (default "" .Values.config.sdnr.oauth.tokenExternalSecret) .) "oauth-disabled" .Values.config.sdnr.oauth.enabled }}'
177 password: '{{ .Values.config.sdnr.oauth.tokenSecret }}'
178 passwordPolicy: required
179 - uid: keycloak-secret
180 type: password
181 externalSecret: '{{ ternary (tpl (default "" .Values.config.sdnr.oauth.providersSecrets.keycloakExternalSecret) .) "oauth-disabled" .Values.config.sdnr.oauth.enabled }}'
182 password: '{{ .Values.config.sdnr.oauth.providersSecrets.keycloak }}'
183 passwordPolicy: required
184
Jan Malkiewicz0e53c9f2020-12-08 15:08:01 +0100185#################################################################
186# Certificates
187#################################################################
188certificates:
Remigiusz Janeczek42177a12020-12-10 13:10:15 +0100189 - mountPath: /var/custom-certs
190 commonName: sdnc.simpledemo.onap.org
Jan Malkiewicz0e53c9f2020-12-08 15:08:01 +0100191 dnsNames:
192 - sdnc.simpledemo.onap.org
Piotr Marcinkiewicz59571012021-01-12 17:37:08 +0100193 keystore:
194 outputType:
195 - jks
Jan Malkiewicz0e53c9f2020-12-08 15:08:01 +0100196 passwordSecretRef:
Piotr Marcinkiewicz32672932021-03-26 13:06:35 +0100197 create: true
Piotr Marcinkiewicz59571012021-01-12 17:37:08 +0100198 name: sdnc-cmpv2-keystore-password
Jan Malkiewicz0e53c9f2020-12-08 15:08:01 +0100199 key: password
Piotr Marcinkiewicz59571012021-01-12 17:37:08 +0100200 issuer:
201 group: certmanager.onap.org
202 kind: CMPv2Issuer
203 name: cmpv2-issuer-onap
jmac065e2ce2018-03-29 01:18:02 +0000204#################################################################
205# Application configuration defaults.
206#################################################################
207# application images
Alexander Dehn238450f2020-10-27 13:03:53 +0000208
jmac065e2ce2018-03-29 01:18:02 +0000209pullPolicy: Always
Dan Timoney0c528612021-11-03 11:25:32 -0400210image: onap/sdnc-image:2.2.2
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -0400211
jmac065e2ce2018-03-29 01:18:02 +0000212# flag to enable debugging - application support required
213debugEnabled: false
214
215# application configuration
BorislavG5f3b6192018-03-25 18:12:38 +0300216config:
Timoney, Dan (dt5972)ba4d2eb2019-05-07 13:32:42 -0400217 odlUid: 100
218 odlGid: 101
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100219 odlUser: admin
jmaca68f4cb2018-05-10 22:44:19 +0000220 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100221 # odlCredsExternalSecret: some secret
222 netboxApikey: onceuponatimeiplayedwithnetbox20180814
223 # netboxApikeyExternalSecret: some secret
Dan Timoney9e310e72021-02-23 11:25:39 -0500224 aaiTruststorePassword: changeit
225 # aaiTruststoreExternalSecret: some secret
226 ansibleTruststorePassword: changeit
227 # ansibleTruststoreExternalSecret: some secret
228 truststorePassword: adminadmin
229 # truststoreExternalSecret: some secret
230 keystorePassword: adminadmin
231 # keystoreExternalSecret: some secret
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100232 aaiUser: sdnc@sdnc.onap.org
233 aaiPassword: demo123456!
234 # aaiCredsExternalSecret: some secret
Dan Timoney9e310e72021-02-23 11:25:39 -0500235 soUser: sdncaBpmn
236 soPassword: password1$
237 # soCredsExternalSecret: some secret
238 nengUser: ccsdkapps
239 nengPassword: ccsdkapps
240 # nengCredsExternalSecret: some secret
241 cdsUser: ccsdkapps
242 cdsPassword: ccsdkapps
243 # cdsCredsExternalSecret: some secret
244 honeycombUser: admin
245 honeycombPassword: admin
246 # honeycombCredsExternalSecret: some secret
247 dmaapUser: admin
248 dmaapPassword: admin
249 dmaapAuthKey: "fs20cKwalJ6ry4kX:7Hqm6BDZK47IKxGRkOPFk33qMYs="
250 # dmaapCredsExternalSecret: some secret
251 # dmaapAuthKeyExternalSecret: some secret
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100252 modelingUser: ccsdkapps
253 modelingPassword: ccsdkapps
254 # modelingCredsExternalSecret: some secret
255 restconfUser: admin
256 restconfPassword: admin
257 # restconfCredsExternalSecret: some secret
258 scaleoutUser: admin
259 scaleoutPassword: admin
260 # scaleoutExternalSecret: some secret
261 ansibleUser: sdnc
262 ansiblePassword: sdnc
263 # ansibleCredsExternalSecret: some secret
264 dbSdnctlDatabase: &sdncDbName sdnctl
jmac065e2ce2018-03-29 01:18:02 +0000265 enableClustering: true
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -0400266 sdncHome: /opt/onap/sdnc
jmaca68f4cb2018-05-10 22:44:19 +0000267 binDir: /opt/onap/sdnc/bin
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -0400268 etcDir: /opt/onap/sdnc/data
Trevor Tait567ff1e2018-05-01 16:20:54 -0400269 geoEnabled: false
Neha Jain7b0d6c62018-05-17 14:34:49 -0400270# if geoEnabled is set to true here, mysql.geoEnabled must be set to true
Trevor Tait567ff1e2018-05-01 16:20:54 -0400271# if geoEnabled is set to true the following 3 values must be set to their proper values
272 myODLCluster: 127.0.0.1
273 peerODLCluster: 127.0.0.1
Mohammadreza Pasandidehb642ee52018-06-19 15:19:53 -0400274 isPrimaryCluster: true
jmac065e2ce2018-03-29 01:18:02 +0000275 configDir: /opt/onap/sdnc/data/properties
Konrad Bańka5ea1db32020-04-06 14:32:46 +0200276 ccsdkConfigDir: /opt/onap/ccsdk/data/properties
jmac065e2ce2018-03-29 01:18:02 +0000277 dmaapTopic: SUCCESS
jmaca68f4cb2018-05-10 22:44:19 +0000278 dmaapPort: 3904
BorislavG5f3b6192018-03-25 18:12:38 +0300279 logstashServiceName: log-ls
280 logstashPort: 5044
jmac7c434672018-05-11 20:14:17 +0000281 ansibleServiceName: sdnc-ansible-server
282 ansiblePort: 8000
Dan Timoneya98765b2020-09-14 11:57:55 -0400283 javaHome: /opt/java/openjdk
jmac7c434672018-05-11 20:14:17 +0000284
Timoney, Dan (dt5972)58774772019-08-21 16:50:54 -0400285 odl:
286 etcDir: /opt/opendaylight/etc
287 binDir: /opt/opendaylight/bin
Dan Timoneya98765b2020-09-14 11:57:55 -0400288 gcLogDir: /opt/opendaylight/data/log
Timoney, Dan (dt5972)58774772019-08-21 16:50:54 -0400289 salConfigDir: /opt/opendaylight/system/org/opendaylight/controller/sal-clustering-config
Dan Timoney9520e7c2021-01-12 11:10:58 -0500290 salConfigVersion: 1.10.4
Timoney, Dan (dt5972)58774772019-08-21 16:50:54 -0400291 akka:
292 seedNodeTimeout: 15s
293 circuitBreaker:
294 maxFailures: 10
295 callTimeout: 90s
296 resetTimeout: 30s
297 recoveryEventTimeout: 90s
298 datastore:
299 persistentActorRestartMinBackoffInSeconds: 10
300 persistentActorRestartMaxBackoffInSeconds: 40
301 persistentActorRestartResetBackoffInSeconds: 20
302 shardTransactionCommitTimeoutInSeconds: 120
303 shardIsolatedLeaderCheckIntervalInMillis: 30000
304 operationTimeoutInSeconds: 120
305 javaOptions:
306 maxGCPauseMillis: 100
307 parallelGCThreads : 3
Dan Timoneya98765b2020-09-14 11:57:55 -0400308 numberGCLogFiles: 10
309 minMemory: 512m
310 maxMemory: 2048m
311 gcLogOptions: ""
312 # Next line enables gc logging
313 # gcLogOptions: "-Xlog:gc=trace:file={{.Values.config.odl.gcLogDir}}/gc-%t.log}:time,level,tags:filecount={{.Values.config.odl.javaOptions.numberGCLogFiles}}"
Alexander Dehn9b797d62020-04-21 09:53:50 +0000314 # enables sdnr functionality
315 sdnr:
Alexander Dehn5c1105e2020-09-14 20:55:56 +0000316 enabled: true
Alexander Dehn9b797d62020-04-21 09:53:50 +0000317 # mode: web - SDNC contains device manager only plus dedicated webserver service for ODLUX (default),
318 # mode: dm - SDNC contains sdnr device manager + ODLUX components
319 mode: dm
320 # sdnronly: true starts sdnc container with odl and sdnrwt features only
321 sdnronly: false
322 sdnrdbTrustAllCerts: true
323 mountpointRegistrarEnabled: false
324 mountpointStateProviderEnabled: false
demskeq827854662021-04-08 14:49:47 +0200325 netconfCallHome:
326 enabled: true
demskeq8b43e92c2021-02-12 15:43:48 +0100327 #
demskeq89d26b332021-01-14 16:45:28 +0100328 # enable and set dmaap-proxy for mountpointRegistrar
329 dmaapProxy:
330 enabled: false
331 usepwd: true
332 user: addUserHere
333 password: addPasswordHere
334 url: addProxyUrlHere
demskeq8b43e92c2021-02-12 15:43:48 +0100335 oauth:
336 enabled: false
337 tokenIssuer: ONAP SDNC
338 tokenSecret: secret
339 supportOdlusers: true
340 redirectUri: null
341 publicUrl: none
342 odluxRbac:
343 enabled: true
344 # example definition for a oauth provider
345 providersSecrets:
346 keycloak: d8d7ed52-0691-4353-9ac6-5383e72e9c46
347 providers:
348 - id: keycloak
349 type: KEYCLOAK
350 host: http://keycloak:8080
351 clientId: odlux.app
352 secret: ${KEYCLOAK_SECRET}
353 scope: openid
354 title: ONAP Keycloak Provider
355 roleMapping:
356 mykeycloak: admin
Timoney, Dan (dt5972)58774772019-08-21 16:50:54 -0400357
jmac065e2ce2018-03-29 01:18:02 +0000358# dependency / sub-chart configuration
Krzysztof Opasiak8ab45472020-05-12 12:53:50 +0200359certInitializer:
360 nameOverride: sdnc-cert-initializer
Jozsef Csongvai9d4d5af2020-07-13 11:10:25 -0400361 truststoreMountpath: /opt/onap/sdnc/data/stores
Krzysztof Opasiak6bab0cc2020-04-29 00:55:47 +0200362 fqdn: "sdnc"
363 app_ns: "org.osaaf.aaf"
364 fqi: "sdnc@sdnc.onap.org"
365 fqi_namespace: org.onap.sdnc
366 public_fqdn: "sdnc.onap.org"
367 aafDeployFqi: "deployer@people.osaaf.org"
368 aafDeployPass: demo123456!
369 cadi_latitude: "38.0"
370 cadi_longitude: "-72.0"
Krzysztof Opasiak6bab0cc2020-04-29 00:55:47 +0200371 credsPath: /opt/app/osaaf/local
Krzysztof Opasiak8ab45472020-05-12 12:53:50 +0200372 aaf_add_config: >
373 cd /opt/app/osaaf/local;
374 /opt/app/aaf_config/bin/agent.sh local showpass {{.Values.fqi}} {{ .Values.fqdn }} | grep cadi_keystore_password= | cut -d= -f 2 > {{ .Values.credsPath }}/.pass 2>&1
Agarwal, Ruchira (ra1926)ec7c75e2019-10-01 17:36:24 +0000375
Alexander Dehn9b797d62020-04-21 09:53:50 +0000376# dependency / sub-chart configuration
377network-name-gen:
378 enabled: true
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100379mariadb-galera: &mariadbGalera
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100380 nameOverride: &sdnc-db sdnc-db
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100381 config: &mariadbGaleraConfig
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100382 rootPasswordExternalSecret: *rootDbSecret
383 userName: &dbUser sdnctl
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100384 userCredentialsExternalSecret: *dbSecretName
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100385 rootUser:
386 externalSecret: *rootDbSecret
387 db:
388 user: *dbUser
389 externalSecret: *dbSecretName
jmac065e2ce2018-03-29 01:18:02 +0000390 service:
391 name: sdnc-dbhost
jmac065e2ce2018-03-29 01:18:02 +0000392 sdnctlPrefix: sdnc
393 persistence:
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +0000394 mountSubPath: sdnc/mariadb-galera
jmac065e2ce2018-03-29 01:18:02 +0000395 enabled: true
jmac065e2ce2018-03-29 01:18:02 +0000396 replicaCount: 1
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100397 serviceAccount:
398 nameOverride: *sdnc-db
jmac065e2ce2018-03-29 01:18:02 +0000399
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100400cds:
401 enabled: false
402
403dmaap-listener:
Alexander Dehn9b797d62020-04-21 09:53:50 +0000404 enabled: true
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100405 nameOverride: sdnc-dmaap-listener
406 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100407 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100408 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100409 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100410 mysqlDatabase: *sdncDbName
411 config:
412 sdncChartName: sdnc
413 dmaapPort: 3904
414 sdncPort: 8282
415 configDir: /opt/onap/sdnc/data/properties
416 odlCredsExternalSecret: *odlCredsSecretName
417
418ueb-listener:
Alexander Dehn9b797d62020-04-21 09:53:50 +0000419 enabled: true
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100420 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100421 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100422 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100423 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100424 mysqlDatabase: *sdncDbName
425 nameOverride: sdnc-ueb-listener
426 config:
427 sdncPort: 8282
428 sdncChartName: sdnc
429 configDir: /opt/onap/sdnc/data/properties
430 odlCredsExternalSecret: *odlCredsSecretName
431
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100432sdnc-ansible-server:
Alexander Dehn9b797d62020-04-21 09:53:50 +0000433 enabled: true
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100434 config:
435 restCredsExternalSecret: *ansibleSecretName
436 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100437 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100438 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100439 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100440 mysqlDatabase: ansible
441 service:
442 name: sdnc-ansible-server
443 internalPort: 8000
444
jmac065e2ce2018-03-29 01:18:02 +0000445dgbuilder:
Alexander Dehn9b797d62020-04-21 09:53:50 +0000446 enabled: true
jmac065e2ce2018-03-29 01:18:02 +0000447 nameOverride: sdnc-dgbuilder
Dan Timoneycb0a81f2020-07-15 17:31:43 -0400448 certInitializer:
449 nameOverride: sdnc-dgbuilder-cert-initializer
jmac065e2ce2018-03-29 01:18:02 +0000450 config:
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100451 db:
452 dbName: *sdncDbName
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100453 rootPasswordExternalSecret: '{{ .Values.global.mariadbGalera.localCluster |
454 ternary
455 (printf "%s-sdnc-db-root-password" (include "common.release" .))
456 (include "common.mariadb.secret.rootPassSecretName"
457 (dict "dot" . "chartName" "mariadb-galera")) }}'
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100458 userCredentialsExternalSecret: *dbSecretName
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +0000459 dbPodName: mariadb-galera
460 dbServiceName: mariadb-galera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100461 # This should be revisited and changed to plain text
jmac70863e12018-05-16 14:53:03 +0000462 dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
farida azmydc9aef02021-04-07 17:07:09 +0200463 serviceAccount:
464 nameOverride: sdnc-dgbuilder
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100465 mariadb-galera:
jmac065e2ce2018-03-29 01:18:02 +0000466 service:
BorislavG1ffbd992018-04-24 07:56:27 +0000467 name: sdnc-dgbuilder
jmac065e2ce2018-03-29 01:18:02 +0000468 nodePort: "03"
469
Sylvain Desbureauxe54644e2020-05-04 11:45:16 +0200470 ingress:
471 enabled: false
472 service:
473 - baseaddr: "sdnc-dgbuilder"
474 name: "sdnc-dgbuilder"
475 port: 3000
Alexander Dehn9b797d62020-04-21 09:53:50 +0000476 - baseaddr: "sdnc-web-service"
477 name: "sdnc-web-service"
478 port: 8443
Sylvain Desbureauxe54644e2020-05-04 11:45:16 +0200479 config:
480 ssl: "redirect"
481
Alexander Dehn9b797d62020-04-21 09:53:50 +0000482
483
Alexander Dehnab86ec12020-02-05 14:38:54 +0000484# local elasticsearch cluster
485localElasticCluster: true
486elasticsearch:
Sylvain Desbureaux829344b2020-11-19 17:07:26 +0100487 nameOverride: &elasticSearchName sdnrdb
Alexander Dehnab86ec12020-02-05 14:38:54 +0000488 name: sdnrdb-cluster
Krzysztof Opasiakc6152ce2020-05-09 01:43:08 +0200489 certInitializer:
Alexander Dehnab86ec12020-02-05 14:38:54 +0000490 fqdn: "sdnc"
491 fqi_namespace: org.onap.sdnc
492 fqi: "sdnc@sdnc.onap.org"
493 service:
Sylvain Desbureaux829344b2020-11-19 17:07:26 +0100494 name: *elasticSearchName
Alexander Dehnab86ec12020-02-05 14:38:54 +0000495 master:
496 replicaCount: 3
497 # dedicatednode: "yes"
498 # working as master node only, in this case increase replicaCount for elasticsearch-data
499 # dedicatednode: "no"
500 # handles master and data node functionality
501 dedicatednode: "no"
Sylvain Desbureaux829344b2020-11-19 17:07:26 +0100502 nameOverride: *elasticSearchName
demskeq8eb56da72021-02-19 12:11:48 +0100503 cluster_name: sdnrdb-cluster
Alexander Dehn9b797d62020-04-21 09:53:50 +0000504# enable
505sdnc-web:
Alexander Dehn8789a722020-10-16 14:29:05 +0000506 enabled: true
jmac065e2ce2018-03-29 01:18:02 +0000507# default number of instances
508replicaCount: 1
509
510nodeSelector: {}
511
512affinity: {}
513
514# probe configuration parameters
515liveness:
516 initialDelaySeconds: 10
517 periodSeconds: 10
518 # necessary to disable liveness probe when setting breakpoints
519 # in debugger so K8s doesn't restart unresponsive container
520 enabled: true
521
522readiness:
523 initialDelaySeconds: 10
524 periodSeconds: 10
525
526service:
527 type: NodePort
528 name: sdnc
BorislavG1ffbd992018-04-24 07:56:27 +0000529 portName: sdnc
jmac065e2ce2018-03-29 01:18:02 +0000530 internalPort: 8181
531 internalPort2: 8101
532 internalPort3: 8080
Timoney, Dan (dt5972)c6de2692019-08-14 14:22:37 -0400533 internalPort4: 8443
Mohammadreza Pasandidehb756fb72018-04-03 10:06:45 -0400534
jmac065e2ce2018-03-29 01:18:02 +0000535 #port
536 externalPort: 8282
jmac065e2ce2018-03-29 01:18:02 +0000537
538 externalPort2: 8202
jmac065e2ce2018-03-29 01:18:02 +0000539
540 externalPort3: 8280
jmac065e2ce2018-03-29 01:18:02 +0000541
jmaca68f4cb2018-05-10 22:44:19 +0000542 externalPort4: 8443
543 nodePort4: 67
544
jmac065e2ce2018-03-29 01:18:02 +0000545 clusterPort: 2550
Mohammadreza Pasandidehb756fb72018-04-03 10:06:45 -0400546 clusterPort2: 2650
547 clusterPort3: 2681
548
549 geoNodePort1: 61
550 geoNodePort2: 62
551 geoNodePort3: 63
552 geoNodePort4: 64
553 geoNodePort5: 65
554 geoNodePort6: 66
jmac065e2ce2018-03-29 01:18:02 +0000555
demskeq827854662021-04-08 14:49:47 +0200556 callHomePort: 6666
557 callHomeNodePort: 66
558
jmac8d6dc962018-04-26 14:26:55 +0000559## Persist data to a persitent volume
560persistence:
561 enabled: true
562
563 ## A manually managed Persistent Volume and Claim
564 ## Requires persistence.enabled: true
565 ## If defined, PVC must be created manually before volume will be bound
566 # existingClaim:
567 volumeReclaimPolicy: Retain
568
569 ## database data Persistent Volume Storage Class
570 ## If defined, storageClassName: <storageClass>
571 ## If set to "-", storageClassName: "", which disables dynamic provisioning
572 ## If undefined (the default) or set to null, no storageClassName spec is
573 ## set, choosing the default provisioner. (gp2 on AWS, standard on
574 ## GKE, AWS & OpenStack)
575 accessMode: ReadWriteOnce
576 size: 1Gi
577 mountPath: /dockerdata-nfs
578 mountSubPath: sdnc/mdsal
Dan Timoney2ee28a52021-01-15 16:39:50 -0500579 mdsalPath: /opt/opendaylight/mdsal
demskeq8a86300a2021-02-10 09:53:33 +0100580 daeximPath: /opt/opendaylight/mdsal/daexim
Satoshi Fujii31b8b432021-08-28 12:12:36 +0000581 journalPath: /opt/opendaylight/segmented-journal
Dan Timoney2ee28a52021-01-15 16:39:50 -0500582 snapshotsPath: /opt/opendaylight/snapshots
jmac8d6dc962018-04-26 14:26:55 +0000583
egernug27578332020-03-26 10:27:55 +0000584certpersistence:
585 enabled: true
586
587 ## A manually managed Persistent Volume and Claim
588 ## Requires persistence.enabled: true
589 ## If defined, PVC must be created manually before volume will be bound
590 # existingClaim:
591
592 volumeReclaimPolicy: Retain
593 accessMode: ReadWriteOnce
594 size: 50Mi
595 mountPath: /dockerdata-nfs
596 mountSubPath: sdnc/certs
597 certPath: /opt/app/osaaf
598 ##storageClass: "manual"
599
jmac065e2ce2018-03-29 01:18:02 +0000600ingress:
601 enabled: false
Lucjan Bryndza08448402019-11-27 14:26:54 +0100602 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +0000603 - baseaddr: "sdnc.api"
Lucjan Bryndza08448402019-11-27 14:26:54 +0100604 name: "sdnc"
605 port: 8443
606 config:
607 ssl: "redirect"
jmac065e2ce2018-03-29 01:18:02 +0000608
toshrajbhardwaj72b5f0f2018-09-13 02:45:22 +0000609#Resource Limit flavor -By Default using small
610flavor: small
611#segregation for different envionment (Small and Large)
612
613resources:
Mandeep Khindade045712018-09-19 18:11:57 +0000614 small:
615 limits:
616 cpu: 2
617 memory: 4Gi
618 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000619 cpu: 1
620 memory: 2Gi
Mandeep Khindade045712018-09-19 18:11:57 +0000621 large:
622 limits:
623 cpu: 4
624 memory: 8Gi
625 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000626 cpu: 2
627 memory: 4Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000628 unlimited: {}
farida azmy32c5ed82021-08-04 14:46:09 +0200629
630#Pods Service Account
631serviceAccount:
632 nameOverride: sdnc
633 roles:
634 - read
Maciej Wereski537d71e2021-11-03 13:31:44 +0000635
636#Log configuration
637log:
638 path: /var/log/onap