blob: 6001fab2c1e8080fac70790e40035bd38c606734 [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
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +010072 - uid: netbox-apikey
73 type: password
74 externalSecret: '{{ .Values.config.netboxApikeyExternalSecret }}'
75 password: '{{ .Values.config.netboxApikey }}'
76 passwordPolicy: required
77 - uid: aai-user-creds
78 type: basicAuth
79 externalSecret: '{{ .Values.config.aaiCredsExternalSecret}}'
80 login: '{{ .Values.config.aaiUser }}'
81 password: '{{ .Values.config.aaiPassword }}'
82 passwordPolicy: required
83 - uid: modeling-user-creds
84 type: basicAuth
85 externalSecret: '{{ .Values.config.modelingCredsExternalSecret}}'
86 login: '{{ .Values.config.modelingUser }}'
87 password: '{{ .Values.config.modelingPassword }}'
88 passwordPolicy: required
89 - uid: restconf-creds
90 type: basicAuth
91 externalSecret: '{{ .Values.config.restconfCredsExternalSecret}}'
92 login: '{{ .Values.config.restconfUser }}'
93 password: '{{ .Values.config.restconfPassword }}'
94 passwordPolicy: required
95 - uid: ansible-creds
96 name: &ansibleSecretName '{{ include "common.release" . }}-sdnc-ansible-creds'
97 type: basicAuth
98 externalSecret: '{{ .Values.config.ansibleCredsExternalSecret}}'
99 login: '{{ .Values.config.ansibleUser }}'
100 password: '{{ .Values.config.ansiblePassword }}'
101 passwordPolicy: required
102 - uid: scaleout-creds
103 type: basicAuth
104 externalSecret: '{{ .Values.config.scaleoutCredsExternalSecret}}'
105 login: '{{ .Values.config.scaleoutUser }}'
106 password: '{{ .Values.config.scaleoutPassword }}'
107 passwordPolicy: required
jmac065e2ce2018-03-29 01:18:02 +0000108
109#################################################################
110# Application configuration defaults.
111#################################################################
112# application images
113repository: nexus3.onap.org:10001
114pullPolicy: Always
Dan Timoney830b85f2020-05-27 16:00:05 -0400115image: onap/sdnc-image:1.8.3
jmac065e2ce2018-03-29 01:18:02 +0000116
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -0400117
jmac065e2ce2018-03-29 01:18:02 +0000118# flag to enable debugging - application support required
119debugEnabled: false
120
121# application configuration
BorislavG5f3b6192018-03-25 18:12:38 +0300122config:
Timoney, Dan (dt5972)ba4d2eb2019-05-07 13:32:42 -0400123 odlUid: 100
124 odlGid: 101
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100125 odlUser: admin
jmaca68f4cb2018-05-10 22:44:19 +0000126 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100127 # odlCredsExternalSecret: some secret
128 netboxApikey: onceuponatimeiplayedwithnetbox20180814
129 # netboxApikeyExternalSecret: some secret
130 aaiUser: sdnc@sdnc.onap.org
131 aaiPassword: demo123456!
132 # aaiCredsExternalSecret: some secret
133 modelingUser: ccsdkapps
134 modelingPassword: ccsdkapps
135 # modelingCredsExternalSecret: some secret
136 restconfUser: admin
137 restconfPassword: admin
138 # restconfCredsExternalSecret: some secret
139 scaleoutUser: admin
140 scaleoutPassword: admin
141 # scaleoutExternalSecret: some secret
142 ansibleUser: sdnc
143 ansiblePassword: sdnc
144 # ansibleCredsExternalSecret: some secret
145 dbSdnctlDatabase: &sdncDbName sdnctl
jmac065e2ce2018-03-29 01:18:02 +0000146 enableClustering: true
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -0400147 sdncHome: /opt/onap/sdnc
jmaca68f4cb2018-05-10 22:44:19 +0000148 binDir: /opt/onap/sdnc/bin
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -0400149 etcDir: /opt/onap/sdnc/data
Trevor Tait567ff1e2018-05-01 16:20:54 -0400150 geoEnabled: false
Neha Jain7b0d6c62018-05-17 14:34:49 -0400151# if geoEnabled is set to true here, mysql.geoEnabled must be set to true
Trevor Tait567ff1e2018-05-01 16:20:54 -0400152# if geoEnabled is set to true the following 3 values must be set to their proper values
153 myODLCluster: 127.0.0.1
154 peerODLCluster: 127.0.0.1
Mohammadreza Pasandidehb642ee52018-06-19 15:19:53 -0400155 isPrimaryCluster: true
jmac065e2ce2018-03-29 01:18:02 +0000156 configDir: /opt/onap/sdnc/data/properties
Konrad Bańka5ea1db32020-04-06 14:32:46 +0200157 ccsdkConfigDir: /opt/onap/ccsdk/data/properties
jmac065e2ce2018-03-29 01:18:02 +0000158 dmaapTopic: SUCCESS
jmaca68f4cb2018-05-10 22:44:19 +0000159 dmaapPort: 3904
BorislavG5f3b6192018-03-25 18:12:38 +0300160 logstashServiceName: log-ls
161 logstashPort: 5044
jmac7c434672018-05-11 20:14:17 +0000162 ansibleServiceName: sdnc-ansible-server
163 ansiblePort: 8000
Timoney, Dan (dt5972)6819bc92019-02-12 13:30:49 -0500164 javaHome: /usr/lib/jvm/java-1.8-openjdk
jmac7c434672018-05-11 20:14:17 +0000165
Timoney, Dan (dt5972)58774772019-08-21 16:50:54 -0400166 odl:
167 etcDir: /opt/opendaylight/etc
168 binDir: /opt/opendaylight/bin
169 salConfigDir: /opt/opendaylight/system/org/opendaylight/controller/sal-clustering-config
170 salConfigVersion: 1.8.2
171 akka:
172 seedNodeTimeout: 15s
173 circuitBreaker:
174 maxFailures: 10
175 callTimeout: 90s
176 resetTimeout: 30s
177 recoveryEventTimeout: 90s
178 datastore:
179 persistentActorRestartMinBackoffInSeconds: 10
180 persistentActorRestartMaxBackoffInSeconds: 40
181 persistentActorRestartResetBackoffInSeconds: 20
182 shardTransactionCommitTimeoutInSeconds: 120
183 shardIsolatedLeaderCheckIntervalInMillis: 30000
184 operationTimeoutInSeconds: 120
185 javaOptions:
186 maxGCPauseMillis: 100
187 parallelGCThreads : 3
188 numberGGLogFiles: 10
189
jmac065e2ce2018-03-29 01:18:02 +0000190# dependency / sub-chart configuration
Krzysztof Opasiak8ab45472020-05-12 12:53:50 +0200191certInitializer:
192 nameOverride: sdnc-cert-initializer
Krzysztof Opasiak6bab0cc2020-04-29 00:55:47 +0200193 fqdn: "sdnc"
194 app_ns: "org.osaaf.aaf"
195 fqi: "sdnc@sdnc.onap.org"
196 fqi_namespace: org.onap.sdnc
197 public_fqdn: "sdnc.onap.org"
198 aafDeployFqi: "deployer@people.osaaf.org"
199 aafDeployPass: demo123456!
200 cadi_latitude: "38.0"
201 cadi_longitude: "-72.0"
Krzysztof Opasiak6bab0cc2020-04-29 00:55:47 +0200202 credsPath: /opt/app/osaaf/local
Krzysztof Opasiak8ab45472020-05-12 12:53:50 +0200203 aaf_add_config: >
204 cd /opt/app/osaaf/local;
205 /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
Agarwal, Ruchira (ra1926)ec7c75e2019-10-01 17:36:24 +0000206
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100207mariadb-galera: &mariadbGalera
jmac065e2ce2018-03-29 01:18:02 +0000208 nameOverride: sdnc-db
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100209 config: &mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100210 rootPasswordExternalSecret: '{{ ternary (include "common.release" .)-sdnc-db-root-password "" .Values.global.mariadbGalera.localCluster }}'
211 userName: sdnctl
212 userCredentialsExternalSecret: *dbSecretName
jmac065e2ce2018-03-29 01:18:02 +0000213 service:
214 name: sdnc-dbhost
jmacbc92d132018-04-07 03:46:12 +0000215 internalPort: 3306
jmac065e2ce2018-03-29 01:18:02 +0000216 sdnctlPrefix: sdnc
217 persistence:
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +0000218 mountSubPath: sdnc/mariadb-galera
jmac065e2ce2018-03-29 01:18:02 +0000219 enabled: true
jmac065e2ce2018-03-29 01:18:02 +0000220 replicaCount: 1
221
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100222cds:
223 enabled: false
224
225dmaap-listener:
226 nameOverride: sdnc-dmaap-listener
227 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100228 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100229 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100230 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100231 mysqlDatabase: *sdncDbName
232 config:
233 sdncChartName: sdnc
234 dmaapPort: 3904
235 sdncPort: 8282
236 configDir: /opt/onap/sdnc/data/properties
237 odlCredsExternalSecret: *odlCredsSecretName
238
239ueb-listener:
240 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100241 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100242 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100243 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100244 mysqlDatabase: *sdncDbName
245 nameOverride: sdnc-ueb-listener
246 config:
247 sdncPort: 8282
248 sdncChartName: sdnc
249 configDir: /opt/onap/sdnc/data/properties
250 odlCredsExternalSecret: *odlCredsSecretName
251
252sdnc-portal:
253 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100254 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100255 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100256 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100257 mysqlDatabase: *sdncDbName
258 config:
259 sdncChartName: sdnc
260 configDir: /opt/onap/sdnc/data/properties
261 odlCredsExternalSecret: *odlCredsSecretName
262
263sdnc-ansible-server:
264 config:
265 restCredsExternalSecret: *ansibleSecretName
266 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100267 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100268 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100269 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100270 mysqlDatabase: ansible
271 service:
272 name: sdnc-ansible-server
273 internalPort: 8000
274
jmac065e2ce2018-03-29 01:18:02 +0000275dgbuilder:
276 nameOverride: sdnc-dgbuilder
277 config:
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100278 db:
279 dbName: *sdncDbName
280 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 }}'
281 userCredentialsExternalSecret: *dbSecretName
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +0000282 dbPodName: mariadb-galera
283 dbServiceName: mariadb-galera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100284 # This should be revisited and changed to plain text
jmac70863e12018-05-16 14:53:03 +0000285 dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100286 mariadb-galera:
jmac065e2ce2018-03-29 01:18:02 +0000287 service:
BorislavG1ffbd992018-04-24 07:56:27 +0000288 name: sdnc-dgbuilder
jmac065e2ce2018-03-29 01:18:02 +0000289 nodePort: "03"
290
Sylvain Desbureauxe54644e2020-05-04 11:45:16 +0200291 ingress:
292 enabled: false
293 service:
294 - baseaddr: "sdnc-dgbuilder"
295 name: "sdnc-dgbuilder"
296 port: 3000
297 config:
298 ssl: "redirect"
299
Alexander Dehnab86ec12020-02-05 14:38:54 +0000300# local elasticsearch cluster
301localElasticCluster: true
302elasticsearch:
303 nameOverride: sdnrdb
304 name: sdnrdb-cluster
Krzysztof Opasiakc6152ce2020-05-09 01:43:08 +0200305 certInitializer:
Alexander Dehnab86ec12020-02-05 14:38:54 +0000306 fqdn: "sdnc"
307 fqi_namespace: org.onap.sdnc
308 fqi: "sdnc@sdnc.onap.org"
309 service:
310 name: sdnrdb
311
312 master:
313 replicaCount: 3
314 # dedicatednode: "yes"
315 # working as master node only, in this case increase replicaCount for elasticsearch-data
316 # dedicatednode: "no"
317 # handles master and data node functionality
318 dedicatednode: "no"
319 nameOverride: sdnrdb
320
321 curator:
322 enabled: true
323 nameOverride: sdnrdb
324 data:
325 enabled: true
326 replicaCount: 1
327 nameOverride: sdnrdb
328
329
jmac065e2ce2018-03-29 01:18:02 +0000330# default number of instances
331replicaCount: 1
332
333nodeSelector: {}
334
335affinity: {}
336
337# probe configuration parameters
338liveness:
339 initialDelaySeconds: 10
340 periodSeconds: 10
341 # necessary to disable liveness probe when setting breakpoints
342 # in debugger so K8s doesn't restart unresponsive container
343 enabled: true
344
345readiness:
346 initialDelaySeconds: 10
347 periodSeconds: 10
348
349service:
350 type: NodePort
351 name: sdnc
BorislavG1ffbd992018-04-24 07:56:27 +0000352 portName: sdnc
jmac065e2ce2018-03-29 01:18:02 +0000353 internalPort: 8181
354 internalPort2: 8101
355 internalPort3: 8080
Timoney, Dan (dt5972)c6de2692019-08-14 14:22:37 -0400356 internalPort4: 8443
Mohammadreza Pasandidehb756fb72018-04-03 10:06:45 -0400357
jmac065e2ce2018-03-29 01:18:02 +0000358 #port
359 externalPort: 8282
jmac065e2ce2018-03-29 01:18:02 +0000360
361 externalPort2: 8202
jmac065e2ce2018-03-29 01:18:02 +0000362
363 externalPort3: 8280
jmac065e2ce2018-03-29 01:18:02 +0000364
jmaca68f4cb2018-05-10 22:44:19 +0000365 externalPort4: 8443
366 nodePort4: 67
367
jmac065e2ce2018-03-29 01:18:02 +0000368 clusterPort: 2550
Mohammadreza Pasandidehb756fb72018-04-03 10:06:45 -0400369 clusterPort2: 2650
370 clusterPort3: 2681
371
372 geoNodePort1: 61
373 geoNodePort2: 62
374 geoNodePort3: 63
375 geoNodePort4: 64
376 geoNodePort5: 65
377 geoNodePort6: 66
jmac065e2ce2018-03-29 01:18:02 +0000378
jmac8d6dc962018-04-26 14:26:55 +0000379## Persist data to a persitent volume
380persistence:
381 enabled: true
382
383 ## A manually managed Persistent Volume and Claim
384 ## Requires persistence.enabled: true
385 ## If defined, PVC must be created manually before volume will be bound
386 # existingClaim:
387 volumeReclaimPolicy: Retain
388
389 ## database data Persistent Volume Storage Class
390 ## If defined, storageClassName: <storageClass>
391 ## If set to "-", storageClassName: "", which disables dynamic provisioning
392 ## If undefined (the default) or set to null, no storageClassName spec is
393 ## set, choosing the default provisioner. (gp2 on AWS, standard on
394 ## GKE, AWS & OpenStack)
395 accessMode: ReadWriteOnce
396 size: 1Gi
397 mountPath: /dockerdata-nfs
398 mountSubPath: sdnc/mdsal
399 mdsalPath: /opt/opendaylight/current/daexim
400
jmac065e2ce2018-03-29 01:18:02 +0000401ingress:
402 enabled: false
Lucjan Bryndza08448402019-11-27 14:26:54 +0100403 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +0000404 - baseaddr: "sdnc.api"
Lucjan Bryndza08448402019-11-27 14:26:54 +0100405 name: "sdnc"
406 port: 8443
407 config:
408 ssl: "redirect"
jmac065e2ce2018-03-29 01:18:02 +0000409
toshrajbhardwaj72b5f0f2018-09-13 02:45:22 +0000410#Resource Limit flavor -By Default using small
411flavor: small
412#segregation for different envionment (Small and Large)
413
414resources:
Mandeep Khindade045712018-09-19 18:11:57 +0000415 small:
416 limits:
417 cpu: 2
418 memory: 4Gi
419 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000420 cpu: 1
421 memory: 2Gi
Mandeep Khindade045712018-09-19 18:11:57 +0000422 large:
423 limits:
424 cpu: 4
425 memory: 8Gi
426 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000427 cpu: 2
428 memory: 4Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000429 unlimited: {}