1 # Copyright © 2020 Samsung Electronics
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: '{{ ternary (tpl (default "" .Values.aaf_init.aafDeployCredsExternalSecret) .) "aafIsDiabled" .Values.global.aafEnabled }}'
75 login: '{{ .Values.aaf_init.deploy_fqi }}'
76 password: '{{ .Values.aaf_init.deploy_pass }}'
77 passwordPolicy: required
80 externalSecret: '{{ .Values.config.netboxApikeyExternalSecret }}'
81 password: '{{ .Values.config.netboxApikey }}'
82 passwordPolicy: required
85 externalSecret: '{{ .Values.config.aaiCredsExternalSecret}}'
86 login: '{{ .Values.config.aaiUser }}'
87 password: '{{ .Values.config.aaiPassword }}'
88 passwordPolicy: required
89 - uid: modeling-user-creds
91 externalSecret: '{{ .Values.config.modelingCredsExternalSecret}}'
92 login: '{{ .Values.config.modelingUser }}'
93 password: '{{ .Values.config.modelingPassword }}'
94 passwordPolicy: required
97 externalSecret: '{{ .Values.config.restconfCredsExternalSecret}}'
98 login: '{{ .Values.config.restconfUser }}'
99 password: '{{ .Values.config.restconfPassword }}'
100 passwordPolicy: required
102 name: &ansibleSecretName '{{ include "common.release" . }}-sdnc-ansible-creds'
104 externalSecret: '{{ .Values.config.ansibleCredsExternalSecret}}'
105 login: '{{ .Values.config.ansibleUser }}'
106 password: '{{ .Values.config.ansiblePassword }}'
107 passwordPolicy: required
108 - uid: scaleout-creds
110 externalSecret: '{{ .Values.config.scaleoutCredsExternalSecret}}'
111 login: '{{ .Values.config.scaleoutUser }}'
112 password: '{{ .Values.config.scaleoutPassword }}'
113 passwordPolicy: required
115 #################################################################
116 # Application configuration defaults.
117 #################################################################
119 repository: nexus3.onap.org:10001
121 image: onap/sdnc-image:1.8.1
124 # flag to enable debugging - application support required
127 # application configuration
132 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
133 # odlCredsExternalSecret: some secret
134 netboxApikey: onceuponatimeiplayedwithnetbox20180814
135 # netboxApikeyExternalSecret: some secret
136 aaiUser: sdnc@sdnc.onap.org
137 aaiPassword: demo123456!
138 # aaiCredsExternalSecret: some secret
139 modelingUser: ccsdkapps
140 modelingPassword: ccsdkapps
141 # modelingCredsExternalSecret: some secret
143 restconfPassword: admin
144 # restconfCredsExternalSecret: some secret
146 scaleoutPassword: admin
147 # scaleoutExternalSecret: some secret
149 ansiblePassword: sdnc
150 # ansibleCredsExternalSecret: some secret
151 dbSdnctlDatabase: &sdncDbName sdnctl
152 enableClustering: true
153 sdncHome: /opt/onap/sdnc
154 binDir: /opt/onap/sdnc/bin
155 etcDir: /opt/onap/sdnc/data
157 # if geoEnabled is set to true here, mysql.geoEnabled must be set to true
158 # if geoEnabled is set to true the following 3 values must be set to their proper values
159 myODLCluster: 127.0.0.1
160 peerODLCluster: 127.0.0.1
161 isPrimaryCluster: true
162 configDir: /opt/onap/sdnc/data/properties
163 ccsdkConfigDir: /opt/onap/ccsdk/data/properties
166 logstashServiceName: log-ls
168 ansibleServiceName: sdnc-ansible-server
170 javaHome: /usr/lib/jvm/java-1.8-openjdk
173 etcDir: /opt/opendaylight/etc
174 binDir: /opt/opendaylight/bin
175 salConfigDir: /opt/opendaylight/system/org/opendaylight/controller/sal-clustering-config
176 salConfigVersion: 1.8.2
183 recoveryEventTimeout: 90s
185 persistentActorRestartMinBackoffInSeconds: 10
186 persistentActorRestartMaxBackoffInSeconds: 40
187 persistentActorRestartResetBackoffInSeconds: 20
188 shardTransactionCommitTimeoutInSeconds: 120
189 shardIsolatedLeaderCheckIntervalInMillis: 30000
190 operationTimeoutInSeconds: 120
192 maxGCPauseMillis: 100
193 parallelGCThreads : 3
196 # dependency / sub-chart configuration
198 agentImage: onap/aaf/aaf_agent:2.1.15
199 app_ns: "org.osaaf.aaf"
200 fqi: "sdnc@sdnc.onap.org"
202 public_fqdn: "sdnc.onap.org"
203 deploy_fqi: "deployer@people.osaaf.org"
204 deploy_pass: "demo123456!"
205 cadi_latitude: "38.0"
206 cadi_longitude: "-72.0"
208 mariadb-galera: &mariadbGalera
209 nameOverride: sdnc-db
210 config: &mariadbGaleraConfig
211 rootPasswordExternalSecret: '{{ ternary (include "common.release" .)-sdnc-db-root-password "" .Values.global.mariadbGalera.localCluster }}'
213 userCredentialsExternalSecret: *dbSecretName
219 mountSubPath: sdnc/mariadb-galera
227 nameOverride: sdnc-dmaap-listener
231 <<: *mariadbGaleraConfig
232 mysqlDatabase: *sdncDbName
237 configDir: /opt/onap/sdnc/data/properties
238 odlCredsExternalSecret: *odlCredsSecretName
244 <<: *mariadbGaleraConfig
245 mysqlDatabase: *sdncDbName
246 nameOverride: sdnc-ueb-listener
250 configDir: /opt/onap/sdnc/data/properties
251 odlCredsExternalSecret: *odlCredsSecretName
257 <<: *mariadbGaleraConfig
258 mysqlDatabase: *sdncDbName
261 configDir: /opt/onap/sdnc/data/properties
262 odlCredsExternalSecret: *odlCredsSecretName
266 restCredsExternalSecret: *ansibleSecretName
270 <<: *mariadbGaleraConfig
271 mysqlDatabase: ansible
273 name: sdnc-ansible-server
277 nameOverride: sdnc-dgbuilder
281 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 }}'
282 userCredentialsExternalSecret: *dbSecretName
283 dbPodName: mariadb-galera
284 dbServiceName: mariadb-galera
285 # This should be revisited and changed to plain text
286 dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
292 # local elasticsearch cluster
293 localElasticCluster: true
299 fqi_namespace: org.onap.sdnc
300 fqi: "sdnc@sdnc.onap.org"
306 # dedicatednode: "yes"
307 # working as master node only, in this case increase replicaCount for elasticsearch-data
308 # dedicatednode: "no"
309 # handles master and data node functionality
322 # default number of instances
329 # probe configuration parameters
331 initialDelaySeconds: 10
333 # necessary to disable liveness probe when setting breakpoints
334 # in debugger so K8s doesn't restart unresponsive container
338 initialDelaySeconds: 10
371 ## Persist data to a persitent volume
375 ## A manually managed Persistent Volume and Claim
376 ## Requires persistence.enabled: true
377 ## If defined, PVC must be created manually before volume will be bound
379 volumeReclaimPolicy: Retain
381 ## database data Persistent Volume Storage Class
382 ## If defined, storageClassName: <storageClass>
383 ## If set to "-", storageClassName: "", which disables dynamic provisioning
384 ## If undefined (the default) or set to null, no storageClassName spec is
385 ## set, choosing the default provisioner. (gp2 on AWS, standard on
386 ## GKE, AWS & OpenStack)
387 accessMode: ReadWriteOnce
389 mountPath: /dockerdata-nfs
390 mountSubPath: sdnc/mdsal
391 mdsalPath: /opt/opendaylight/current/daexim
396 ## A manually managed Persistent Volume and Claim
397 ## Requires persistence.enabled: true
398 ## If defined, PVC must be created manually before volume will be bound
401 volumeReclaimPolicy: Retain
402 accessMode: ReadWriteOnce
404 mountPath: /dockerdata-nfs
405 mountSubPath: sdnc/certs
406 certPath: /opt/app/osaaf
407 ##storageClass: "manual"
418 #Resource Limit flavor -By Default using small
420 #segregation for different envionment (Small and Large)