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
91 externalSecret: '{{ .Values.config.aaiCredsExternalSecret}}'
92 login: '{{ .Values.config.aaiUser }}'
93 password: '{{ .Values.config.aaiPassword }}'
94 passwordPolicy: required
95 - uid: modeling-user-creds
97 externalSecret: '{{ .Values.config.modelingCredsExternalSecret}}'
98 login: '{{ .Values.config.modelingUser }}'
99 password: '{{ .Values.config.modelingPassword }}'
100 passwordPolicy: required
101 - uid: restconf-creds
103 externalSecret: '{{ .Values.config.restconfCredsExternalSecret}}'
104 login: '{{ .Values.config.restconfUser }}'
105 password: '{{ .Values.config.restconfPassword }}'
106 passwordPolicy: required
108 name: &ansibleSecretName '{{ include "common.release" . }}-sdnc-ansible-creds'
110 externalSecret: '{{ .Values.config.ansibleCredsExternalSecret}}'
111 login: '{{ .Values.config.ansibleUser }}'
112 password: '{{ .Values.config.ansiblePassword }}'
113 passwordPolicy: required
114 - uid: scaleout-creds
116 externalSecret: '{{ .Values.config.scaleoutCredsExternalSecret}}'
117 login: '{{ .Values.config.scaleoutUser }}'
118 password: '{{ .Values.config.scaleoutPassword }}'
119 passwordPolicy: required
120 - uid: oauth-token-secret
122 externalSecret: '{{ ternary (tpl (default "" .Values.config.sdnr.oauth.tokenExternalSecret) .) "oauth-disabled" .Values.config.sdnr.oauth.enabled }}'
123 password: '{{ .Values.config.sdnr.oauth.tokenSecret }}'
124 passwordPolicy: required
125 - uid: keycloak-secret
127 externalSecret: '{{ ternary (tpl (default "" .Values.config.sdnr.oauth.providersSecrets.keycloakExternalSecret) .) "oauth-disabled" .Values.config.sdnr.oauth.enabled }}'
128 password: '{{ .Values.config.sdnr.oauth.providersSecrets.keycloak }}'
129 passwordPolicy: required
131 #################################################################
133 #################################################################
135 - mountPath: /var/custom-certs
136 commonName: sdnc.simpledemo.onap.org
138 - sdnc.simpledemo.onap.org
143 name: sdnc-cmpv2-keystore-password
146 group: certmanager.onap.org
148 name: cmpv2-issuer-onap
149 #################################################################
150 # Application configuration defaults.
151 #################################################################
155 image: onap/sdnc-image:2.0.5
157 # flag to enable debugging - application support required
160 # application configuration
165 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
166 # odlCredsExternalSecret: some secret
167 netboxApikey: onceuponatimeiplayedwithnetbox20180814
168 # netboxApikeyExternalSecret: some secret
169 aaiUser: sdnc@sdnc.onap.org
170 aaiPassword: demo123456!
171 # aaiCredsExternalSecret: some secret
172 modelingUser: ccsdkapps
173 modelingPassword: ccsdkapps
174 # modelingCredsExternalSecret: some secret
176 restconfPassword: admin
177 # restconfCredsExternalSecret: some secret
179 scaleoutPassword: admin
180 # scaleoutExternalSecret: some secret
182 ansiblePassword: sdnc
183 # ansibleCredsExternalSecret: some secret
184 dbSdnctlDatabase: &sdncDbName sdnctl
185 enableClustering: true
186 sdncHome: /opt/onap/sdnc
187 binDir: /opt/onap/sdnc/bin
188 etcDir: /opt/onap/sdnc/data
190 # if geoEnabled is set to true here, mysql.geoEnabled must be set to true
191 # if geoEnabled is set to true the following 3 values must be set to their proper values
192 myODLCluster: 127.0.0.1
193 peerODLCluster: 127.0.0.1
194 isPrimaryCluster: true
195 configDir: /opt/onap/sdnc/data/properties
196 ccsdkConfigDir: /opt/onap/ccsdk/data/properties
199 logstashServiceName: log-ls
201 ansibleServiceName: sdnc-ansible-server
203 javaHome: /opt/java/openjdk
206 etcDir: /opt/opendaylight/etc
207 binDir: /opt/opendaylight/bin
208 gcLogDir: /opt/opendaylight/data/log
209 salConfigDir: /opt/opendaylight/system/org/opendaylight/controller/sal-clustering-config
210 salConfigVersion: 1.10.4
217 recoveryEventTimeout: 90s
219 persistentActorRestartMinBackoffInSeconds: 10
220 persistentActorRestartMaxBackoffInSeconds: 40
221 persistentActorRestartResetBackoffInSeconds: 20
222 shardTransactionCommitTimeoutInSeconds: 120
223 shardIsolatedLeaderCheckIntervalInMillis: 30000
224 operationTimeoutInSeconds: 120
226 maxGCPauseMillis: 100
227 parallelGCThreads : 3
232 # Next line enables gc logging
233 # gcLogOptions: "-Xlog:gc=trace:file={{.Values.config.odl.gcLogDir}}/gc-%t.log}:time,level,tags:filecount={{.Values.config.odl.javaOptions.numberGCLogFiles}}"
234 # enables sdnr functionality
237 # mode: web - SDNC contains device manager only plus dedicated webserver service for ODLUX (default),
238 # mode: dm - SDNC contains sdnr device manager + ODLUX components
240 # sdnronly: true starts sdnc container with odl and sdnrwt features only
242 sdnrdbTrustAllCerts: true
243 mountpointRegistrarEnabled: false
244 mountpointStateProviderEnabled: false
246 # enable and set dmaap-proxy for mountpointRegistrar
251 password: addPasswordHere
255 tokenIssuer: ONAP SDNC
257 supportOdlusers: true
262 # example definition for a oauth provider
264 keycloak: d8d7ed52-0691-4353-9ac6-5383e72e9c46
268 host: http://keycloak:8080
270 secret: ${KEYCLOAK_SECRET}
272 title: ONAP Keycloak Provider
276 # dependency / sub-chart configuration
278 nameOverride: sdnc-cert-initializer
279 truststoreMountpath: /opt/onap/sdnc/data/stores
281 app_ns: "org.osaaf.aaf"
282 fqi: "sdnc@sdnc.onap.org"
283 fqi_namespace: org.onap.sdnc
284 public_fqdn: "sdnc.onap.org"
285 aafDeployFqi: "deployer@people.osaaf.org"
286 aafDeployPass: demo123456!
287 cadi_latitude: "38.0"
288 cadi_longitude: "-72.0"
289 credsPath: /opt/app/osaaf/local
291 cd /opt/app/osaaf/local;
292 /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
294 # dependency / sub-chart configuration
297 mariadb-galera: &mariadbGalera
298 nameOverride: &sdnc-db sdnc-db
299 config: &mariadbGaleraConfig
300 rootPasswordExternalSecret: *rootDbSecret
301 userName: &dbUser sdnctl
302 userCredentialsExternalSecret: *dbSecretName
304 externalSecret: *rootDbSecret
307 externalSecret: *dbSecretName
312 mountSubPath: sdnc/mariadb-galera
316 nameOverride: *sdnc-db
323 nameOverride: sdnc-dmaap-listener
327 <<: *mariadbGaleraConfig
328 mysqlDatabase: *sdncDbName
333 configDir: /opt/onap/sdnc/data/properties
334 odlCredsExternalSecret: *odlCredsSecretName
341 <<: *mariadbGaleraConfig
342 mysqlDatabase: *sdncDbName
343 nameOverride: sdnc-ueb-listener
347 configDir: /opt/onap/sdnc/data/properties
348 odlCredsExternalSecret: *odlCredsSecretName
353 restCredsExternalSecret: *ansibleSecretName
357 <<: *mariadbGaleraConfig
358 mysqlDatabase: ansible
360 name: sdnc-ansible-server
365 nameOverride: sdnc-dgbuilder
367 nameOverride: sdnc-dgbuilder-cert-initializer
371 rootPasswordExternalSecret: '{{ .Values.global.mariadbGalera.localCluster |
373 (printf "%s-sdnc-db-root-password" (include "common.release" .))
374 (include "common.mariadb.secret.rootPassSecretName"
375 (dict "dot" . "chartName" "mariadb-galera")) }}'
376 userCredentialsExternalSecret: *dbSecretName
377 dbPodName: mariadb-galera
378 dbServiceName: mariadb-galera
379 # This should be revisited and changed to plain text
380 dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
389 - baseaddr: "sdnc-dgbuilder"
390 name: "sdnc-dgbuilder"
392 - baseaddr: "sdnc-web-service"
393 name: "sdnc-web-service"
400 # local elasticsearch cluster
401 localElasticCluster: true
403 nameOverride: &elasticSearchName sdnrdb
407 fqi_namespace: org.onap.sdnc
408 fqi: "sdnc@sdnc.onap.org"
410 name: *elasticSearchName
413 # dedicatednode: "yes"
414 # working as master node only, in this case increase replicaCount for elasticsearch-data
415 # dedicatednode: "no"
416 # handles master and data node functionality
418 nameOverride: *elasticSearchName
419 cluster_name: sdnrdb-cluster
423 # default number of instances
430 # probe configuration parameters
432 initialDelaySeconds: 10
434 # necessary to disable liveness probe when setting breakpoints
435 # in debugger so K8s doesn't restart unresponsive container
439 initialDelaySeconds: 10
472 ## Persist data to a persitent volume
476 ## A manually managed Persistent Volume and Claim
477 ## Requires persistence.enabled: true
478 ## If defined, PVC must be created manually before volume will be bound
480 volumeReclaimPolicy: Retain
482 ## database data Persistent Volume Storage Class
483 ## If defined, storageClassName: <storageClass>
484 ## If set to "-", storageClassName: "", which disables dynamic provisioning
485 ## If undefined (the default) or set to null, no storageClassName spec is
486 ## set, choosing the default provisioner. (gp2 on AWS, standard on
487 ## GKE, AWS & OpenStack)
488 accessMode: ReadWriteOnce
490 mountPath: /dockerdata-nfs
491 mountSubPath: sdnc/mdsal
492 mdsalPath: /opt/opendaylight/mdsal
493 daeximPath: /opt/opendaylight/mdsal/daexim
494 journalPath: /opt/opendaylight/journal
495 snapshotsPath: /opt/opendaylight/snapshots
500 ## A manually managed Persistent Volume and Claim
501 ## Requires persistence.enabled: true
502 ## If defined, PVC must be created manually before volume will be bound
505 volumeReclaimPolicy: Retain
506 accessMode: ReadWriteOnce
508 mountPath: /dockerdata-nfs
509 mountSubPath: sdnc/certs
510 certPath: /opt/app/osaaf
511 ##storageClass: "manual"
516 - baseaddr: "sdnc.api"
522 #Resource Limit flavor -By Default using small
524 #segregation for different envionment (Small and Large)