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 #################################################################
177 #################################################################
179 - mountPath: /var/custom-certs
180 commonName: sdnc.simpledemo.onap.org
182 - sdnc.simpledemo.onap.org
187 name: sdnc-cmpv2-keystore-password
190 group: certmanager.onap.org
192 name: cmpv2-issuer-onap
193 #################################################################
194 # Application configuration defaults.
195 #################################################################
199 image: onap/sdnc-image:2.1.3
201 # flag to enable debugging - application support required
204 # application configuration
209 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
210 # odlCredsExternalSecret: some secret
211 netboxApikey: onceuponatimeiplayedwithnetbox20180814
212 # netboxApikeyExternalSecret: some secret
213 aaiTruststorePassword: changeit
214 # aaiTruststoreExternalSecret: some secret
215 ansibleTruststorePassword: changeit
216 # ansibleTruststoreExternalSecret: some secret
217 truststorePassword: adminadmin
218 # truststoreExternalSecret: some secret
219 keystorePassword: adminadmin
220 # keystoreExternalSecret: some secret
221 aaiUser: sdnc@sdnc.onap.org
222 aaiPassword: demo123456!
223 # aaiCredsExternalSecret: some secret
225 soPassword: password1$
226 # soCredsExternalSecret: some secret
228 nengPassword: ccsdkapps
229 # nengCredsExternalSecret: some secret
231 cdsPassword: ccsdkapps
232 # cdsCredsExternalSecret: some secret
234 honeycombPassword: admin
235 # honeycombCredsExternalSecret: some secret
238 dmaapAuthKey: "fs20cKwalJ6ry4kX:7Hqm6BDZK47IKxGRkOPFk33qMYs="
239 # dmaapCredsExternalSecret: some secret
240 # dmaapAuthKeyExternalSecret: some secret
241 modelingUser: ccsdkapps
242 modelingPassword: ccsdkapps
243 # modelingCredsExternalSecret: some secret
245 restconfPassword: admin
246 # restconfCredsExternalSecret: some secret
248 scaleoutPassword: admin
249 # scaleoutExternalSecret: some secret
251 ansiblePassword: sdnc
252 # ansibleCredsExternalSecret: some secret
253 dbSdnctlDatabase: &sdncDbName sdnctl
254 enableClustering: true
255 sdncHome: /opt/onap/sdnc
256 binDir: /opt/onap/sdnc/bin
257 etcDir: /opt/onap/sdnc/data
259 # if geoEnabled is set to true here, mysql.geoEnabled must be set to true
260 # if geoEnabled is set to true the following 3 values must be set to their proper values
261 myODLCluster: 127.0.0.1
262 peerODLCluster: 127.0.0.1
263 isPrimaryCluster: true
264 configDir: /opt/onap/sdnc/data/properties
265 ccsdkConfigDir: /opt/onap/ccsdk/data/properties
268 logstashServiceName: log-ls
270 ansibleServiceName: sdnc-ansible-server
272 javaHome: /opt/java/openjdk
275 etcDir: /opt/opendaylight/etc
276 binDir: /opt/opendaylight/bin
277 gcLogDir: /opt/opendaylight/data/log
278 salConfigDir: /opt/opendaylight/system/org/opendaylight/controller/sal-clustering-config
279 salConfigVersion: 1.10.4
286 recoveryEventTimeout: 90s
288 persistentActorRestartMinBackoffInSeconds: 10
289 persistentActorRestartMaxBackoffInSeconds: 40
290 persistentActorRestartResetBackoffInSeconds: 20
291 shardTransactionCommitTimeoutInSeconds: 120
292 shardIsolatedLeaderCheckIntervalInMillis: 30000
293 operationTimeoutInSeconds: 120
295 maxGCPauseMillis: 100
296 parallelGCThreads : 3
301 # Next line enables gc logging
302 # gcLogOptions: "-Xlog:gc=trace:file={{.Values.config.odl.gcLogDir}}/gc-%t.log}:time,level,tags:filecount={{.Values.config.odl.javaOptions.numberGCLogFiles}}"
303 # enables sdnr functionality
306 # mode: web - SDNC contains device manager only plus dedicated webserver service for ODLUX (default),
307 # mode: dm - SDNC contains sdnr device manager + ODLUX components
309 # sdnronly: true starts sdnc container with odl and sdnrwt features only
311 sdnrdbTrustAllCerts: true
312 mountpointRegistrarEnabled: false
313 mountpointStateProviderEnabled: false
314 # enable and set dmaap-proxy for mountpointRegistrar
319 password: addPasswordHere
326 # dependency / sub-chart configuration
328 nameOverride: sdnc-cert-initializer
329 truststoreMountpath: /opt/onap/sdnc/data/stores
331 app_ns: "org.osaaf.aaf"
332 fqi: "sdnc@sdnc.onap.org"
333 fqi_namespace: org.onap.sdnc
334 public_fqdn: "sdnc.onap.org"
335 aafDeployFqi: "deployer@people.osaaf.org"
336 aafDeployPass: demo123456!
337 cadi_latitude: "38.0"
338 cadi_longitude: "-72.0"
339 credsPath: /opt/app/osaaf/local
341 cd /opt/app/osaaf/local;
342 /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
344 # dependency / sub-chart configuration
347 mariadb-galera: &mariadbGalera
348 nameOverride: &sdnc-db sdnc-db
349 config: &mariadbGaleraConfig
350 rootPasswordExternalSecret: *rootDbSecret
351 userName: &dbUser sdnctl
352 userCredentialsExternalSecret: *dbSecretName
354 externalSecret: *rootDbSecret
357 externalSecret: *dbSecretName
362 mountSubPath: sdnc/mariadb-galera
366 nameOverride: *sdnc-db
373 nameOverride: sdnc-dmaap-listener
377 <<: *mariadbGaleraConfig
378 mysqlDatabase: *sdncDbName
383 configDir: /opt/onap/sdnc/data/properties
384 odlCredsExternalSecret: *odlCredsSecretName
391 <<: *mariadbGaleraConfig
392 mysqlDatabase: *sdncDbName
393 nameOverride: sdnc-ueb-listener
397 configDir: /opt/onap/sdnc/data/properties
398 odlCredsExternalSecret: *odlCredsSecretName
403 restCredsExternalSecret: *ansibleSecretName
407 <<: *mariadbGaleraConfig
408 mysqlDatabase: ansible
410 name: sdnc-ansible-server
415 nameOverride: sdnc-dgbuilder
417 nameOverride: sdnc-dgbuilder-cert-initializer
421 rootPasswordExternalSecret: '{{ .Values.global.mariadbGalera.localCluster |
423 (printf "%s-sdnc-db-root-password" (include "common.release" .))
424 (include "common.mariadb.secret.rootPassSecretName"
425 (dict "dot" . "chartName" "mariadb-galera")) }}'
426 userCredentialsExternalSecret: *dbSecretName
427 dbPodName: mariadb-galera
428 dbServiceName: mariadb-galera
429 # This should be revisited and changed to plain text
430 dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
439 - baseaddr: "sdnc-dgbuilder"
440 name: "sdnc-dgbuilder"
442 - baseaddr: "sdnc-web-service"
443 name: "sdnc-web-service"
450 # local elasticsearch cluster
451 localElasticCluster: true
453 nameOverride: &elasticSearchName sdnrdb
457 fqi_namespace: org.onap.sdnc
458 fqi: "sdnc@sdnc.onap.org"
460 name: *elasticSearchName
463 # dedicatednode: "yes"
464 # working as master node only, in this case increase replicaCount for elasticsearch-data
465 # dedicatednode: "no"
466 # handles master and data node functionality
468 nameOverride: *elasticSearchName
469 cluster_name: sdnrdb-cluster
473 # default number of instances
480 # probe configuration parameters
482 initialDelaySeconds: 10
484 # necessary to disable liveness probe when setting breakpoints
485 # in debugger so K8s doesn't restart unresponsive container
489 initialDelaySeconds: 10
522 ## Persist data to a persitent volume
526 ## A manually managed Persistent Volume and Claim
527 ## Requires persistence.enabled: true
528 ## If defined, PVC must be created manually before volume will be bound
530 volumeReclaimPolicy: Retain
532 ## database data Persistent Volume Storage Class
533 ## If defined, storageClassName: <storageClass>
534 ## If set to "-", storageClassName: "", which disables dynamic provisioning
535 ## If undefined (the default) or set to null, no storageClassName spec is
536 ## set, choosing the default provisioner. (gp2 on AWS, standard on
537 ## GKE, AWS & OpenStack)
538 accessMode: ReadWriteOnce
540 mountPath: /dockerdata-nfs
541 mountSubPath: sdnc/mdsal
542 mdsalPath: /opt/opendaylight/mdsal
543 daeximPath: /opt/opendaylight/mdsal/daexim
544 journalPath: /opt/opendaylight/journal
545 snapshotsPath: /opt/opendaylight/snapshots
550 ## A manually managed Persistent Volume and Claim
551 ## Requires persistence.enabled: true
552 ## If defined, PVC must be created manually before volume will be bound
555 volumeReclaimPolicy: Retain
556 accessMode: ReadWriteOnce
558 mountPath: /dockerdata-nfs
559 mountSubPath: sdnc/certs
560 certPath: /opt/app/osaaf
561 ##storageClass: "manual"
566 - baseaddr: "sdnc.api"
572 #Resource Limit flavor -By Default using small
574 #segregation for different envionment (Small and Large)