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 readinessRepository: oomk8s
24 readinessImage: readiness-check:2.0.2
25 loggingRepository: docker.elastic.co
26 loggingImage: beats/filebeat:5.5.0
28 mountPath: /dockerdata-nfs
31 envsubstImage: dibi/envsubst
33 #This flag allows SO to instantiate its own mariadb-galera cluster
34 #If shared instance is used, this chart assumes that DB already exists
36 service: mariadb-galera
38 nameOverride: mariadb-galera
40 #################################################################
42 #################################################################
44 - uid: db-root-password
45 name: '{{ include "common.release" . }}-sdnc-db-root-password'
47 externalSecret: '{{ .Values.global.mariadbGalera.localCluster |
48 ternary (default (include "common.mariadb.secret.rootPassSecretName"
49 (dict "dot" . "chartName"
50 (index .Values "mariadb-galera" "nameOverride")))
51 (index .Values "mariadb-galera" "config"
52 "mariadbRootPasswordExternalSecret"))
53 (include "common.mariadb.secret.rootPassSecretName"
54 (dict "dot" . "chartName" .Values.global.mariadbGalera.nameOverride)) }}'
55 password: '{{ (index .Values "mariadb-galera" "config" "mariadbRootPassword") }}'
57 name: &dbSecretName '{{ include "common.release" . }}-sdnc-db-secret'
59 # This is a nasty trick that allows you override this secret using external one
60 # with the same field that is used to pass this to subchart
61 externalSecret: '{{ ternary "" (tpl (default "" (index .Values "mariadb-galera" "config" "userCredentialsExternalSecret")) .) (hasSuffix "sdnc-db-secret" (index .Values "mariadb-galera" "config" "userCredentialsExternalSecret"))}}'
62 login: '{{ index .Values "mariadb-galera" "config" "userName" }}'
63 password: '{{ index .Values "mariadb-galera" "config" "userPassword" }}'
65 name: &odlCredsSecretName '{{ include "common.release" . }}-sdnc-odl-creds'
67 externalSecret: '{{ .Values.config.odlCredsExternalSecret }}'
68 login: '{{ .Values.config.odlUser }}'
69 password: '{{ .Values.config.odlPassword }}'
70 # For now this is left hardcoded but should be revisited in a future
71 passwordPolicy: required
74 externalSecret: '{{ .Values.config.netboxApikeyExternalSecret }}'
75 password: '{{ .Values.config.netboxApikey }}'
76 passwordPolicy: required
79 externalSecret: '{{ .Values.config.aaiCredsExternalSecret}}'
80 login: '{{ .Values.config.aaiUser }}'
81 password: '{{ .Values.config.aaiPassword }}'
82 passwordPolicy: required
83 - uid: modeling-user-creds
85 externalSecret: '{{ .Values.config.modelingCredsExternalSecret}}'
86 login: '{{ .Values.config.modelingUser }}'
87 password: '{{ .Values.config.modelingPassword }}'
88 passwordPolicy: required
91 externalSecret: '{{ .Values.config.restconfCredsExternalSecret}}'
92 login: '{{ .Values.config.restconfUser }}'
93 password: '{{ .Values.config.restconfPassword }}'
94 passwordPolicy: required
96 name: &ansibleSecretName '{{ include "common.release" . }}-sdnc-ansible-creds'
98 externalSecret: '{{ .Values.config.ansibleCredsExternalSecret}}'
99 login: '{{ .Values.config.ansibleUser }}'
100 password: '{{ .Values.config.ansiblePassword }}'
101 passwordPolicy: required
102 - uid: scaleout-creds
104 externalSecret: '{{ .Values.config.scaleoutCredsExternalSecret}}'
105 login: '{{ .Values.config.scaleoutUser }}'
106 password: '{{ .Values.config.scaleoutPassword }}'
107 passwordPolicy: required
108 #################################################################
109 # Application configuration defaults.
110 #################################################################
112 repository: nexus3.onap.org:10001
114 image: onap/sdnc-image:1.8.4
117 # flag to enable debugging - application support required
120 # application configuration
125 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
126 # odlCredsExternalSecret: some secret
127 netboxApikey: onceuponatimeiplayedwithnetbox20180814
128 # netboxApikeyExternalSecret: some secret
129 aaiUser: sdnc@sdnc.onap.org
130 aaiPassword: demo123456!
131 # aaiCredsExternalSecret: some secret
132 modelingUser: ccsdkapps
133 modelingPassword: ccsdkapps
134 # modelingCredsExternalSecret: some secret
136 restconfPassword: admin
137 # restconfCredsExternalSecret: some secret
139 scaleoutPassword: admin
140 # scaleoutExternalSecret: some secret
142 ansiblePassword: sdnc
143 # ansibleCredsExternalSecret: some secret
144 dbSdnctlDatabase: &sdncDbName sdnctl
145 enableClustering: true
146 sdncHome: /opt/onap/sdnc
147 binDir: /opt/onap/sdnc/bin
148 etcDir: /opt/onap/sdnc/data
150 # if geoEnabled is set to true here, mysql.geoEnabled must be set to true
151 # if geoEnabled is set to true the following 3 values must be set to their proper values
152 myODLCluster: 127.0.0.1
153 peerODLCluster: 127.0.0.1
154 isPrimaryCluster: true
155 configDir: /opt/onap/sdnc/data/properties
156 ccsdkConfigDir: /opt/onap/ccsdk/data/properties
159 logstashServiceName: log-ls
161 ansibleServiceName: sdnc-ansible-server
163 javaHome: /usr/lib/jvm/java-1.8-openjdk
166 etcDir: /opt/opendaylight/etc
167 binDir: /opt/opendaylight/bin
168 salConfigDir: /opt/opendaylight/system/org/opendaylight/controller/sal-clustering-config
169 salConfigVersion: 1.9.1
176 recoveryEventTimeout: 90s
178 persistentActorRestartMinBackoffInSeconds: 10
179 persistentActorRestartMaxBackoffInSeconds: 40
180 persistentActorRestartResetBackoffInSeconds: 20
181 shardTransactionCommitTimeoutInSeconds: 120
182 shardIsolatedLeaderCheckIntervalInMillis: 30000
183 operationTimeoutInSeconds: 120
185 maxGCPauseMillis: 100
186 parallelGCThreads : 3
188 # enables sdnr functionality
191 # mode: web - SDNC contains device manager only plus dedicated webserver service for ODLUX (default),
192 # mode: dm - SDNC contains sdnr device manager + ODLUX components
194 # sdnronly: true starts sdnc container with odl and sdnrwt features only
196 sdnrdbTrustAllCerts: true
197 mountpointRegistrarEnabled: false
198 mountpointStateProviderEnabled: false
202 # dependency / sub-chart configuration
204 nameOverride: sdnc-cert-initializer
205 truststoreMountpath: /opt/onap/sdnc/data/stores
207 app_ns: "org.osaaf.aaf"
208 fqi: "sdnc@sdnc.onap.org"
209 fqi_namespace: org.onap.sdnc
210 public_fqdn: "sdnc.onap.org"
211 aafDeployFqi: "deployer@people.osaaf.org"
212 aafDeployPass: demo123456!
213 cadi_latitude: "38.0"
214 cadi_longitude: "-72.0"
215 credsPath: /opt/app/osaaf/local
217 cd /opt/app/osaaf/local;
218 /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
220 # dependency / sub-chart configuration
223 mariadb-galera: &mariadbGalera
224 nameOverride: sdnc-db
225 config: &mariadbGaleraConfig
226 rootPasswordExternalSecret: '{{ ternary (include "common.release" .)-sdnc-db-root-password "" .Values.global.mariadbGalera.localCluster }}'
228 userCredentialsExternalSecret: *dbSecretName
234 mountSubPath: sdnc/mariadb-galera
243 nameOverride: sdnc-dmaap-listener
247 <<: *mariadbGaleraConfig
248 mysqlDatabase: *sdncDbName
253 configDir: /opt/onap/sdnc/data/properties
254 odlCredsExternalSecret: *odlCredsSecretName
261 <<: *mariadbGaleraConfig
262 mysqlDatabase: *sdncDbName
263 nameOverride: sdnc-ueb-listener
267 configDir: /opt/onap/sdnc/data/properties
268 odlCredsExternalSecret: *odlCredsSecretName
273 restCredsExternalSecret: *ansibleSecretName
277 <<: *mariadbGaleraConfig
278 mysqlDatabase: ansible
280 name: sdnc-ansible-server
285 nameOverride: sdnc-dgbuilder
289 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 }}'
290 userCredentialsExternalSecret: *dbSecretName
291 dbPodName: mariadb-galera
292 dbServiceName: mariadb-galera
293 # This should be revisited and changed to plain text
294 dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
303 - baseaddr: "sdnc-dgbuilder"
304 name: "sdnc-dgbuilder"
306 - baseaddr: "sdnc-web-service"
307 name: "sdnc-web-service"
314 # local elasticsearch cluster
315 localElasticCluster: true
321 fqi_namespace: org.onap.sdnc
322 fqi: "sdnc@sdnc.onap.org"
327 # dedicatednode: "yes"
328 # working as master node only, in this case increase replicaCount for elasticsearch-data
329 # dedicatednode: "no"
330 # handles master and data node functionality
336 # default number of instances
343 # probe configuration parameters
345 initialDelaySeconds: 10
347 # necessary to disable liveness probe when setting breakpoints
348 # in debugger so K8s doesn't restart unresponsive container
352 initialDelaySeconds: 10
385 ## Persist data to a persitent volume
389 ## A manually managed Persistent Volume and Claim
390 ## Requires persistence.enabled: true
391 ## If defined, PVC must be created manually before volume will be bound
393 volumeReclaimPolicy: Retain
395 ## database data Persistent Volume Storage Class
396 ## If defined, storageClassName: <storageClass>
397 ## If set to "-", storageClassName: "", which disables dynamic provisioning
398 ## If undefined (the default) or set to null, no storageClassName spec is
399 ## set, choosing the default provisioner. (gp2 on AWS, standard on
400 ## GKE, AWS & OpenStack)
401 accessMode: ReadWriteOnce
403 mountPath: /dockerdata-nfs
404 mountSubPath: sdnc/mdsal
405 mdsalPath: /opt/opendaylight/current/daexim
410 - baseaddr: "sdnc.api"
416 #Resource Limit flavor -By Default using small
418 #segregation for different envionment (Small and Large)