blob: f0d70e2c33ba8a89514628aa037ef229d732c9ac [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
27 persistence:
28 mountPath: /dockerdata-nfs
Agarwal, Ruchira (ra1926)ec7c75e2019-10-01 17:36:24 +000029 aafEnabled: true
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +010030 # envsusbt
31 envsubstImage: dibi/envsubst
32 mariadbGalera:
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
35 localCluster: false
36 service: mariadb-galera
37 internalPort: 3306
38 nameOverride: mariadb-galera
39
40#################################################################
41# Secrets metaconfig
42#################################################################
43secrets:
44 - uid: db-root-password
45 name: '{{ include "common.release" . }}-sdnc-db-root-password'
46 type: password
Krzysztof Opasiakab7a6bb2020-03-24 03:30:51 +010047 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") }}'
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +010056 - uid: db-secret
57 name: &dbSecretName '{{ include "common.release" . }}-sdnc-db-secret'
58 type: basicAuth
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" }}'
64 - uid: odl-creds
65 name: &odlCredsSecretName '{{ include "common.release" . }}-sdnc-odl-creds'
66 type: basicAuth
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
72 - uid: aaf-creds
73 type: basicAuth
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
78 - uid: netbox-apikey
79 type: password
80 externalSecret: '{{ .Values.config.netboxApikeyExternalSecret }}'
81 password: '{{ .Values.config.netboxApikey }}'
82 passwordPolicy: required
83 - uid: aai-user-creds
84 type: basicAuth
85 externalSecret: '{{ .Values.config.aaiCredsExternalSecret}}'
86 login: '{{ .Values.config.aaiUser }}'
87 password: '{{ .Values.config.aaiPassword }}'
88 passwordPolicy: required
89 - uid: modeling-user-creds
90 type: basicAuth
91 externalSecret: '{{ .Values.config.modelingCredsExternalSecret}}'
92 login: '{{ .Values.config.modelingUser }}'
93 password: '{{ .Values.config.modelingPassword }}'
94 passwordPolicy: required
95 - uid: restconf-creds
96 type: basicAuth
97 externalSecret: '{{ .Values.config.restconfCredsExternalSecret}}'
98 login: '{{ .Values.config.restconfUser }}'
99 password: '{{ .Values.config.restconfPassword }}'
100 passwordPolicy: required
101 - uid: ansible-creds
102 name: &ansibleSecretName '{{ include "common.release" . }}-sdnc-ansible-creds'
103 type: basicAuth
104 externalSecret: '{{ .Values.config.ansibleCredsExternalSecret}}'
105 login: '{{ .Values.config.ansibleUser }}'
106 password: '{{ .Values.config.ansiblePassword }}'
107 passwordPolicy: required
108 - uid: scaleout-creds
109 type: basicAuth
110 externalSecret: '{{ .Values.config.scaleoutCredsExternalSecret}}'
111 login: '{{ .Values.config.scaleoutUser }}'
112 password: '{{ .Values.config.scaleoutPassword }}'
113 passwordPolicy: required
jmac065e2ce2018-03-29 01:18:02 +0000114
115#################################################################
116# Application configuration defaults.
117#################################################################
118# application images
119repository: nexus3.onap.org:10001
120pullPolicy: Always
Dan Timoney1a0b6c92020-04-13 11:47:06 -0400121image: onap/sdnc-image:1.8.1
jmac065e2ce2018-03-29 01:18:02 +0000122
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -0400123
jmac065e2ce2018-03-29 01:18:02 +0000124# flag to enable debugging - application support required
125debugEnabled: false
126
127# application configuration
BorislavG5f3b6192018-03-25 18:12:38 +0300128config:
Timoney, Dan (dt5972)ba4d2eb2019-05-07 13:32:42 -0400129 odlUid: 100
130 odlGid: 101
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100131 odlUser: admin
jmaca68f4cb2018-05-10 22:44:19 +0000132 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100133 # 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
142 restconfUser: admin
143 restconfPassword: admin
144 # restconfCredsExternalSecret: some secret
145 scaleoutUser: admin
146 scaleoutPassword: admin
147 # scaleoutExternalSecret: some secret
148 ansibleUser: sdnc
149 ansiblePassword: sdnc
150 # ansibleCredsExternalSecret: some secret
151 dbSdnctlDatabase: &sdncDbName sdnctl
jmac065e2ce2018-03-29 01:18:02 +0000152 enableClustering: true
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -0400153 sdncHome: /opt/onap/sdnc
jmaca68f4cb2018-05-10 22:44:19 +0000154 binDir: /opt/onap/sdnc/bin
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -0400155 etcDir: /opt/onap/sdnc/data
Trevor Tait567ff1e2018-05-01 16:20:54 -0400156 geoEnabled: false
Neha Jain7b0d6c62018-05-17 14:34:49 -0400157# if geoEnabled is set to true here, mysql.geoEnabled must be set to true
Trevor Tait567ff1e2018-05-01 16:20:54 -0400158# 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
Mohammadreza Pasandidehb642ee52018-06-19 15:19:53 -0400161 isPrimaryCluster: true
jmac065e2ce2018-03-29 01:18:02 +0000162 configDir: /opt/onap/sdnc/data/properties
Konrad Bańka5ea1db32020-04-06 14:32:46 +0200163 ccsdkConfigDir: /opt/onap/ccsdk/data/properties
jmac065e2ce2018-03-29 01:18:02 +0000164 dmaapTopic: SUCCESS
jmaca68f4cb2018-05-10 22:44:19 +0000165 dmaapPort: 3904
BorislavG5f3b6192018-03-25 18:12:38 +0300166 logstashServiceName: log-ls
167 logstashPort: 5044
jmac7c434672018-05-11 20:14:17 +0000168 ansibleServiceName: sdnc-ansible-server
169 ansiblePort: 8000
Timoney, Dan (dt5972)6819bc92019-02-12 13:30:49 -0500170 javaHome: /usr/lib/jvm/java-1.8-openjdk
jmac7c434672018-05-11 20:14:17 +0000171
Timoney, Dan (dt5972)58774772019-08-21 16:50:54 -0400172 odl:
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
177 akka:
178 seedNodeTimeout: 15s
179 circuitBreaker:
180 maxFailures: 10
181 callTimeout: 90s
182 resetTimeout: 30s
183 recoveryEventTimeout: 90s
184 datastore:
185 persistentActorRestartMinBackoffInSeconds: 10
186 persistentActorRestartMaxBackoffInSeconds: 40
187 persistentActorRestartResetBackoffInSeconds: 20
188 shardTransactionCommitTimeoutInSeconds: 120
189 shardIsolatedLeaderCheckIntervalInMillis: 30000
190 operationTimeoutInSeconds: 120
191 javaOptions:
192 maxGCPauseMillis: 100
193 parallelGCThreads : 3
194 numberGGLogFiles: 10
195
jmac065e2ce2018-03-29 01:18:02 +0000196# dependency / sub-chart configuration
Agarwal, Ruchira (ra1926)ec7c75e2019-10-01 17:36:24 +0000197aaf_init:
198 agentImage: onap/aaf/aaf_agent:2.1.15
199 app_ns: "org.osaaf.aaf"
200 fqi: "sdnc@sdnc.onap.org"
201 fqdn: "sdnc"
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"
207
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100208mariadb-galera: &mariadbGalera
jmac065e2ce2018-03-29 01:18:02 +0000209 nameOverride: sdnc-db
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100210 config: &mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100211 rootPasswordExternalSecret: '{{ ternary (include "common.release" .)-sdnc-db-root-password "" .Values.global.mariadbGalera.localCluster }}'
212 userName: sdnctl
213 userCredentialsExternalSecret: *dbSecretName
jmac065e2ce2018-03-29 01:18:02 +0000214 service:
215 name: sdnc-dbhost
jmacbc92d132018-04-07 03:46:12 +0000216 internalPort: 3306
jmac065e2ce2018-03-29 01:18:02 +0000217 sdnctlPrefix: sdnc
218 persistence:
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +0000219 mountSubPath: sdnc/mariadb-galera
jmac065e2ce2018-03-29 01:18:02 +0000220 enabled: true
jmac065e2ce2018-03-29 01:18:02 +0000221 replicaCount: 1
222
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100223cds:
224 enabled: false
225
226dmaap-listener:
227 nameOverride: sdnc-dmaap-listener
228 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100229 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100230 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100231 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100232 mysqlDatabase: *sdncDbName
233 config:
234 sdncChartName: sdnc
235 dmaapPort: 3904
236 sdncPort: 8282
237 configDir: /opt/onap/sdnc/data/properties
238 odlCredsExternalSecret: *odlCredsSecretName
239
240ueb-listener:
241 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100242 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100243 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100244 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100245 mysqlDatabase: *sdncDbName
246 nameOverride: sdnc-ueb-listener
247 config:
248 sdncPort: 8282
249 sdncChartName: sdnc
250 configDir: /opt/onap/sdnc/data/properties
251 odlCredsExternalSecret: *odlCredsSecretName
252
253sdnc-portal:
254 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100255 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100256 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100257 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100258 mysqlDatabase: *sdncDbName
259 config:
260 sdncChartName: sdnc
261 configDir: /opt/onap/sdnc/data/properties
262 odlCredsExternalSecret: *odlCredsSecretName
263
264sdnc-ansible-server:
265 config:
266 restCredsExternalSecret: *ansibleSecretName
267 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100268 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100269 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100270 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100271 mysqlDatabase: ansible
272 service:
273 name: sdnc-ansible-server
274 internalPort: 8000
275
jmac065e2ce2018-03-29 01:18:02 +0000276dgbuilder:
277 nameOverride: sdnc-dgbuilder
278 config:
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100279 db:
280 dbName: *sdncDbName
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
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +0000283 dbPodName: mariadb-galera
284 dbServiceName: mariadb-galera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100285 # This should be revisited and changed to plain text
jmac70863e12018-05-16 14:53:03 +0000286 dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100287 mariadb-galera:
jmac065e2ce2018-03-29 01:18:02 +0000288 service:
BorislavG1ffbd992018-04-24 07:56:27 +0000289 name: sdnc-dgbuilder
jmac065e2ce2018-03-29 01:18:02 +0000290 nodePort: "03"
291
Sylvain Desbureauxe54644e2020-05-04 11:45:16 +0200292 ingress:
293 enabled: false
294 service:
295 - baseaddr: "sdnc-dgbuilder"
296 name: "sdnc-dgbuilder"
297 port: 3000
298 config:
299 ssl: "redirect"
300
Alexander Dehnab86ec12020-02-05 14:38:54 +0000301# local elasticsearch cluster
302localElasticCluster: true
303elasticsearch:
304 nameOverride: sdnrdb
305 name: sdnrdb-cluster
306 aafConfig:
307 fqdn: "sdnc"
308 fqi_namespace: org.onap.sdnc
309 fqi: "sdnc@sdnc.onap.org"
310 service:
311 name: sdnrdb
312
313 master:
314 replicaCount: 3
315 # dedicatednode: "yes"
316 # working as master node only, in this case increase replicaCount for elasticsearch-data
317 # dedicatednode: "no"
318 # handles master and data node functionality
319 dedicatednode: "no"
320 nameOverride: sdnrdb
321
322 curator:
323 enabled: true
324 nameOverride: sdnrdb
325 data:
326 enabled: true
327 replicaCount: 1
328 nameOverride: sdnrdb
329
330
jmac065e2ce2018-03-29 01:18:02 +0000331# default number of instances
332replicaCount: 1
333
334nodeSelector: {}
335
336affinity: {}
337
338# probe configuration parameters
339liveness:
340 initialDelaySeconds: 10
341 periodSeconds: 10
342 # necessary to disable liveness probe when setting breakpoints
343 # in debugger so K8s doesn't restart unresponsive container
344 enabled: true
345
346readiness:
347 initialDelaySeconds: 10
348 periodSeconds: 10
349
350service:
351 type: NodePort
352 name: sdnc
BorislavG1ffbd992018-04-24 07:56:27 +0000353 portName: sdnc
jmac065e2ce2018-03-29 01:18:02 +0000354 internalPort: 8181
355 internalPort2: 8101
356 internalPort3: 8080
Timoney, Dan (dt5972)c6de2692019-08-14 14:22:37 -0400357 internalPort4: 8443
Mohammadreza Pasandidehb756fb72018-04-03 10:06:45 -0400358
jmac065e2ce2018-03-29 01:18:02 +0000359 #port
360 externalPort: 8282
jmac065e2ce2018-03-29 01:18:02 +0000361
362 externalPort2: 8202
jmac065e2ce2018-03-29 01:18:02 +0000363
364 externalPort3: 8280
jmac065e2ce2018-03-29 01:18:02 +0000365
jmaca68f4cb2018-05-10 22:44:19 +0000366 externalPort4: 8443
367 nodePort4: 67
368
jmac065e2ce2018-03-29 01:18:02 +0000369 clusterPort: 2550
Mohammadreza Pasandidehb756fb72018-04-03 10:06:45 -0400370 clusterPort2: 2650
371 clusterPort3: 2681
372
373 geoNodePort1: 61
374 geoNodePort2: 62
375 geoNodePort3: 63
376 geoNodePort4: 64
377 geoNodePort5: 65
378 geoNodePort6: 66
jmac065e2ce2018-03-29 01:18:02 +0000379
jmac8d6dc962018-04-26 14:26:55 +0000380## Persist data to a persitent volume
381persistence:
382 enabled: true
383
384 ## A manually managed Persistent Volume and Claim
385 ## Requires persistence.enabled: true
386 ## If defined, PVC must be created manually before volume will be bound
387 # existingClaim:
388 volumeReclaimPolicy: Retain
389
390 ## database data Persistent Volume Storage Class
391 ## If defined, storageClassName: <storageClass>
392 ## If set to "-", storageClassName: "", which disables dynamic provisioning
393 ## If undefined (the default) or set to null, no storageClassName spec is
394 ## set, choosing the default provisioner. (gp2 on AWS, standard on
395 ## GKE, AWS & OpenStack)
396 accessMode: ReadWriteOnce
397 size: 1Gi
398 mountPath: /dockerdata-nfs
399 mountSubPath: sdnc/mdsal
400 mdsalPath: /opt/opendaylight/current/daexim
401
Rahul Tyagi44cc1ac2019-03-02 06:15:35 +0000402certpersistence:
403 enabled: true
404
405 ## A manually managed Persistent Volume and Claim
406 ## Requires persistence.enabled: true
407 ## If defined, PVC must be created manually before volume will be bound
408 # existingClaim:
409
410 volumeReclaimPolicy: Retain
411 accessMode: ReadWriteOnce
412 size: 50Mi
413 mountPath: /dockerdata-nfs
414 mountSubPath: sdnc/certs
Agarwal, Ruchira (ra1926)ec7c75e2019-10-01 17:36:24 +0000415 certPath: /opt/app/osaaf
Rahul Tyagi44cc1ac2019-03-02 06:15:35 +0000416 ##storageClass: "manual"
417
jmac065e2ce2018-03-29 01:18:02 +0000418ingress:
419 enabled: false
Lucjan Bryndza08448402019-11-27 14:26:54 +0100420 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +0000421 - baseaddr: "sdnc.api"
Lucjan Bryndza08448402019-11-27 14:26:54 +0100422 name: "sdnc"
423 port: 8443
424 config:
425 ssl: "redirect"
jmac065e2ce2018-03-29 01:18:02 +0000426
toshrajbhardwaj72b5f0f2018-09-13 02:45:22 +0000427#Resource Limit flavor -By Default using small
428flavor: small
429#segregation for different envionment (Small and Large)
430
431resources:
Mandeep Khindade045712018-09-19 18:11:57 +0000432 small:
433 limits:
434 cpu: 2
435 memory: 4Gi
436 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000437 cpu: 1
438 memory: 2Gi
Mandeep Khindade045712018-09-19 18:11:57 +0000439 large:
440 limits:
441 cpu: 4
442 memory: 8Gi
443 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000444 cpu: 2
445 memory: 4Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000446 unlimited: {}