blob: 96ea6e33fd05b20e2f0c23587a411854fd89bb2b [file] [log] [blame]
Konrad Bańka5ea1db32020-04-06 14:32:46 +02001# Copyright © 2020 Samsung Electronics
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00002# Copyright © 2017 Amdocs, Bell Canada
3#
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
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
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.
15
jmac065e2ce2018-03-29 01:18:02 +000016#################################################################
17# Global configuration defaults.
18#################################################################
19global:
20 nodePortPrefix: 302
jmac0e4f7172018-09-07 18:06:43 +000021 nodePortPrefixExt: 304
jmac065e2ce2018-03-29 01:18:02 +000022 repository: nexus3.onap.org:10001
jmac065e2ce2018-03-29 01:18:02 +000023 readinessRepository: oomk8s
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +000024 readinessImage: readiness-check:2.0.2
jmac065e2ce2018-03-29 01:18:02 +000025 loggingRepository: docker.elastic.co
26 loggingImage: beats/filebeat:5.5.0
Krzysztof Opasiak6bab0cc2020-04-29 00:55:47 +020027 aafAgentImage: onap/aaf/aaf_agent:2.1.15
jmac065e2ce2018-03-29 01:18:02 +000028 persistence:
29 mountPath: /dockerdata-nfs
Agarwal, Ruchira (ra1926)ec7c75e2019-10-01 17:36:24 +000030 aafEnabled: true
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +010031 # envsusbt
32 envsubstImage: dibi/envsubst
33 mariadbGalera:
34 #This flag allows SO to instantiate its own mariadb-galera cluster
35 #If shared instance is used, this chart assumes that DB already exists
36 localCluster: false
37 service: mariadb-galera
38 internalPort: 3306
39 nameOverride: mariadb-galera
40
41#################################################################
42# Secrets metaconfig
43#################################################################
44secrets:
45 - uid: db-root-password
46 name: '{{ include "common.release" . }}-sdnc-db-root-password'
47 type: password
Krzysztof Opasiakab7a6bb2020-03-24 03:30:51 +010048 externalSecret: '{{ .Values.global.mariadbGalera.localCluster |
49 ternary (default (include "common.mariadb.secret.rootPassSecretName"
50 (dict "dot" . "chartName"
51 (index .Values "mariadb-galera" "nameOverride")))
52 (index .Values "mariadb-galera" "config"
53 "mariadbRootPasswordExternalSecret"))
54 (include "common.mariadb.secret.rootPassSecretName"
55 (dict "dot" . "chartName" .Values.global.mariadbGalera.nameOverride)) }}'
56 password: '{{ (index .Values "mariadb-galera" "config" "mariadbRootPassword") }}'
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +010057 - uid: db-secret
58 name: &dbSecretName '{{ include "common.release" . }}-sdnc-db-secret'
59 type: basicAuth
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: '{{ ternary "" (tpl (default "" (index .Values "mariadb-galera" "config" "userCredentialsExternalSecret")) .) (hasSuffix "sdnc-db-secret" (index .Values "mariadb-galera" "config" "userCredentialsExternalSecret"))}}'
63 login: '{{ index .Values "mariadb-galera" "config" "userName" }}'
64 password: '{{ index .Values "mariadb-galera" "config" "userPassword" }}'
65 - uid: odl-creds
66 name: &odlCredsSecretName '{{ include "common.release" . }}-sdnc-odl-creds'
67 type: basicAuth
68 externalSecret: '{{ .Values.config.odlCredsExternalSecret }}'
69 login: '{{ .Values.config.odlUser }}'
70 password: '{{ .Values.config.odlPassword }}'
71 # For now this is left hardcoded but should be revisited in a future
72 passwordPolicy: required
Krzysztof Opasiak6bab0cc2020-04-29 00:55:47 +020073 - uid: &aaf_secret_uid aaf-creds
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +010074 type: basicAuth
75 externalSecret: '{{ ternary (tpl (default "" .Values.aaf_init.aafDeployCredsExternalSecret) .) "aafIsDiabled" .Values.global.aafEnabled }}'
76 login: '{{ .Values.aaf_init.deploy_fqi }}'
77 password: '{{ .Values.aaf_init.deploy_pass }}'
78 passwordPolicy: required
79 - uid: netbox-apikey
80 type: password
81 externalSecret: '{{ .Values.config.netboxApikeyExternalSecret }}'
82 password: '{{ .Values.config.netboxApikey }}'
83 passwordPolicy: required
84 - uid: aai-user-creds
85 type: basicAuth
86 externalSecret: '{{ .Values.config.aaiCredsExternalSecret}}'
87 login: '{{ .Values.config.aaiUser }}'
88 password: '{{ .Values.config.aaiPassword }}'
89 passwordPolicy: required
90 - uid: modeling-user-creds
91 type: basicAuth
92 externalSecret: '{{ .Values.config.modelingCredsExternalSecret}}'
93 login: '{{ .Values.config.modelingUser }}'
94 password: '{{ .Values.config.modelingPassword }}'
95 passwordPolicy: required
96 - uid: restconf-creds
97 type: basicAuth
98 externalSecret: '{{ .Values.config.restconfCredsExternalSecret}}'
99 login: '{{ .Values.config.restconfUser }}'
100 password: '{{ .Values.config.restconfPassword }}'
101 passwordPolicy: required
102 - uid: ansible-creds
103 name: &ansibleSecretName '{{ include "common.release" . }}-sdnc-ansible-creds'
104 type: basicAuth
105 externalSecret: '{{ .Values.config.ansibleCredsExternalSecret}}'
106 login: '{{ .Values.config.ansibleUser }}'
107 password: '{{ .Values.config.ansiblePassword }}'
108 passwordPolicy: required
109 - uid: scaleout-creds
110 type: basicAuth
111 externalSecret: '{{ .Values.config.scaleoutCredsExternalSecret}}'
112 login: '{{ .Values.config.scaleoutUser }}'
113 password: '{{ .Values.config.scaleoutPassword }}'
114 passwordPolicy: required
jmac065e2ce2018-03-29 01:18:02 +0000115
116#################################################################
117# Application configuration defaults.
118#################################################################
119# application images
120repository: nexus3.onap.org:10001
121pullPolicy: Always
Dan Timoney994bc302020-05-04 13:55:56 -0400122image: onap/sdnc-image:1.8.2
jmac065e2ce2018-03-29 01:18:02 +0000123
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -0400124
jmac065e2ce2018-03-29 01:18:02 +0000125# flag to enable debugging - application support required
126debugEnabled: false
127
128# application configuration
BorislavG5f3b6192018-03-25 18:12:38 +0300129config:
Timoney, Dan (dt5972)ba4d2eb2019-05-07 13:32:42 -0400130 odlUid: 100
131 odlGid: 101
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100132 odlUser: admin
jmaca68f4cb2018-05-10 22:44:19 +0000133 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100134 # odlCredsExternalSecret: some secret
135 netboxApikey: onceuponatimeiplayedwithnetbox20180814
136 # netboxApikeyExternalSecret: some secret
137 aaiUser: sdnc@sdnc.onap.org
138 aaiPassword: demo123456!
139 # aaiCredsExternalSecret: some secret
140 modelingUser: ccsdkapps
141 modelingPassword: ccsdkapps
142 # modelingCredsExternalSecret: some secret
143 restconfUser: admin
144 restconfPassword: admin
145 # restconfCredsExternalSecret: some secret
146 scaleoutUser: admin
147 scaleoutPassword: admin
148 # scaleoutExternalSecret: some secret
149 ansibleUser: sdnc
150 ansiblePassword: sdnc
151 # ansibleCredsExternalSecret: some secret
152 dbSdnctlDatabase: &sdncDbName sdnctl
jmac065e2ce2018-03-29 01:18:02 +0000153 enableClustering: true
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -0400154 sdncHome: /opt/onap/sdnc
jmaca68f4cb2018-05-10 22:44:19 +0000155 binDir: /opt/onap/sdnc/bin
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -0400156 etcDir: /opt/onap/sdnc/data
Trevor Tait567ff1e2018-05-01 16:20:54 -0400157 geoEnabled: false
Neha Jain7b0d6c62018-05-17 14:34:49 -0400158# if geoEnabled is set to true here, mysql.geoEnabled must be set to true
Trevor Tait567ff1e2018-05-01 16:20:54 -0400159# if geoEnabled is set to true the following 3 values must be set to their proper values
160 myODLCluster: 127.0.0.1
161 peerODLCluster: 127.0.0.1
Mohammadreza Pasandidehb642ee52018-06-19 15:19:53 -0400162 isPrimaryCluster: true
jmac065e2ce2018-03-29 01:18:02 +0000163 configDir: /opt/onap/sdnc/data/properties
Konrad Bańka5ea1db32020-04-06 14:32:46 +0200164 ccsdkConfigDir: /opt/onap/ccsdk/data/properties
jmac065e2ce2018-03-29 01:18:02 +0000165 dmaapTopic: SUCCESS
jmaca68f4cb2018-05-10 22:44:19 +0000166 dmaapPort: 3904
BorislavG5f3b6192018-03-25 18:12:38 +0300167 logstashServiceName: log-ls
168 logstashPort: 5044
jmac7c434672018-05-11 20:14:17 +0000169 ansibleServiceName: sdnc-ansible-server
170 ansiblePort: 8000
Timoney, Dan (dt5972)6819bc92019-02-12 13:30:49 -0500171 javaHome: /usr/lib/jvm/java-1.8-openjdk
jmac7c434672018-05-11 20:14:17 +0000172
Timoney, Dan (dt5972)58774772019-08-21 16:50:54 -0400173 odl:
174 etcDir: /opt/opendaylight/etc
175 binDir: /opt/opendaylight/bin
176 salConfigDir: /opt/opendaylight/system/org/opendaylight/controller/sal-clustering-config
177 salConfigVersion: 1.8.2
178 akka:
179 seedNodeTimeout: 15s
180 circuitBreaker:
181 maxFailures: 10
182 callTimeout: 90s
183 resetTimeout: 30s
184 recoveryEventTimeout: 90s
185 datastore:
186 persistentActorRestartMinBackoffInSeconds: 10
187 persistentActorRestartMaxBackoffInSeconds: 40
188 persistentActorRestartResetBackoffInSeconds: 20
189 shardTransactionCommitTimeoutInSeconds: 120
190 shardIsolatedLeaderCheckIntervalInMillis: 30000
191 operationTimeoutInSeconds: 120
192 javaOptions:
193 maxGCPauseMillis: 100
194 parallelGCThreads : 3
195 numberGGLogFiles: 10
196
jmac065e2ce2018-03-29 01:18:02 +0000197# dependency / sub-chart configuration
Krzysztof Opasiak6bab0cc2020-04-29 00:55:47 +0200198aafConfig:
199 addconfig: true
200 fqdn: "sdnc"
201 app_ns: "org.osaaf.aaf"
202 fqi: "sdnc@sdnc.onap.org"
203 fqi_namespace: org.onap.sdnc
204 public_fqdn: "sdnc.onap.org"
205 aafDeployFqi: "deployer@people.osaaf.org"
206 aafDeployPass: demo123456!
207 cadi_latitude: "38.0"
208 cadi_longitude: "-72.0"
209 secret_uid: *aaf_secret_uid
210 credsPath: /opt/app/osaaf/local
211
Agarwal, Ruchira (ra1926)ec7c75e2019-10-01 17:36:24 +0000212aaf_init:
213 agentImage: onap/aaf/aaf_agent:2.1.15
214 app_ns: "org.osaaf.aaf"
215 fqi: "sdnc@sdnc.onap.org"
216 fqdn: "sdnc"
217 public_fqdn: "sdnc.onap.org"
218 deploy_fqi: "deployer@people.osaaf.org"
219 deploy_pass: "demo123456!"
220 cadi_latitude: "38.0"
221 cadi_longitude: "-72.0"
222
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100223mariadb-galera: &mariadbGalera
jmac065e2ce2018-03-29 01:18:02 +0000224 nameOverride: sdnc-db
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100225 config: &mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100226 rootPasswordExternalSecret: '{{ ternary (include "common.release" .)-sdnc-db-root-password "" .Values.global.mariadbGalera.localCluster }}'
227 userName: sdnctl
228 userCredentialsExternalSecret: *dbSecretName
jmac065e2ce2018-03-29 01:18:02 +0000229 service:
230 name: sdnc-dbhost
jmacbc92d132018-04-07 03:46:12 +0000231 internalPort: 3306
jmac065e2ce2018-03-29 01:18:02 +0000232 sdnctlPrefix: sdnc
233 persistence:
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +0000234 mountSubPath: sdnc/mariadb-galera
jmac065e2ce2018-03-29 01:18:02 +0000235 enabled: true
jmac065e2ce2018-03-29 01:18:02 +0000236 replicaCount: 1
237
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100238cds:
239 enabled: false
240
241dmaap-listener:
242 nameOverride: sdnc-dmaap-listener
243 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100244 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100245 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100246 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100247 mysqlDatabase: *sdncDbName
248 config:
249 sdncChartName: sdnc
250 dmaapPort: 3904
251 sdncPort: 8282
252 configDir: /opt/onap/sdnc/data/properties
253 odlCredsExternalSecret: *odlCredsSecretName
254
255ueb-listener:
256 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100257 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100258 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100259 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100260 mysqlDatabase: *sdncDbName
261 nameOverride: sdnc-ueb-listener
262 config:
263 sdncPort: 8282
264 sdncChartName: sdnc
265 configDir: /opt/onap/sdnc/data/properties
266 odlCredsExternalSecret: *odlCredsSecretName
267
268sdnc-portal:
269 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100270 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100271 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100272 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100273 mysqlDatabase: *sdncDbName
274 config:
275 sdncChartName: sdnc
276 configDir: /opt/onap/sdnc/data/properties
277 odlCredsExternalSecret: *odlCredsSecretName
278
279sdnc-ansible-server:
280 config:
281 restCredsExternalSecret: *ansibleSecretName
282 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100283 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100284 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100285 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100286 mysqlDatabase: ansible
287 service:
288 name: sdnc-ansible-server
289 internalPort: 8000
290
jmac065e2ce2018-03-29 01:18:02 +0000291dgbuilder:
292 nameOverride: sdnc-dgbuilder
293 config:
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100294 db:
295 dbName: *sdncDbName
296 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 }}'
297 userCredentialsExternalSecret: *dbSecretName
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +0000298 dbPodName: mariadb-galera
299 dbServiceName: mariadb-galera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100300 # This should be revisited and changed to plain text
jmac70863e12018-05-16 14:53:03 +0000301 dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100302 mariadb-galera:
jmac065e2ce2018-03-29 01:18:02 +0000303 service:
BorislavG1ffbd992018-04-24 07:56:27 +0000304 name: sdnc-dgbuilder
jmac065e2ce2018-03-29 01:18:02 +0000305 nodePort: "03"
306
Sylvain Desbureauxe54644e2020-05-04 11:45:16 +0200307 ingress:
308 enabled: false
309 service:
310 - baseaddr: "sdnc-dgbuilder"
311 name: "sdnc-dgbuilder"
312 port: 3000
313 config:
314 ssl: "redirect"
315
Alexander Dehnab86ec12020-02-05 14:38:54 +0000316# local elasticsearch cluster
317localElasticCluster: true
318elasticsearch:
319 nameOverride: sdnrdb
320 name: sdnrdb-cluster
321 aafConfig:
322 fqdn: "sdnc"
323 fqi_namespace: org.onap.sdnc
324 fqi: "sdnc@sdnc.onap.org"
325 service:
326 name: sdnrdb
327
328 master:
329 replicaCount: 3
330 # dedicatednode: "yes"
331 # working as master node only, in this case increase replicaCount for elasticsearch-data
332 # dedicatednode: "no"
333 # handles master and data node functionality
334 dedicatednode: "no"
335 nameOverride: sdnrdb
336
337 curator:
338 enabled: true
339 nameOverride: sdnrdb
340 data:
341 enabled: true
342 replicaCount: 1
343 nameOverride: sdnrdb
344
345
jmac065e2ce2018-03-29 01:18:02 +0000346# default number of instances
347replicaCount: 1
348
349nodeSelector: {}
350
351affinity: {}
352
353# probe configuration parameters
354liveness:
355 initialDelaySeconds: 10
356 periodSeconds: 10
357 # necessary to disable liveness probe when setting breakpoints
358 # in debugger so K8s doesn't restart unresponsive container
359 enabled: true
360
361readiness:
362 initialDelaySeconds: 10
363 periodSeconds: 10
364
365service:
366 type: NodePort
367 name: sdnc
BorislavG1ffbd992018-04-24 07:56:27 +0000368 portName: sdnc
jmac065e2ce2018-03-29 01:18:02 +0000369 internalPort: 8181
370 internalPort2: 8101
371 internalPort3: 8080
Timoney, Dan (dt5972)c6de2692019-08-14 14:22:37 -0400372 internalPort4: 8443
Mohammadreza Pasandidehb756fb72018-04-03 10:06:45 -0400373
jmac065e2ce2018-03-29 01:18:02 +0000374 #port
375 externalPort: 8282
jmac065e2ce2018-03-29 01:18:02 +0000376
377 externalPort2: 8202
jmac065e2ce2018-03-29 01:18:02 +0000378
379 externalPort3: 8280
jmac065e2ce2018-03-29 01:18:02 +0000380
jmaca68f4cb2018-05-10 22:44:19 +0000381 externalPort4: 8443
382 nodePort4: 67
383
jmac065e2ce2018-03-29 01:18:02 +0000384 clusterPort: 2550
Mohammadreza Pasandidehb756fb72018-04-03 10:06:45 -0400385 clusterPort2: 2650
386 clusterPort3: 2681
387
388 geoNodePort1: 61
389 geoNodePort2: 62
390 geoNodePort3: 63
391 geoNodePort4: 64
392 geoNodePort5: 65
393 geoNodePort6: 66
jmac065e2ce2018-03-29 01:18:02 +0000394
jmac8d6dc962018-04-26 14:26:55 +0000395## Persist data to a persitent volume
396persistence:
397 enabled: true
398
399 ## A manually managed Persistent Volume and Claim
400 ## Requires persistence.enabled: true
401 ## If defined, PVC must be created manually before volume will be bound
402 # existingClaim:
403 volumeReclaimPolicy: Retain
404
405 ## database data Persistent Volume Storage Class
406 ## If defined, storageClassName: <storageClass>
407 ## If set to "-", storageClassName: "", which disables dynamic provisioning
408 ## If undefined (the default) or set to null, no storageClassName spec is
409 ## set, choosing the default provisioner. (gp2 on AWS, standard on
410 ## GKE, AWS & OpenStack)
411 accessMode: ReadWriteOnce
412 size: 1Gi
413 mountPath: /dockerdata-nfs
414 mountSubPath: sdnc/mdsal
415 mdsalPath: /opt/opendaylight/current/daexim
416
Rahul Tyagi44cc1ac2019-03-02 06:15:35 +0000417certpersistence:
418 enabled: true
419
420 ## A manually managed Persistent Volume and Claim
421 ## Requires persistence.enabled: true
422 ## If defined, PVC must be created manually before volume will be bound
423 # existingClaim:
424
425 volumeReclaimPolicy: Retain
426 accessMode: ReadWriteOnce
427 size: 50Mi
428 mountPath: /dockerdata-nfs
429 mountSubPath: sdnc/certs
Agarwal, Ruchira (ra1926)ec7c75e2019-10-01 17:36:24 +0000430 certPath: /opt/app/osaaf
Rahul Tyagi44cc1ac2019-03-02 06:15:35 +0000431 ##storageClass: "manual"
432
jmac065e2ce2018-03-29 01:18:02 +0000433ingress:
434 enabled: false
Lucjan Bryndza08448402019-11-27 14:26:54 +0100435 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +0000436 - baseaddr: "sdnc.api"
Lucjan Bryndza08448402019-11-27 14:26:54 +0100437 name: "sdnc"
438 port: 8443
439 config:
440 ssl: "redirect"
jmac065e2ce2018-03-29 01:18:02 +0000441
toshrajbhardwaj72b5f0f2018-09-13 02:45:22 +0000442#Resource Limit flavor -By Default using small
443flavor: small
444#segregation for different envionment (Small and Large)
445
446resources:
Mandeep Khindade045712018-09-19 18:11:57 +0000447 small:
448 limits:
449 cpu: 2
450 memory: 4Gi
451 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000452 cpu: 1
453 memory: 2Gi
Mandeep Khindade045712018-09-19 18:11:57 +0000454 large:
455 limits:
456 cpu: 4
457 memory: 8Gi
458 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000459 cpu: 2
460 memory: 4Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000461 unlimited: {}