1 # Copyright © 2020 Samsung Electronics, highstreet technologies GmbH
2 # Copyright © 2017 Amdocs, Bell Canada
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 #################################################################
17 # Global configuration defaults.
18 #################################################################
21 nodePortPrefixExt: 304
23 mountPath: /dockerdata-nfs
26 #This flag allows SO to instantiate its own mariadb-galera cluster
27 #If shared instance is used, this chart assumes that DB already exists
29 service: mariadb-galera
31 nameOverride: mariadb-galera
32 service: mariadb-galera
35 CMPv2CertManagerIntegration: false
38 image: onap/org.onap.oom.platform.cert-service.oom-certservice-client:2.3.2
40 name: oom-cert-service-client-tls-secret
41 mountPath: /etc/onap/oom/certservice/certs/
44 cert_path: /var/custom-certs
45 cmpv2Organization: "Linux-Foundation"
46 cmpv2OrganizationalUnit: "ONAP"
47 cmpv2Location: "San-Francisco"
49 # Client configuration related
51 common_name: "sdnc.simpledemo.onap.org"
52 requestURL: "https://oom-cert-service:8443/v1/certificate/"
53 requestTimeout: "30000"
54 keystorePath: "/etc/onap/oom/certservice/certs/certServiceClient-keystore.jks"
56 keystorePassword: "secret"
57 truststorePath: "/etc/onap/oom/certservice/certs/truststore.jks"
58 truststorePassword: "secret"
60 #################################################################
62 #################################################################
64 - uid: db-root-password
65 name: &rootDbSecret '{{ include "common.release" . }}-sdnc-db-root-password'
67 # If we're using shared mariadb, we need to use the secret name (second
69 # If not, we do the same trick than for user db secret hat allows you
70 # override this secret using external one with the same field that is used
71 # to pass this to subchart.
72 externalSecret: '{{ .Values.global.mariadbGalera.localCluster |
73 ternary ((hasSuffix "sdnc-db-root-password" (index .Values "mariadb-galera" "rootUser" "externalSecret")) |
76 (tpl (default "" (index .Values "mariadb-galera" "rootUser" "externalSecret")) .))
77 (include "common.mariadb.secret.rootPassSecretName"
79 "chartName" .Values.global.mariadbGalera.nameOverride)) }}'
80 password: '{{ (index .Values "mariadb-galera" "rootUser" "password") }}'
82 name: &dbSecretName '{{ include "common.release" . }}-sdnc-db-secret'
84 # This is a nasty trick that allows you override this secret using external one
85 # with the same field that is used to pass this to subchart
86 externalSecret: '{{ (hasSuffix "sdnc-db-secret" (index .Values "mariadb-galera" "db" "externalSecret")) |
89 (tpl (default "" (index .Values "mariadb-galera" "db" "externalSecret")) .) }}'
90 login: '{{ index .Values "mariadb-galera" "db" "user" }}'
91 password: '{{ index .Values "mariadb-galera" "db" "password" }}'
93 name: &odlCredsSecretName '{{ include "common.release" . }}-sdnc-odl-creds'
95 externalSecret: '{{ .Values.config.odlCredsExternalSecret }}'
96 login: '{{ .Values.config.odlUser }}'
97 password: '{{ .Values.config.odlPassword }}'
98 # For now this is left hardcoded but should be revisited in a future
99 passwordPolicy: required
102 externalSecret: '{{ .Values.config.netboxApikeyExternalSecret }}'
103 password: '{{ .Values.config.netboxApikey }}'
104 passwordPolicy: required
105 - uid: aai-user-creds
107 externalSecret: '{{ .Values.config.aaiCredsExternalSecret}}'
108 login: '{{ .Values.config.aaiUser }}'
109 password: '{{ .Values.config.aaiPassword }}'
110 passwordPolicy: required
111 - uid: modeling-user-creds
113 externalSecret: '{{ .Values.config.modelingCredsExternalSecret}}'
114 login: '{{ .Values.config.modelingUser }}'
115 password: '{{ .Values.config.modelingPassword }}'
116 passwordPolicy: required
117 - uid: restconf-creds
119 externalSecret: '{{ .Values.config.restconfCredsExternalSecret}}'
120 login: '{{ .Values.config.restconfUser }}'
121 password: '{{ .Values.config.restconfPassword }}'
122 passwordPolicy: required
124 name: &ansibleSecretName '{{ include "common.release" . }}-sdnc-ansible-creds'
126 externalSecret: '{{ .Values.config.ansibleCredsExternalSecret}}'
127 login: '{{ .Values.config.ansibleUser }}'
128 password: '{{ .Values.config.ansiblePassword }}'
129 passwordPolicy: required
130 - uid: scaleout-creds
132 externalSecret: '{{ .Values.config.scaleoutCredsExternalSecret}}'
133 login: '{{ .Values.config.scaleoutUser }}'
134 password: '{{ .Values.config.scaleoutPassword }}'
135 passwordPolicy: required
136 - uid: keystore-password
139 passwordPolicy: required
140 #################################################################
142 #################################################################
144 - name: onap-sdnc-certificate
145 secretName: onap-sdnc-certificate
146 commonName: sdnc.simpledemo.onap.org
148 - sdnc.simpledemo.onap.org
152 name: keystore-password
157 name: keystore-password
159 #################################################################
160 # Application configuration defaults.
161 #################################################################
165 image: onap/sdnc-image:2.0.5
167 # flag to enable debugging - application support required
170 # application configuration
175 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
176 # odlCredsExternalSecret: some secret
177 netboxApikey: onceuponatimeiplayedwithnetbox20180814
178 # netboxApikeyExternalSecret: some secret
179 aaiUser: sdnc@sdnc.onap.org
180 aaiPassword: demo123456!
181 # aaiCredsExternalSecret: some secret
182 modelingUser: ccsdkapps
183 modelingPassword: ccsdkapps
184 # modelingCredsExternalSecret: some secret
186 restconfPassword: admin
187 # restconfCredsExternalSecret: some secret
189 scaleoutPassword: admin
190 # scaleoutExternalSecret: some secret
192 ansiblePassword: sdnc
193 # ansibleCredsExternalSecret: some secret
194 dbSdnctlDatabase: &sdncDbName sdnctl
195 enableClustering: true
196 sdncHome: /opt/onap/sdnc
197 binDir: /opt/onap/sdnc/bin
198 etcDir: /opt/onap/sdnc/data
200 # if geoEnabled is set to true here, mysql.geoEnabled must be set to true
201 # if geoEnabled is set to true the following 3 values must be set to their proper values
202 myODLCluster: 127.0.0.1
203 peerODLCluster: 127.0.0.1
204 isPrimaryCluster: true
205 configDir: /opt/onap/sdnc/data/properties
206 ccsdkConfigDir: /opt/onap/ccsdk/data/properties
209 logstashServiceName: log-ls
211 ansibleServiceName: sdnc-ansible-server
213 javaHome: /opt/java/openjdk
216 etcDir: /opt/opendaylight/etc
217 binDir: /opt/opendaylight/bin
218 gcLogDir: /opt/opendaylight/data/log
219 salConfigDir: /opt/opendaylight/system/org/opendaylight/controller/sal-clustering-config
220 salConfigVersion: 1.10.4
227 recoveryEventTimeout: 90s
229 persistentActorRestartMinBackoffInSeconds: 10
230 persistentActorRestartMaxBackoffInSeconds: 40
231 persistentActorRestartResetBackoffInSeconds: 20
232 shardTransactionCommitTimeoutInSeconds: 120
233 shardIsolatedLeaderCheckIntervalInMillis: 30000
234 operationTimeoutInSeconds: 120
236 maxGCPauseMillis: 100
237 parallelGCThreads : 3
242 # Next line enables gc logging
243 # gcLogOptions: "-Xlog:gc=trace:file={{.Values.config.odl.gcLogDir}}/gc-%t.log}:time,level,tags:filecount={{.Values.config.odl.javaOptions.numberGCLogFiles}}"
244 # enables sdnr functionality
247 # mode: web - SDNC contains device manager only plus dedicated webserver service for ODLUX (default),
248 # mode: dm - SDNC contains sdnr device manager + ODLUX components
250 # sdnronly: true starts sdnc container with odl and sdnrwt features only
252 sdnrdbTrustAllCerts: true
253 mountpointRegistrarEnabled: false
254 mountpointStateProviderEnabled: false
258 # dependency / sub-chart configuration
260 nameOverride: sdnc-cert-initializer
261 truststoreMountpath: /opt/onap/sdnc/data/stores
263 app_ns: "org.osaaf.aaf"
264 fqi: "sdnc@sdnc.onap.org"
265 fqi_namespace: org.onap.sdnc
266 public_fqdn: "sdnc.onap.org"
267 aafDeployFqi: "deployer@people.osaaf.org"
268 aafDeployPass: demo123456!
269 cadi_latitude: "38.0"
270 cadi_longitude: "-72.0"
271 credsPath: /opt/app/osaaf/local
273 cd /opt/app/osaaf/local;
274 /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
276 # dependency / sub-chart configuration
279 mariadb-galera: &mariadbGalera
280 nameOverride: &sdnc-db sdnc-db
281 config: &mariadbGaleraConfig
282 rootPasswordExternalSecret: *rootDbSecret
283 userName: &dbUser sdnctl
284 userCredentialsExternalSecret: *dbSecretName
286 externalSecret: *rootDbSecret
289 externalSecret: *dbSecretName
294 mountSubPath: sdnc/mariadb-galera
298 nameOverride: *sdnc-db
305 nameOverride: sdnc-dmaap-listener
309 <<: *mariadbGaleraConfig
310 mysqlDatabase: *sdncDbName
315 configDir: /opt/onap/sdnc/data/properties
316 odlCredsExternalSecret: *odlCredsSecretName
323 <<: *mariadbGaleraConfig
324 mysqlDatabase: *sdncDbName
325 nameOverride: sdnc-ueb-listener
329 configDir: /opt/onap/sdnc/data/properties
330 odlCredsExternalSecret: *odlCredsSecretName
335 restCredsExternalSecret: *ansibleSecretName
339 <<: *mariadbGaleraConfig
340 mysqlDatabase: ansible
342 name: sdnc-ansible-server
347 nameOverride: sdnc-dgbuilder
349 nameOverride: sdnc-dgbuilder-cert-initializer
353 rootPasswordExternalSecret: '{{ .Values.global.mariadbGalera.localCluster |
355 (printf "%s-sdnc-db-root-password" (include "common.release" .))
356 (include "common.mariadb.secret.rootPassSecretName"
357 (dict "dot" . "chartName" "mariadb-galera")) }}'
358 userCredentialsExternalSecret: *dbSecretName
359 dbPodName: mariadb-galera
360 dbServiceName: mariadb-galera
361 # This should be revisited and changed to plain text
362 dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
371 - baseaddr: "sdnc-dgbuilder"
372 name: "sdnc-dgbuilder"
374 - baseaddr: "sdnc-web-service"
375 name: "sdnc-web-service"
382 # local elasticsearch cluster
383 localElasticCluster: true
385 nameOverride: &elasticSearchName sdnrdb
389 fqi_namespace: org.onap.sdnc
390 fqi: "sdnc@sdnc.onap.org"
392 name: *elasticSearchName
395 # dedicatednode: "yes"
396 # working as master node only, in this case increase replicaCount for elasticsearch-data
397 # dedicatednode: "no"
398 # handles master and data node functionality
400 nameOverride: *elasticSearchName
401 cluster_name: *elasticSearchName
405 # default number of instances
412 # probe configuration parameters
414 initialDelaySeconds: 10
416 # necessary to disable liveness probe when setting breakpoints
417 # in debugger so K8s doesn't restart unresponsive container
421 initialDelaySeconds: 10
454 ## Persist data to a persitent volume
458 ## A manually managed Persistent Volume and Claim
459 ## Requires persistence.enabled: true
460 ## If defined, PVC must be created manually before volume will be bound
462 volumeReclaimPolicy: Retain
464 ## database data Persistent Volume Storage Class
465 ## If defined, storageClassName: <storageClass>
466 ## If set to "-", storageClassName: "", which disables dynamic provisioning
467 ## If undefined (the default) or set to null, no storageClassName spec is
468 ## set, choosing the default provisioner. (gp2 on AWS, standard on
469 ## GKE, AWS & OpenStack)
470 accessMode: ReadWriteOnce
472 mountPath: /dockerdata-nfs
473 mountSubPath: sdnc/mdsal
474 mdsalPath: /opt/opendaylight/current/daexim
479 ## A manually managed Persistent Volume and Claim
480 ## Requires persistence.enabled: true
481 ## If defined, PVC must be created manually before volume will be bound
484 volumeReclaimPolicy: Retain
485 accessMode: ReadWriteOnce
487 mountPath: /dockerdata-nfs
488 mountSubPath: sdnc/certs
489 certPath: /opt/app/osaaf
490 ##storageClass: "manual"
495 - baseaddr: "sdnc.api"
501 #Resource Limit flavor -By Default using small
503 #segregation for different envionment (Small and Large)