1 # Copyright © 2020 Samsung Electronics, highstreet technologies GmbH
2 # Copyright © 2017 Amdocs, Bell Canada
3 # Copyright © 2021 Nokia
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
9 # http://www.apache.org/licenses/LICENSE-2.0
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.
17 #################################################################
18 # Global configuration defaults.
19 #################################################################
22 nodePortPrefixExt: 304
24 mountPath: /dockerdata-nfs
27 #This flag allows SO to instantiate its own mariadb-galera cluster
28 #If shared instance is used, this chart assumes that DB already exists
30 service: mariadb-galera
32 nameOverride: mariadb-galera
33 # Enabling CMPv2 with CertManager
34 CMPv2CertManagerIntegration: false
36 #################################################################
38 #################################################################
40 - uid: db-root-password
41 name: &rootDbSecret '{{ include "common.release" . }}-sdnc-db-root-password'
43 # If we're using shared mariadb, we need to use the secret name (second
45 # If not, we do the same trick than for user db secret hat allows you
46 # override this secret using external one with the same field that is used
47 # to pass this to subchart.
48 externalSecret: '{{ .Values.global.mariadbGalera.localCluster |
49 ternary ((hasSuffix "sdnc-db-root-password" (index .Values "mariadb-galera" "rootUser" "externalSecret")) |
52 (tpl (default "" (index .Values "mariadb-galera" "rootUser" "externalSecret")) .))
53 (include "common.mariadb.secret.rootPassSecretName"
55 "chartName" .Values.global.mariadbGalera.nameOverride)) }}'
56 password: '{{ (index .Values "mariadb-galera" "rootUser" "password") }}'
58 name: &dbSecretName '{{ include "common.release" . }}-sdnc-db-secret'
60 # This is a nasty trick that allows you override this secret using external one
61 # with the same field that is used to pass this to subchart
62 externalSecret: '{{ (hasSuffix "sdnc-db-secret" (index .Values "mariadb-galera" "db" "externalSecret")) |
65 (tpl (default "" (index .Values "mariadb-galera" "db" "externalSecret")) .) }}'
66 login: '{{ index .Values "mariadb-galera" "db" "user" }}'
67 password: '{{ index .Values "mariadb-galera" "db" "password" }}'
69 name: &odlCredsSecretName '{{ include "common.release" . }}-sdnc-odl-creds'
71 externalSecret: '{{ .Values.config.odlCredsExternalSecret }}'
72 login: '{{ .Values.config.odlUser }}'
73 password: '{{ .Values.config.odlPassword }}'
74 # For now this is left hardcoded but should be revisited in a future
75 passwordPolicy: required
76 - uid: dmaap-proxy-creds
77 name: &dmaapProxyCredsSecretName '{{ include "common.release" . }}-sdnc-dmaap-proxy-creds'
79 externalSecret: '{{ .Values.config.dmaapProxyCredsExternalSecret }}'
80 login: '{{ .Values.config.sdnr.dmaapProxy.user }}'
81 password: '{{ .Values.config.sdnr.dmaapProxy.password }}'
82 # For now this is left hardcoded but should be revisited in a future
83 passwordPolicy: required
86 externalSecret: '{{ .Values.config.netboxApikeyExternalSecret }}'
87 password: '{{ .Values.config.netboxApikey }}'
88 passwordPolicy: required
89 - uid: aai-truststore-password
91 externalSecret: '{{ .Values.config.aaiTruststoreExternalSecret }}'
92 password: '{{ .Values.config.aaiTruststorePassword }}'
93 passwordPolicy: required
94 - uid: ansible-truststore-password
96 externalSecret: '{{ .Values.config.ansibleTruststoreExternalSecret }}'
97 password: '{{ .Values.config.ansibleTruststorePassword }}'
98 passwordPolicy: required
99 - uid: truststore-password
101 externalSecret: '{{ .Values.config.truststoreExternalSecret }}'
102 password: '{{ .Values.config.truststorePassword }}'
103 passwordPolicy: required
104 - uid: keystore-password
106 externalSecret: '{{ .Values.config.keystoreExternalSecret }}'
107 password: '{{ .Values.config.keystorePassword }}'
108 passwordPolicy: required
111 externalSecret: '{{ .Values.config.dmaapAuthKeyExternalSecret }}'
112 password: '{{ .Values.config.dmaapAuthKey }}'
113 passwordPolicy: required
114 - uid: aai-user-creds
116 externalSecret: '{{ .Values.config.aaiCredsExternalSecret}}'
117 login: '{{ .Values.config.aaiUser }}'
118 password: '{{ .Values.config.aaiPassword }}'
119 passwordPolicy: required
122 externalSecret: '{{ .Values.config.soCredsExternalSecret}}'
123 login: '{{ .Values.config.soUser }}'
124 password: '{{ .Values.config.soPassword }}'
125 passwordPolicy: required
126 - uid: neng-user-creds
128 externalSecret: '{{ .Values.config.nengCredsExternalSecret}}'
129 login: '{{ .Values.config.nengUser }}'
130 password: '{{ .Values.config.nengPassword }}'
131 passwordPolicy: required
132 - uid: cds-user-creds
134 externalSecret: '{{ .Values.config.cdsCredsExternalSecret}}'
135 login: '{{ .Values.config.cdsUser }}'
136 password: '{{ .Values.config.cdsPassword }}'
137 passwordPolicy: required
138 - uid: honeycomb-user-creds
140 externalSecret: '{{ .Values.config.honeycombCredsExternalSecret}}'
141 login: '{{ .Values.config.honeycombUser }}'
142 password: '{{ .Values.config.honeycombPassword }}'
143 passwordPolicy: required
144 - uid: dmaap-user-creds
146 externalSecret: '{{ .Values.config.dmaapCredsExternalSecret}}'
147 login: '{{ .Values.config.dmaapUser }}'
148 password: '{{ .Values.config.dmaapPassword }}'
149 passwordPolicy: required
150 - uid: modeling-user-creds
152 externalSecret: '{{ .Values.config.modelingCredsExternalSecret}}'
153 login: '{{ .Values.config.modelingUser }}'
154 password: '{{ .Values.config.modelingPassword }}'
155 passwordPolicy: required
156 - uid: restconf-creds
158 externalSecret: '{{ .Values.config.restconfCredsExternalSecret}}'
159 login: '{{ .Values.config.restconfUser }}'
160 password: '{{ .Values.config.restconfPassword }}'
161 passwordPolicy: required
163 name: &ansibleSecretName '{{ include "common.release" . }}-sdnc-ansible-creds'
165 externalSecret: '{{ .Values.config.ansibleCredsExternalSecret}}'
166 login: '{{ .Values.config.ansibleUser }}'
167 password: '{{ .Values.config.ansiblePassword }}'
168 passwordPolicy: required
169 - uid: scaleout-creds
171 externalSecret: '{{ .Values.config.scaleoutCredsExternalSecret}}'
172 login: '{{ .Values.config.scaleoutUser }}'
173 password: '{{ .Values.config.scaleoutPassword }}'
174 passwordPolicy: required
175 - uid: oauth-token-secret
177 externalSecret: '{{ ternary (tpl (default "" .Values.config.sdnr.oauth.tokenExternalSecret) .) "oauth-disabled" .Values.config.sdnr.oauth.enabled }}'
178 password: '{{ .Values.config.sdnr.oauth.tokenSecret }}'
179 passwordPolicy: required
180 - uid: keycloak-secret
182 externalSecret: '{{ ternary (tpl (default "" .Values.config.sdnr.oauth.providersSecrets.keycloakExternalSecret) .) "oauth-disabled" .Values.config.sdnr.oauth.enabled }}'
183 password: '{{ .Values.config.sdnr.oauth.providersSecrets.keycloak }}'
184 passwordPolicy: required
186 #################################################################
188 #################################################################
190 - mountPath: /var/custom-certs
191 commonName: sdnc.simpledemo.onap.org
193 - sdnc.simpledemo.onap.org
199 name: sdnc-cmpv2-keystore-password
202 group: certmanager.onap.org
204 name: cmpv2-issuer-onap
205 #################################################################
206 # Application configuration defaults.
207 #################################################################
211 image: onap/sdnc-image:2.1.5
213 # flag to enable debugging - application support required
216 # application configuration
221 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
222 # odlCredsExternalSecret: some secret
223 netboxApikey: onceuponatimeiplayedwithnetbox20180814
224 # netboxApikeyExternalSecret: some secret
225 aaiTruststorePassword: changeit
226 # aaiTruststoreExternalSecret: some secret
227 ansibleTruststorePassword: changeit
228 # ansibleTruststoreExternalSecret: some secret
229 truststorePassword: adminadmin
230 # truststoreExternalSecret: some secret
231 keystorePassword: adminadmin
232 # keystoreExternalSecret: some secret
233 aaiUser: sdnc@sdnc.onap.org
234 aaiPassword: demo123456!
235 # aaiCredsExternalSecret: some secret
237 soPassword: password1$
238 # soCredsExternalSecret: some secret
240 nengPassword: ccsdkapps
241 # nengCredsExternalSecret: some secret
243 cdsPassword: ccsdkapps
244 # cdsCredsExternalSecret: some secret
246 honeycombPassword: admin
247 # honeycombCredsExternalSecret: some secret
250 dmaapAuthKey: "fs20cKwalJ6ry4kX:7Hqm6BDZK47IKxGRkOPFk33qMYs="
251 # dmaapCredsExternalSecret: some secret
252 # dmaapAuthKeyExternalSecret: some secret
253 modelingUser: ccsdkapps
254 modelingPassword: ccsdkapps
255 # modelingCredsExternalSecret: some secret
257 restconfPassword: admin
258 # restconfCredsExternalSecret: some secret
260 scaleoutPassword: admin
261 # scaleoutExternalSecret: some secret
263 ansiblePassword: sdnc
264 # ansibleCredsExternalSecret: some secret
265 dbSdnctlDatabase: &sdncDbName sdnctl
266 enableClustering: true
267 sdncHome: /opt/onap/sdnc
268 binDir: /opt/onap/sdnc/bin
269 etcDir: /opt/onap/sdnc/data
271 # if geoEnabled is set to true here, mysql.geoEnabled must be set to true
272 # if geoEnabled is set to true the following 3 values must be set to their proper values
273 myODLCluster: 127.0.0.1
274 peerODLCluster: 127.0.0.1
275 isPrimaryCluster: true
276 configDir: /opt/onap/sdnc/data/properties
277 ccsdkConfigDir: /opt/onap/ccsdk/data/properties
280 logstashServiceName: log-ls
282 ansibleServiceName: sdnc-ansible-server
284 javaHome: /opt/java/openjdk
287 etcDir: /opt/opendaylight/etc
288 binDir: /opt/opendaylight/bin
289 gcLogDir: /opt/opendaylight/data/log
290 salConfigDir: /opt/opendaylight/system/org/opendaylight/controller/sal-clustering-config
291 salConfigVersion: 1.10.4
298 recoveryEventTimeout: 90s
300 persistentActorRestartMinBackoffInSeconds: 10
301 persistentActorRestartMaxBackoffInSeconds: 40
302 persistentActorRestartResetBackoffInSeconds: 20
303 shardTransactionCommitTimeoutInSeconds: 120
304 shardIsolatedLeaderCheckIntervalInMillis: 30000
305 operationTimeoutInSeconds: 120
307 maxGCPauseMillis: 100
308 parallelGCThreads : 3
313 # Next line enables gc logging
314 # gcLogOptions: "-Xlog:gc=trace:file={{.Values.config.odl.gcLogDir}}/gc-%t.log}:time,level,tags:filecount={{.Values.config.odl.javaOptions.numberGCLogFiles}}"
315 # enables sdnr functionality
318 # mode: web - SDNC contains device manager only plus dedicated webserver service for ODLUX (default),
319 # mode: dm - SDNC contains sdnr device manager + ODLUX components
321 # sdnronly: true starts sdnc container with odl and sdnrwt features only
323 sdnrdbTrustAllCerts: true
324 mountpointRegistrarEnabled: false
325 mountpointStateProviderEnabled: false
327 # enable and set dmaap-proxy for mountpointRegistrar
332 password: addPasswordHere
336 tokenIssuer: ONAP SDNC
338 supportOdlusers: true
343 # example definition for a oauth provider
345 keycloak: d8d7ed52-0691-4353-9ac6-5383e72e9c46
349 host: http://keycloak:8080
351 secret: ${KEYCLOAK_SECRET}
353 title: ONAP Keycloak Provider
357 # dependency / sub-chart configuration
359 nameOverride: sdnc-cert-initializer
360 truststoreMountpath: /opt/onap/sdnc/data/stores
362 app_ns: "org.osaaf.aaf"
363 fqi: "sdnc@sdnc.onap.org"
364 fqi_namespace: org.onap.sdnc
365 public_fqdn: "sdnc.onap.org"
366 aafDeployFqi: "deployer@people.osaaf.org"
367 aafDeployPass: demo123456!
368 cadi_latitude: "38.0"
369 cadi_longitude: "-72.0"
370 credsPath: /opt/app/osaaf/local
372 cd /opt/app/osaaf/local;
373 /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
375 # dependency / sub-chart configuration
378 mariadb-galera: &mariadbGalera
379 nameOverride: &sdnc-db sdnc-db
380 config: &mariadbGaleraConfig
381 rootPasswordExternalSecret: *rootDbSecret
382 userName: &dbUser sdnctl
383 userCredentialsExternalSecret: *dbSecretName
385 externalSecret: *rootDbSecret
388 externalSecret: *dbSecretName
393 mountSubPath: sdnc/mariadb-galera
397 nameOverride: *sdnc-db
404 nameOverride: sdnc-dmaap-listener
408 <<: *mariadbGaleraConfig
409 mysqlDatabase: *sdncDbName
414 configDir: /opt/onap/sdnc/data/properties
415 odlCredsExternalSecret: *odlCredsSecretName
422 <<: *mariadbGaleraConfig
423 mysqlDatabase: *sdncDbName
424 nameOverride: sdnc-ueb-listener
428 configDir: /opt/onap/sdnc/data/properties
429 odlCredsExternalSecret: *odlCredsSecretName
434 restCredsExternalSecret: *ansibleSecretName
438 <<: *mariadbGaleraConfig
439 mysqlDatabase: ansible
441 name: sdnc-ansible-server
446 nameOverride: sdnc-dgbuilder
448 nameOverride: sdnc-dgbuilder-cert-initializer
452 rootPasswordExternalSecret: '{{ .Values.global.mariadbGalera.localCluster |
454 (printf "%s-sdnc-db-root-password" (include "common.release" .))
455 (include "common.mariadb.secret.rootPassSecretName"
456 (dict "dot" . "chartName" "mariadb-galera")) }}'
457 userCredentialsExternalSecret: *dbSecretName
458 dbPodName: mariadb-galera
459 dbServiceName: mariadb-galera
460 # This should be revisited and changed to plain text
461 dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
470 - baseaddr: "sdnc-dgbuilder"
471 name: "sdnc-dgbuilder"
473 - baseaddr: "sdnc-web-service"
474 name: "sdnc-web-service"
481 # local elasticsearch cluster
482 localElasticCluster: true
484 nameOverride: &elasticSearchName sdnrdb
488 fqi_namespace: org.onap.sdnc
489 fqi: "sdnc@sdnc.onap.org"
491 name: *elasticSearchName
494 # dedicatednode: "yes"
495 # working as master node only, in this case increase replicaCount for elasticsearch-data
496 # dedicatednode: "no"
497 # handles master and data node functionality
499 nameOverride: *elasticSearchName
500 cluster_name: sdnrdb-cluster
504 # default number of instances
511 # probe configuration parameters
513 initialDelaySeconds: 10
515 # necessary to disable liveness probe when setting breakpoints
516 # in debugger so K8s doesn't restart unresponsive container
520 initialDelaySeconds: 10
553 ## Persist data to a persitent volume
557 ## A manually managed Persistent Volume and Claim
558 ## Requires persistence.enabled: true
559 ## If defined, PVC must be created manually before volume will be bound
561 volumeReclaimPolicy: Retain
563 ## database data Persistent Volume Storage Class
564 ## If defined, storageClassName: <storageClass>
565 ## If set to "-", storageClassName: "", which disables dynamic provisioning
566 ## If undefined (the default) or set to null, no storageClassName spec is
567 ## set, choosing the default provisioner. (gp2 on AWS, standard on
568 ## GKE, AWS & OpenStack)
569 accessMode: ReadWriteOnce
571 mountPath: /dockerdata-nfs
572 mountSubPath: sdnc/mdsal
573 mdsalPath: /opt/opendaylight/mdsal
574 daeximPath: /opt/opendaylight/mdsal/daexim
575 journalPath: /opt/opendaylight/journal
576 snapshotsPath: /opt/opendaylight/snapshots
581 ## A manually managed Persistent Volume and Claim
582 ## Requires persistence.enabled: true
583 ## If defined, PVC must be created manually before volume will be bound
586 volumeReclaimPolicy: Retain
587 accessMode: ReadWriteOnce
589 mountPath: /dockerdata-nfs
590 mountSubPath: sdnc/certs
591 certPath: /opt/app/osaaf
592 ##storageClass: "manual"
597 - baseaddr: "sdnc.api"
603 #Resource Limit flavor -By Default using small
605 #segregation for different envionment (Small and Large)