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
78 externalSecret: '{{ .Values.config.netboxApikeyExternalSecret }}'
79 password: '{{ .Values.config.netboxApikey }}'
80 passwordPolicy: required
83 externalSecret: '{{ .Values.config.aaiCredsExternalSecret}}'
84 login: '{{ .Values.config.aaiUser }}'
85 password: '{{ .Values.config.aaiPassword }}'
86 passwordPolicy: required
87 - uid: modeling-user-creds
89 externalSecret: '{{ .Values.config.modelingCredsExternalSecret}}'
90 login: '{{ .Values.config.modelingUser }}'
91 password: '{{ .Values.config.modelingPassword }}'
92 passwordPolicy: required
95 externalSecret: '{{ .Values.config.restconfCredsExternalSecret}}'
96 login: '{{ .Values.config.restconfUser }}'
97 password: '{{ .Values.config.restconfPassword }}'
98 passwordPolicy: required
100 name: &ansibleSecretName '{{ include "common.release" . }}-sdnc-ansible-creds'
102 externalSecret: '{{ .Values.config.ansibleCredsExternalSecret}}'
103 login: '{{ .Values.config.ansibleUser }}'
104 password: '{{ .Values.config.ansiblePassword }}'
105 passwordPolicy: required
106 - uid: scaleout-creds
108 externalSecret: '{{ .Values.config.scaleoutCredsExternalSecret}}'
109 login: '{{ .Values.config.scaleoutUser }}'
110 password: '{{ .Values.config.scaleoutPassword }}'
111 passwordPolicy: required
112 - uid: keystore-password
115 passwordPolicy: required
116 #################################################################
118 #################################################################
120 - mountPath: /var/custom-certs
121 commonName: sdnc.simpledemo.onap.org
123 - sdnc.simpledemo.onap.org
127 name: keystore-password
132 name: keystore-password
134 #################################################################
135 # Application configuration defaults.
136 #################################################################
140 image: onap/sdnc-image:2.0.5
142 # flag to enable debugging - application support required
145 # application configuration
150 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
151 # odlCredsExternalSecret: some secret
152 netboxApikey: onceuponatimeiplayedwithnetbox20180814
153 # netboxApikeyExternalSecret: some secret
154 aaiUser: sdnc@sdnc.onap.org
155 aaiPassword: demo123456!
156 # aaiCredsExternalSecret: some secret
157 modelingUser: ccsdkapps
158 modelingPassword: ccsdkapps
159 # modelingCredsExternalSecret: some secret
161 restconfPassword: admin
162 # restconfCredsExternalSecret: some secret
164 scaleoutPassword: admin
165 # scaleoutExternalSecret: some secret
167 ansiblePassword: sdnc
168 # ansibleCredsExternalSecret: some secret
169 dbSdnctlDatabase: &sdncDbName sdnctl
170 enableClustering: true
171 sdncHome: /opt/onap/sdnc
172 binDir: /opt/onap/sdnc/bin
173 etcDir: /opt/onap/sdnc/data
175 # if geoEnabled is set to true here, mysql.geoEnabled must be set to true
176 # if geoEnabled is set to true the following 3 values must be set to their proper values
177 myODLCluster: 127.0.0.1
178 peerODLCluster: 127.0.0.1
179 isPrimaryCluster: true
180 configDir: /opt/onap/sdnc/data/properties
181 ccsdkConfigDir: /opt/onap/ccsdk/data/properties
184 logstashServiceName: log-ls
186 ansibleServiceName: sdnc-ansible-server
188 javaHome: /opt/java/openjdk
191 etcDir: /opt/opendaylight/etc
192 binDir: /opt/opendaylight/bin
193 gcLogDir: /opt/opendaylight/data/log
194 salConfigDir: /opt/opendaylight/system/org/opendaylight/controller/sal-clustering-config
195 salConfigVersion: 1.10.4
202 recoveryEventTimeout: 90s
204 persistentActorRestartMinBackoffInSeconds: 10
205 persistentActorRestartMaxBackoffInSeconds: 40
206 persistentActorRestartResetBackoffInSeconds: 20
207 shardTransactionCommitTimeoutInSeconds: 120
208 shardIsolatedLeaderCheckIntervalInMillis: 30000
209 operationTimeoutInSeconds: 120
211 maxGCPauseMillis: 100
212 parallelGCThreads : 3
217 # Next line enables gc logging
218 # gcLogOptions: "-Xlog:gc=trace:file={{.Values.config.odl.gcLogDir}}/gc-%t.log}:time,level,tags:filecount={{.Values.config.odl.javaOptions.numberGCLogFiles}}"
219 # enables sdnr functionality
222 # mode: web - SDNC contains device manager only plus dedicated webserver service for ODLUX (default),
223 # mode: dm - SDNC contains sdnr device manager + ODLUX components
225 # sdnronly: true starts sdnc container with odl and sdnrwt features only
227 sdnrdbTrustAllCerts: true
228 mountpointRegistrarEnabled: false
229 mountpointStateProviderEnabled: false
233 # dependency / sub-chart configuration
235 nameOverride: sdnc-cert-initializer
236 truststoreMountpath: /opt/onap/sdnc/data/stores
238 app_ns: "org.osaaf.aaf"
239 fqi: "sdnc@sdnc.onap.org"
240 fqi_namespace: org.onap.sdnc
241 public_fqdn: "sdnc.onap.org"
242 aafDeployFqi: "deployer@people.osaaf.org"
243 aafDeployPass: demo123456!
244 cadi_latitude: "38.0"
245 cadi_longitude: "-72.0"
246 credsPath: /opt/app/osaaf/local
248 cd /opt/app/osaaf/local;
249 /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
251 # dependency / sub-chart configuration
254 mariadb-galera: &mariadbGalera
255 nameOverride: &sdnc-db sdnc-db
256 config: &mariadbGaleraConfig
257 rootPasswordExternalSecret: *rootDbSecret
258 userName: &dbUser sdnctl
259 userCredentialsExternalSecret: *dbSecretName
261 externalSecret: *rootDbSecret
264 externalSecret: *dbSecretName
269 mountSubPath: sdnc/mariadb-galera
273 nameOverride: *sdnc-db
280 nameOverride: sdnc-dmaap-listener
284 <<: *mariadbGaleraConfig
285 mysqlDatabase: *sdncDbName
290 configDir: /opt/onap/sdnc/data/properties
291 odlCredsExternalSecret: *odlCredsSecretName
298 <<: *mariadbGaleraConfig
299 mysqlDatabase: *sdncDbName
300 nameOverride: sdnc-ueb-listener
304 configDir: /opt/onap/sdnc/data/properties
305 odlCredsExternalSecret: *odlCredsSecretName
310 restCredsExternalSecret: *ansibleSecretName
314 <<: *mariadbGaleraConfig
315 mysqlDatabase: ansible
317 name: sdnc-ansible-server
322 nameOverride: sdnc-dgbuilder
324 nameOverride: sdnc-dgbuilder-cert-initializer
328 rootPasswordExternalSecret: '{{ .Values.global.mariadbGalera.localCluster |
330 (printf "%s-sdnc-db-root-password" (include "common.release" .))
331 (include "common.mariadb.secret.rootPassSecretName"
332 (dict "dot" . "chartName" "mariadb-galera")) }}'
333 userCredentialsExternalSecret: *dbSecretName
334 dbPodName: mariadb-galera
335 dbServiceName: mariadb-galera
336 # This should be revisited and changed to plain text
337 dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
346 - baseaddr: "sdnc-dgbuilder"
347 name: "sdnc-dgbuilder"
349 - baseaddr: "sdnc-web-service"
350 name: "sdnc-web-service"
357 # local elasticsearch cluster
358 localElasticCluster: true
360 nameOverride: &elasticSearchName sdnrdb
364 fqi_namespace: org.onap.sdnc
365 fqi: "sdnc@sdnc.onap.org"
367 name: *elasticSearchName
370 # dedicatednode: "yes"
371 # working as master node only, in this case increase replicaCount for elasticsearch-data
372 # dedicatednode: "no"
373 # handles master and data node functionality
375 nameOverride: *elasticSearchName
376 cluster_name: *elasticSearchName
380 # default number of instances
387 # probe configuration parameters
389 initialDelaySeconds: 10
391 # necessary to disable liveness probe when setting breakpoints
392 # in debugger so K8s doesn't restart unresponsive container
396 initialDelaySeconds: 10
429 ## Persist data to a persitent volume
433 ## A manually managed Persistent Volume and Claim
434 ## Requires persistence.enabled: true
435 ## If defined, PVC must be created manually before volume will be bound
437 volumeReclaimPolicy: Retain
439 ## database data Persistent Volume Storage Class
440 ## If defined, storageClassName: <storageClass>
441 ## If set to "-", storageClassName: "", which disables dynamic provisioning
442 ## If undefined (the default) or set to null, no storageClassName spec is
443 ## set, choosing the default provisioner. (gp2 on AWS, standard on
444 ## GKE, AWS & OpenStack)
445 accessMode: ReadWriteOnce
447 mountPath: /dockerdata-nfs
448 mountSubPath: sdnc/mdsal
449 mdsalPath: /opt/opendaylight/mdsal
450 daeximPath: /opt/opendaylight/daexim
451 journalPath: /opt/opendaylight/journal
452 snapshotsPath: /opt/opendaylight/snapshots
457 ## A manually managed Persistent Volume and Claim
458 ## Requires persistence.enabled: true
459 ## If defined, PVC must be created manually before volume will be bound
462 volumeReclaimPolicy: Retain
463 accessMode: ReadWriteOnce
465 mountPath: /dockerdata-nfs
466 mountSubPath: sdnc/certs
467 certPath: /opt/app/osaaf
468 ##storageClass: "manual"
473 - baseaddr: "sdnc.api"
479 #Resource Limit flavor -By Default using small
481 #segregation for different envionment (Small and Large)