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
22 repository: nexus3.onap.org:10001
23 readinessImage: onap/oom/readiness:3.0.1
24 loggingRepository: docker.elastic.co
25 loggingImage: beats/filebeat:5.5.0
27 mountPath: /dockerdata-nfs
30 envsubstImage: dibi/envsubst
32 #This flag allows SO to instantiate its own mariadb-galera cluster
33 #If shared instance is used, this chart assumes that DB already exists
35 service: mariadb-galera
37 nameOverride: mariadb-galera
42 image: onap/org.onap.oom.platform.cert-service.oom-certservice-client:2.0.0
44 name: oom-cert-service-client-tls-secret
45 mountPath: /etc/onap/oom/certservice/certs/
48 cert_path: /var/custom-certs
49 cmpv2Organization: "Linux-Foundation"
50 cmpv2OrganizationalUnit: "ONAP"
51 cmpv2Location: "San-Francisco"
53 # Client configuration related
55 common_name: "sdnc.simpledemo.onap.org"
56 requestURL: "https://oom-cert-service:8443/v1/certificate/"
57 requestTimeout: "30000"
58 keystorePath: "/etc/onap/oom/certservice/certs/certServiceClient-keystore.jks"
60 keystorePassword: "secret"
61 truststorePath: "/etc/onap/oom/certservice/certs/truststore.jks"
62 truststorePassword: "secret"
64 #################################################################
66 #################################################################
68 - uid: db-root-password
69 name: '{{ include "common.release" . }}-sdnc-db-root-password'
71 externalSecret: '{{ .Values.global.mariadbGalera.localCluster |
72 ternary (default (include "common.mariadb.secret.rootPassSecretName"
73 (dict "dot" . "chartName"
74 (index .Values "mariadb-galera" "nameOverride")))
75 (index .Values "mariadb-galera" "config"
76 "mariadbRootPasswordExternalSecret"))
77 (include "common.mariadb.secret.rootPassSecretName"
78 (dict "dot" . "chartName" .Values.global.mariadbGalera.nameOverride)) }}'
79 password: '{{ (index .Values "mariadb-galera" "config" "mariadbRootPassword") }}'
81 name: &dbSecretName '{{ include "common.release" . }}-sdnc-db-secret'
83 # This is a nasty trick that allows you override this secret using external one
84 # with the same field that is used to pass this to subchart
85 externalSecret: '{{ ternary "" (tpl (default "" (index .Values "mariadb-galera" "config" "userCredentialsExternalSecret")) .) (hasSuffix "sdnc-db-secret" (index .Values "mariadb-galera" "config" "userCredentialsExternalSecret"))}}'
86 login: '{{ index .Values "mariadb-galera" "config" "userName" }}'
87 password: '{{ index .Values "mariadb-galera" "config" "userPassword" }}'
89 name: &odlCredsSecretName '{{ include "common.release" . }}-sdnc-odl-creds'
91 externalSecret: '{{ .Values.config.odlCredsExternalSecret }}'
92 login: '{{ .Values.config.odlUser }}'
93 password: '{{ .Values.config.odlPassword }}'
94 # For now this is left hardcoded but should be revisited in a future
95 passwordPolicy: required
98 externalSecret: '{{ .Values.config.netboxApikeyExternalSecret }}'
99 password: '{{ .Values.config.netboxApikey }}'
100 passwordPolicy: required
101 - uid: aai-user-creds
103 externalSecret: '{{ .Values.config.aaiCredsExternalSecret}}'
104 login: '{{ .Values.config.aaiUser }}'
105 password: '{{ .Values.config.aaiPassword }}'
106 passwordPolicy: required
107 - uid: modeling-user-creds
109 externalSecret: '{{ .Values.config.modelingCredsExternalSecret}}'
110 login: '{{ .Values.config.modelingUser }}'
111 password: '{{ .Values.config.modelingPassword }}'
112 passwordPolicy: required
113 - uid: restconf-creds
115 externalSecret: '{{ .Values.config.restconfCredsExternalSecret}}'
116 login: '{{ .Values.config.restconfUser }}'
117 password: '{{ .Values.config.restconfPassword }}'
118 passwordPolicy: required
120 name: &ansibleSecretName '{{ include "common.release" . }}-sdnc-ansible-creds'
122 externalSecret: '{{ .Values.config.ansibleCredsExternalSecret}}'
123 login: '{{ .Values.config.ansibleUser }}'
124 password: '{{ .Values.config.ansiblePassword }}'
125 passwordPolicy: required
126 - uid: scaleout-creds
128 externalSecret: '{{ .Values.config.scaleoutCredsExternalSecret}}'
129 login: '{{ .Values.config.scaleoutUser }}'
130 password: '{{ .Values.config.scaleoutPassword }}'
131 passwordPolicy: required
132 #################################################################
133 # Application configuration defaults.
134 #################################################################
136 repository: nexus3.onap.org:10001
138 image: onap/sdnc-image:1.8.4
139 busyboxRepository: docker.io
140 busyboxImage: busybox:1.30
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: /usr/lib/jvm/java-1.8-openjdk
191 etcDir: /opt/opendaylight/etc
192 binDir: /opt/opendaylight/bin
193 salConfigDir: /opt/opendaylight/system/org/opendaylight/controller/sal-clustering-config
194 salConfigVersion: 1.9.1
201 recoveryEventTimeout: 90s
203 persistentActorRestartMinBackoffInSeconds: 10
204 persistentActorRestartMaxBackoffInSeconds: 40
205 persistentActorRestartResetBackoffInSeconds: 20
206 shardTransactionCommitTimeoutInSeconds: 120
207 shardIsolatedLeaderCheckIntervalInMillis: 30000
208 operationTimeoutInSeconds: 120
210 maxGCPauseMillis: 100
211 parallelGCThreads : 3
213 # enables sdnr functionality
216 # mode: web - SDNC contains device manager only plus dedicated webserver service for ODLUX (default),
217 # mode: dm - SDNC contains sdnr device manager + ODLUX components
219 # sdnronly: true starts sdnc container with odl and sdnrwt features only
221 sdnrdbTrustAllCerts: true
222 mountpointRegistrarEnabled: false
223 mountpointStateProviderEnabled: false
227 # dependency / sub-chart configuration
229 nameOverride: sdnc-cert-initializer
230 truststoreMountpath: /opt/onap/sdnc/data/stores
232 app_ns: "org.osaaf.aaf"
233 fqi: "sdnc@sdnc.onap.org"
234 fqi_namespace: org.onap.sdnc
235 public_fqdn: "sdnc.onap.org"
236 aafDeployFqi: "deployer@people.osaaf.org"
237 aafDeployPass: demo123456!
238 cadi_latitude: "38.0"
239 cadi_longitude: "-72.0"
240 credsPath: /opt/app/osaaf/local
242 cd /opt/app/osaaf/local;
243 /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
245 # dependency / sub-chart configuration
248 mariadb-galera: &mariadbGalera
249 nameOverride: sdnc-db
250 config: &mariadbGaleraConfig
251 rootPasswordExternalSecret: '{{ ternary (include "common.release" .)-sdnc-db-root-password "" .Values.global.mariadbGalera.localCluster }}'
253 userCredentialsExternalSecret: *dbSecretName
259 mountSubPath: sdnc/mariadb-galera
268 nameOverride: sdnc-dmaap-listener
272 <<: *mariadbGaleraConfig
273 mysqlDatabase: *sdncDbName
278 configDir: /opt/onap/sdnc/data/properties
279 odlCredsExternalSecret: *odlCredsSecretName
286 <<: *mariadbGaleraConfig
287 mysqlDatabase: *sdncDbName
288 nameOverride: sdnc-ueb-listener
292 configDir: /opt/onap/sdnc/data/properties
293 odlCredsExternalSecret: *odlCredsSecretName
298 restCredsExternalSecret: *ansibleSecretName
302 <<: *mariadbGaleraConfig
303 mysqlDatabase: ansible
305 name: sdnc-ansible-server
310 nameOverride: sdnc-dgbuilder
312 nameOverride: sdnc-dgbuilder-cert-initializer
316 rootPasswordExternalSecret: '{{ ternary (printf "%s-sdnc-db-root-password" (include "common.release" .)) (include "common.mariadb.secret.rootPassSecretName" (dict "dot" . "chartName" "mariadb-galera")) .Values.global.mariadbGalera.localCluster }}'
317 userCredentialsExternalSecret: *dbSecretName
318 dbPodName: mariadb-galera
319 dbServiceName: mariadb-galera
320 # This should be revisited and changed to plain text
321 dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
330 - baseaddr: "sdnc-dgbuilder"
331 name: "sdnc-dgbuilder"
333 - baseaddr: "sdnc-web-service"
334 name: "sdnc-web-service"
341 # local elasticsearch cluster
342 localElasticCluster: true
348 fqi_namespace: org.onap.sdnc
349 fqi: "sdnc@sdnc.onap.org"
354 # dedicatednode: "yes"
355 # working as master node only, in this case increase replicaCount for elasticsearch-data
356 # dedicatednode: "no"
357 # handles master and data node functionality
363 # default number of instances
370 # probe configuration parameters
372 initialDelaySeconds: 10
374 # necessary to disable liveness probe when setting breakpoints
375 # in debugger so K8s doesn't restart unresponsive container
379 initialDelaySeconds: 10
412 ## Persist data to a persitent volume
416 ## A manually managed Persistent Volume and Claim
417 ## Requires persistence.enabled: true
418 ## If defined, PVC must be created manually before volume will be bound
420 volumeReclaimPolicy: Retain
422 ## database data Persistent Volume Storage Class
423 ## If defined, storageClassName: <storageClass>
424 ## If set to "-", storageClassName: "", which disables dynamic provisioning
425 ## If undefined (the default) or set to null, no storageClassName spec is
426 ## set, choosing the default provisioner. (gp2 on AWS, standard on
427 ## GKE, AWS & OpenStack)
428 accessMode: ReadWriteOnce
430 mountPath: /dockerdata-nfs
431 mountSubPath: sdnc/mdsal
432 mdsalPath: /opt/opendaylight/current/daexim
437 ## A manually managed Persistent Volume and Claim
438 ## Requires persistence.enabled: true
439 ## If defined, PVC must be created manually before volume will be bound
442 volumeReclaimPolicy: Retain
443 accessMode: ReadWriteOnce
445 mountPath: /dockerdata-nfs
446 mountSubPath: sdnc/certs
447 certPath: /opt/app/osaaf
448 ##storageClass: "manual"
453 - baseaddr: "sdnc.api"
459 #Resource Limit flavor -By Default using small
461 #segregation for different envionment (Small and Large)