blob: 1c9a422babf626fd60384ad9626221f77c386a87 [file] [log] [blame]
Alexander Dehn9b797d62020-04-21 09:53:50 +00001# Copyright © 2020 Samsung Electronics, highstreet technologies GmbH
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00002# Copyright © 2017 Amdocs, Bell Canada
Remigiusz Janeczek42177a12020-12-10 13:10:15 +01003# Copyright © 2021 Nokia
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00004#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16
jmac065e2ce2018-03-29 01:18:02 +000017#################################################################
18# Global configuration defaults.
19#################################################################
20global:
21 nodePortPrefix: 302
jmac0e4f7172018-09-07 18:06:43 +000022 nodePortPrefixExt: 304
jmac065e2ce2018-03-29 01:18:02 +000023 persistence:
24 mountPath: /dockerdata-nfs
Agarwal, Ruchira (ra1926)ec7c75e2019-10-01 17:36:24 +000025 aafEnabled: true
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +010026 mariadbGalera:
27 #This flag allows SO to instantiate its own mariadb-galera cluster
28 #If shared instance is used, this chart assumes that DB already exists
29 localCluster: false
30 service: mariadb-galera
31 internalPort: 3306
32 nameOverride: mariadb-galera
33
34#################################################################
35# Secrets metaconfig
36#################################################################
37secrets:
38 - uid: db-root-password
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010039 name: &rootDbSecret '{{ include "common.release" . }}-sdnc-db-root-password'
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +010040 type: password
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010041 # If we're using shared mariadb, we need to use the secret name (second
42 # part).
43 # If not, we do the same trick than for user db secret hat allows you
44 # override this secret using external one with the same field that is used
45 # to pass this to subchart.
Krzysztof Opasiakab7a6bb2020-03-24 03:30:51 +010046 externalSecret: '{{ .Values.global.mariadbGalera.localCluster |
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010047 ternary ((hasSuffix "sdnc-db-root-password" (index .Values "mariadb-galera" "rootUser" "externalSecret")) |
48 ternary
49 ""
50 (tpl (default "" (index .Values "mariadb-galera" "rootUser" "externalSecret")) .))
51 (include "common.mariadb.secret.rootPassSecretName"
52 (dict "dot" .
53 "chartName" .Values.global.mariadbGalera.nameOverride)) }}'
54 password: '{{ (index .Values "mariadb-galera" "rootUser" "password") }}'
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +010055 - uid: db-secret
56 name: &dbSecretName '{{ include "common.release" . }}-sdnc-db-secret'
57 type: basicAuth
58 # This is a nasty trick that allows you override this secret using external one
59 # with the same field that is used to pass this to subchart
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010060 externalSecret: '{{ (hasSuffix "sdnc-db-secret" (index .Values "mariadb-galera" "db" "externalSecret")) |
61 ternary
62 ""
63 (tpl (default "" (index .Values "mariadb-galera" "db" "externalSecret")) .) }}'
64 login: '{{ index .Values "mariadb-galera" "db" "user" }}'
65 password: '{{ index .Values "mariadb-galera" "db" "password" }}'
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +010066 - uid: odl-creds
67 name: &odlCredsSecretName '{{ include "common.release" . }}-sdnc-odl-creds'
68 type: basicAuth
69 externalSecret: '{{ .Values.config.odlCredsExternalSecret }}'
70 login: '{{ .Values.config.odlUser }}'
71 password: '{{ .Values.config.odlPassword }}'
72 # For now this is left hardcoded but should be revisited in a future
73 passwordPolicy: required
demskeq89d26b332021-01-14 16:45:28 +010074 - uid: dmaap-proxy-creds
75 name: &dmaapProxyCredsSecretName '{{ include "common.release" . }}-sdnc-dmaap-proxy-creds'
76 type: basicAuth
77 externalSecret: '{{ .Values.config.dmaapProxyCredsExternalSecret }}'
78 login: '{{ .Values.config.sdnr.dmaapProxy.user }}'
79 password: '{{ .Values.config.sdnr.dmaapProxy.password }}'
80 # For now this is left hardcoded but should be revisited in a future
81 passwordPolicy: required
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +010082 - uid: netbox-apikey
83 type: password
84 externalSecret: '{{ .Values.config.netboxApikeyExternalSecret }}'
85 password: '{{ .Values.config.netboxApikey }}'
86 passwordPolicy: required
Dan Timoney9e310e72021-02-23 11:25:39 -050087 - uid: aai-truststore-password
88 type: password
89 externalSecret: '{{ .Values.config.aaiTruststoreExternalSecret }}'
90 password: '{{ .Values.config.aaiTruststorePassword }}'
91 passwordPolicy: required
92 - uid: ansible-truststore-password
93 type: password
94 externalSecret: '{{ .Values.config.ansibleTruststoreExternalSecret }}'
95 password: '{{ .Values.config.ansibleTruststorePassword }}'
96 passwordPolicy: required
97 - uid: truststore-password
98 type: password
99 externalSecret: '{{ .Values.config.truststoreExternalSecret }}'
100 password: '{{ .Values.config.truststorePassword }}'
101 passwordPolicy: required
102 - uid: keystore-password
103 type: password
104 externalSecret: '{{ .Values.config.keystoreExternalSecret }}'
105 password: '{{ .Values.config.keystorePassword }}'
106 passwordPolicy: required
107 - uid: dmaap-authkey
108 type: password
109 externalSecret: '{{ .Values.config.dmaapAuthKeyExternalSecret }}'
110 password: '{{ .Values.config.dmaapAuthKey }}'
111 passwordPolicy: required
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100112 - uid: aai-user-creds
113 type: basicAuth
114 externalSecret: '{{ .Values.config.aaiCredsExternalSecret}}'
115 login: '{{ .Values.config.aaiUser }}'
116 password: '{{ .Values.config.aaiPassword }}'
117 passwordPolicy: required
Dan Timoney9e310e72021-02-23 11:25:39 -0500118 - uid: so-user-creds
119 type: basicAuth
120 externalSecret: '{{ .Values.config.soCredsExternalSecret}}'
121 login: '{{ .Values.config.soUser }}'
122 password: '{{ .Values.config.soPassword }}'
123 passwordPolicy: required
124 - uid: neng-user-creds
125 type: basicAuth
126 externalSecret: '{{ .Values.config.nengCredsExternalSecret}}'
127 login: '{{ .Values.config.nengUser }}'
128 password: '{{ .Values.config.nengPassword }}'
129 passwordPolicy: required
130 - uid: cds-user-creds
131 type: basicAuth
132 externalSecret: '{{ .Values.config.cdsCredsExternalSecret}}'
133 login: '{{ .Values.config.cdsUser }}'
134 password: '{{ .Values.config.cdsPassword }}'
135 passwordPolicy: required
136 - uid: honeycomb-user-creds
137 type: basicAuth
138 externalSecret: '{{ .Values.config.honeycombCredsExternalSecret}}'
139 login: '{{ .Values.config.honeycombUser }}'
140 password: '{{ .Values.config.honeycombPassword }}'
141 passwordPolicy: required
142 - uid: dmaap-user-creds
143 type: basicAuth
144 externalSecret: '{{ .Values.config.dmaapCredsExternalSecret}}'
145 login: '{{ .Values.config.dmaapUser }}'
146 password: '{{ .Values.config.dmaapPassword }}'
147 passwordPolicy: required
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100148 - uid: modeling-user-creds
149 type: basicAuth
150 externalSecret: '{{ .Values.config.modelingCredsExternalSecret}}'
151 login: '{{ .Values.config.modelingUser }}'
152 password: '{{ .Values.config.modelingPassword }}'
153 passwordPolicy: required
154 - uid: restconf-creds
155 type: basicAuth
156 externalSecret: '{{ .Values.config.restconfCredsExternalSecret}}'
157 login: '{{ .Values.config.restconfUser }}'
158 password: '{{ .Values.config.restconfPassword }}'
159 passwordPolicy: required
160 - uid: ansible-creds
161 name: &ansibleSecretName '{{ include "common.release" . }}-sdnc-ansible-creds'
162 type: basicAuth
163 externalSecret: '{{ .Values.config.ansibleCredsExternalSecret}}'
164 login: '{{ .Values.config.ansibleUser }}'
165 password: '{{ .Values.config.ansiblePassword }}'
166 passwordPolicy: required
167 - uid: scaleout-creds
168 type: basicAuth
169 externalSecret: '{{ .Values.config.scaleoutCredsExternalSecret}}'
170 login: '{{ .Values.config.scaleoutUser }}'
171 password: '{{ .Values.config.scaleoutPassword }}'
172 passwordPolicy: required
demskeq8b43e92c2021-02-12 15:43:48 +0100173 - uid: oauth-token-secret
174 type: password
175 externalSecret: '{{ ternary (tpl (default "" .Values.config.sdnr.oauth.tokenExternalSecret) .) "oauth-disabled" .Values.config.sdnr.oauth.enabled }}'
176 password: '{{ .Values.config.sdnr.oauth.tokenSecret }}'
177 passwordPolicy: required
178 - uid: keycloak-secret
179 type: password
180 externalSecret: '{{ ternary (tpl (default "" .Values.config.sdnr.oauth.providersSecrets.keycloakExternalSecret) .) "oauth-disabled" .Values.config.sdnr.oauth.enabled }}'
181 password: '{{ .Values.config.sdnr.oauth.providersSecrets.keycloak }}'
182 passwordPolicy: required
183
Jan Malkiewicz0e53c9f2020-12-08 15:08:01 +0100184#################################################################
185# Certificates
186#################################################################
187certificates:
Remigiusz Janeczek42177a12020-12-10 13:10:15 +0100188 - mountPath: /var/custom-certs
189 commonName: sdnc.simpledemo.onap.org
Jan Malkiewicz0e53c9f2020-12-08 15:08:01 +0100190 dnsNames:
191 - sdnc.simpledemo.onap.org
Piotr Marcinkiewicz59571012021-01-12 17:37:08 +0100192 keystore:
193 outputType:
194 - jks
Jan Malkiewicz0e53c9f2020-12-08 15:08:01 +0100195 passwordSecretRef:
Piotr Marcinkiewicz32672932021-03-26 13:06:35 +0100196 create: true
Piotr Marcinkiewicz59571012021-01-12 17:37:08 +0100197 name: sdnc-cmpv2-keystore-password
Jan Malkiewicz0e53c9f2020-12-08 15:08:01 +0100198 key: password
Piotr Marcinkiewicz59571012021-01-12 17:37:08 +0100199 issuer:
200 group: certmanager.onap.org
201 kind: CMPv2Issuer
202 name: cmpv2-issuer-onap
jmac065e2ce2018-03-29 01:18:02 +0000203#################################################################
204# Application configuration defaults.
205#################################################################
206# application images
Alexander Dehn238450f2020-10-27 13:03:53 +0000207
jmac065e2ce2018-03-29 01:18:02 +0000208pullPolicy: Always
Dan Timoneyb3035742021-05-11 19:06:34 -0400209image: onap/sdnc-image:2.1.6
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -0400210
jmac065e2ce2018-03-29 01:18:02 +0000211# flag to enable debugging - application support required
212debugEnabled: false
213
214# application configuration
BorislavG5f3b6192018-03-25 18:12:38 +0300215config:
Timoney, Dan (dt5972)ba4d2eb2019-05-07 13:32:42 -0400216 odlUid: 100
217 odlGid: 101
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100218 odlUser: admin
jmaca68f4cb2018-05-10 22:44:19 +0000219 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100220 # odlCredsExternalSecret: some secret
221 netboxApikey: onceuponatimeiplayedwithnetbox20180814
222 # netboxApikeyExternalSecret: some secret
Dan Timoney9e310e72021-02-23 11:25:39 -0500223 aaiTruststorePassword: changeit
224 # aaiTruststoreExternalSecret: some secret
225 ansibleTruststorePassword: changeit
226 # ansibleTruststoreExternalSecret: some secret
227 truststorePassword: adminadmin
228 # truststoreExternalSecret: some secret
229 keystorePassword: adminadmin
230 # keystoreExternalSecret: some secret
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100231 aaiUser: sdnc@sdnc.onap.org
232 aaiPassword: demo123456!
233 # aaiCredsExternalSecret: some secret
Dan Timoney9e310e72021-02-23 11:25:39 -0500234 soUser: sdncaBpmn
235 soPassword: password1$
236 # soCredsExternalSecret: some secret
237 nengUser: ccsdkapps
238 nengPassword: ccsdkapps
239 # nengCredsExternalSecret: some secret
240 cdsUser: ccsdkapps
241 cdsPassword: ccsdkapps
242 # cdsCredsExternalSecret: some secret
243 honeycombUser: admin
244 honeycombPassword: admin
245 # honeycombCredsExternalSecret: some secret
246 dmaapUser: admin
247 dmaapPassword: admin
248 dmaapAuthKey: "fs20cKwalJ6ry4kX:7Hqm6BDZK47IKxGRkOPFk33qMYs="
249 # dmaapCredsExternalSecret: some secret
250 # dmaapAuthKeyExternalSecret: some secret
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100251 modelingUser: ccsdkapps
252 modelingPassword: ccsdkapps
253 # modelingCredsExternalSecret: some secret
254 restconfUser: admin
255 restconfPassword: admin
256 # restconfCredsExternalSecret: some secret
257 scaleoutUser: admin
258 scaleoutPassword: admin
259 # scaleoutExternalSecret: some secret
260 ansibleUser: sdnc
261 ansiblePassword: sdnc
262 # ansibleCredsExternalSecret: some secret
263 dbSdnctlDatabase: &sdncDbName sdnctl
jmac065e2ce2018-03-29 01:18:02 +0000264 enableClustering: true
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -0400265 sdncHome: /opt/onap/sdnc
jmaca68f4cb2018-05-10 22:44:19 +0000266 binDir: /opt/onap/sdnc/bin
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -0400267 etcDir: /opt/onap/sdnc/data
Trevor Tait567ff1e2018-05-01 16:20:54 -0400268 geoEnabled: false
Neha Jain7b0d6c62018-05-17 14:34:49 -0400269# if geoEnabled is set to true here, mysql.geoEnabled must be set to true
Trevor Tait567ff1e2018-05-01 16:20:54 -0400270# if geoEnabled is set to true the following 3 values must be set to their proper values
271 myODLCluster: 127.0.0.1
272 peerODLCluster: 127.0.0.1
Mohammadreza Pasandidehb642ee52018-06-19 15:19:53 -0400273 isPrimaryCluster: true
jmac065e2ce2018-03-29 01:18:02 +0000274 configDir: /opt/onap/sdnc/data/properties
Konrad Bańka5ea1db32020-04-06 14:32:46 +0200275 ccsdkConfigDir: /opt/onap/ccsdk/data/properties
jmac065e2ce2018-03-29 01:18:02 +0000276 dmaapTopic: SUCCESS
jmaca68f4cb2018-05-10 22:44:19 +0000277 dmaapPort: 3904
BorislavG5f3b6192018-03-25 18:12:38 +0300278 logstashServiceName: log-ls
279 logstashPort: 5044
jmac7c434672018-05-11 20:14:17 +0000280 ansibleServiceName: sdnc-ansible-server
281 ansiblePort: 8000
Dan Timoneya98765b2020-09-14 11:57:55 -0400282 javaHome: /opt/java/openjdk
jmac7c434672018-05-11 20:14:17 +0000283
Timoney, Dan (dt5972)58774772019-08-21 16:50:54 -0400284 odl:
285 etcDir: /opt/opendaylight/etc
286 binDir: /opt/opendaylight/bin
Dan Timoneya98765b2020-09-14 11:57:55 -0400287 gcLogDir: /opt/opendaylight/data/log
Timoney, Dan (dt5972)58774772019-08-21 16:50:54 -0400288 salConfigDir: /opt/opendaylight/system/org/opendaylight/controller/sal-clustering-config
Dan Timoney9520e7c2021-01-12 11:10:58 -0500289 salConfigVersion: 1.10.4
Timoney, Dan (dt5972)58774772019-08-21 16:50:54 -0400290 akka:
291 seedNodeTimeout: 15s
292 circuitBreaker:
293 maxFailures: 10
294 callTimeout: 90s
295 resetTimeout: 30s
296 recoveryEventTimeout: 90s
297 datastore:
298 persistentActorRestartMinBackoffInSeconds: 10
299 persistentActorRestartMaxBackoffInSeconds: 40
300 persistentActorRestartResetBackoffInSeconds: 20
301 shardTransactionCommitTimeoutInSeconds: 120
302 shardIsolatedLeaderCheckIntervalInMillis: 30000
303 operationTimeoutInSeconds: 120
304 javaOptions:
305 maxGCPauseMillis: 100
306 parallelGCThreads : 3
Dan Timoneya98765b2020-09-14 11:57:55 -0400307 numberGCLogFiles: 10
308 minMemory: 512m
309 maxMemory: 2048m
310 gcLogOptions: ""
311 # Next line enables gc logging
312 # gcLogOptions: "-Xlog:gc=trace:file={{.Values.config.odl.gcLogDir}}/gc-%t.log}:time,level,tags:filecount={{.Values.config.odl.javaOptions.numberGCLogFiles}}"
Alexander Dehn9b797d62020-04-21 09:53:50 +0000313 # enables sdnr functionality
314 sdnr:
Alexander Dehn5c1105e2020-09-14 20:55:56 +0000315 enabled: true
Alexander Dehn9b797d62020-04-21 09:53:50 +0000316 # mode: web - SDNC contains device manager only plus dedicated webserver service for ODLUX (default),
317 # mode: dm - SDNC contains sdnr device manager + ODLUX components
318 mode: dm
319 # sdnronly: true starts sdnc container with odl and sdnrwt features only
320 sdnronly: false
321 sdnrdbTrustAllCerts: true
322 mountpointRegistrarEnabled: false
323 mountpointStateProviderEnabled: false
demskeq827854662021-04-08 14:49:47 +0200324 netconfCallHome:
325 enabled: true
demskeq8b43e92c2021-02-12 15:43:48 +0100326 #
demskeq89d26b332021-01-14 16:45:28 +0100327 # enable and set dmaap-proxy for mountpointRegistrar
328 dmaapProxy:
329 enabled: false
330 usepwd: true
331 user: addUserHere
332 password: addPasswordHere
333 url: addProxyUrlHere
demskeq8b43e92c2021-02-12 15:43:48 +0100334 oauth:
335 enabled: false
336 tokenIssuer: ONAP SDNC
337 tokenSecret: secret
338 supportOdlusers: true
339 redirectUri: null
340 publicUrl: none
341 odluxRbac:
342 enabled: true
343 # example definition for a oauth provider
344 providersSecrets:
345 keycloak: d8d7ed52-0691-4353-9ac6-5383e72e9c46
346 providers:
347 - id: keycloak
348 type: KEYCLOAK
349 host: http://keycloak:8080
350 clientId: odlux.app
351 secret: ${KEYCLOAK_SECRET}
352 scope: openid
353 title: ONAP Keycloak Provider
354 roleMapping:
355 mykeycloak: admin
Timoney, Dan (dt5972)58774772019-08-21 16:50:54 -0400356
jmac065e2ce2018-03-29 01:18:02 +0000357# dependency / sub-chart configuration
Krzysztof Opasiak8ab45472020-05-12 12:53:50 +0200358certInitializer:
359 nameOverride: sdnc-cert-initializer
Jozsef Csongvai9d4d5af2020-07-13 11:10:25 -0400360 truststoreMountpath: /opt/onap/sdnc/data/stores
Krzysztof Opasiak6bab0cc2020-04-29 00:55:47 +0200361 fqdn: "sdnc"
362 app_ns: "org.osaaf.aaf"
363 fqi: "sdnc@sdnc.onap.org"
364 fqi_namespace: org.onap.sdnc
365 public_fqdn: "sdnc.onap.org"
366 aafDeployFqi: "deployer@people.osaaf.org"
367 aafDeployPass: demo123456!
368 cadi_latitude: "38.0"
369 cadi_longitude: "-72.0"
Krzysztof Opasiak6bab0cc2020-04-29 00:55:47 +0200370 credsPath: /opt/app/osaaf/local
Krzysztof Opasiak8ab45472020-05-12 12:53:50 +0200371 aaf_add_config: >
372 cd /opt/app/osaaf/local;
373 /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 +0000374
Alexander Dehn9b797d62020-04-21 09:53:50 +0000375# dependency / sub-chart configuration
376network-name-gen:
377 enabled: true
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100378mariadb-galera: &mariadbGalera
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100379 nameOverride: &sdnc-db sdnc-db
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100380 config: &mariadbGaleraConfig
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100381 rootPasswordExternalSecret: *rootDbSecret
382 userName: &dbUser sdnctl
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100383 userCredentialsExternalSecret: *dbSecretName
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100384 rootUser:
385 externalSecret: *rootDbSecret
386 db:
387 user: *dbUser
388 externalSecret: *dbSecretName
jmac065e2ce2018-03-29 01:18:02 +0000389 service:
390 name: sdnc-dbhost
jmac065e2ce2018-03-29 01:18:02 +0000391 sdnctlPrefix: sdnc
392 persistence:
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +0000393 mountSubPath: sdnc/mariadb-galera
jmac065e2ce2018-03-29 01:18:02 +0000394 enabled: true
jmac065e2ce2018-03-29 01:18:02 +0000395 replicaCount: 1
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100396 serviceAccount:
397 nameOverride: *sdnc-db
jmac065e2ce2018-03-29 01:18:02 +0000398
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100399cds:
400 enabled: false
401
402dmaap-listener:
Alexander Dehn9b797d62020-04-21 09:53:50 +0000403 enabled: true
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100404 nameOverride: sdnc-dmaap-listener
405 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100406 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100407 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100408 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100409 mysqlDatabase: *sdncDbName
410 config:
411 sdncChartName: sdnc
412 dmaapPort: 3904
413 sdncPort: 8282
414 configDir: /opt/onap/sdnc/data/properties
415 odlCredsExternalSecret: *odlCredsSecretName
416
417ueb-listener:
Alexander Dehn9b797d62020-04-21 09:53:50 +0000418 enabled: true
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100419 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100420 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100421 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100422 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100423 mysqlDatabase: *sdncDbName
424 nameOverride: sdnc-ueb-listener
425 config:
426 sdncPort: 8282
427 sdncChartName: sdnc
428 configDir: /opt/onap/sdnc/data/properties
429 odlCredsExternalSecret: *odlCredsSecretName
430
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100431sdnc-ansible-server:
Alexander Dehn9b797d62020-04-21 09:53:50 +0000432 enabled: true
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100433 config:
434 restCredsExternalSecret: *ansibleSecretName
435 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100436 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100437 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100438 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100439 mysqlDatabase: ansible
440 service:
441 name: sdnc-ansible-server
442 internalPort: 8000
443
jmac065e2ce2018-03-29 01:18:02 +0000444dgbuilder:
Alexander Dehn9b797d62020-04-21 09:53:50 +0000445 enabled: true
jmac065e2ce2018-03-29 01:18:02 +0000446 nameOverride: sdnc-dgbuilder
Dan Timoneycb0a81f2020-07-15 17:31:43 -0400447 certInitializer:
448 nameOverride: sdnc-dgbuilder-cert-initializer
jmac065e2ce2018-03-29 01:18:02 +0000449 config:
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100450 db:
451 dbName: *sdncDbName
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100452 rootPasswordExternalSecret: '{{ .Values.global.mariadbGalera.localCluster |
453 ternary
454 (printf "%s-sdnc-db-root-password" (include "common.release" .))
455 (include "common.mariadb.secret.rootPassSecretName"
456 (dict "dot" . "chartName" "mariadb-galera")) }}'
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100457 userCredentialsExternalSecret: *dbSecretName
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +0000458 dbPodName: mariadb-galera
459 dbServiceName: mariadb-galera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100460 # This should be revisited and changed to plain text
jmac70863e12018-05-16 14:53:03 +0000461 dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
farida azmydc9aef02021-04-07 17:07:09 +0200462 serviceAccount:
463 nameOverride: sdnc-dgbuilder
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100464 mariadb-galera:
jmac065e2ce2018-03-29 01:18:02 +0000465 service:
BorislavG1ffbd992018-04-24 07:56:27 +0000466 name: sdnc-dgbuilder
jmac065e2ce2018-03-29 01:18:02 +0000467 nodePort: "03"
468
Sylvain Desbureauxe54644e2020-05-04 11:45:16 +0200469 ingress:
470 enabled: false
471 service:
472 - baseaddr: "sdnc-dgbuilder"
473 name: "sdnc-dgbuilder"
474 port: 3000
Alexander Dehn9b797d62020-04-21 09:53:50 +0000475 - baseaddr: "sdnc-web-service"
476 name: "sdnc-web-service"
477 port: 8443
Sylvain Desbureauxe54644e2020-05-04 11:45:16 +0200478 config:
479 ssl: "redirect"
480
Alexander Dehn9b797d62020-04-21 09:53:50 +0000481
482
Alexander Dehnab86ec12020-02-05 14:38:54 +0000483# local elasticsearch cluster
484localElasticCluster: true
485elasticsearch:
Sylvain Desbureaux829344b2020-11-19 17:07:26 +0100486 nameOverride: &elasticSearchName sdnrdb
Alexander Dehnab86ec12020-02-05 14:38:54 +0000487 name: sdnrdb-cluster
Krzysztof Opasiakc6152ce2020-05-09 01:43:08 +0200488 certInitializer:
Alexander Dehnab86ec12020-02-05 14:38:54 +0000489 fqdn: "sdnc"
490 fqi_namespace: org.onap.sdnc
491 fqi: "sdnc@sdnc.onap.org"
492 service:
Sylvain Desbureaux829344b2020-11-19 17:07:26 +0100493 name: *elasticSearchName
Alexander Dehnab86ec12020-02-05 14:38:54 +0000494 master:
495 replicaCount: 3
496 # dedicatednode: "yes"
497 # working as master node only, in this case increase replicaCount for elasticsearch-data
498 # dedicatednode: "no"
499 # handles master and data node functionality
500 dedicatednode: "no"
Sylvain Desbureaux829344b2020-11-19 17:07:26 +0100501 nameOverride: *elasticSearchName
demskeq8eb56da72021-02-19 12:11:48 +0100502 cluster_name: sdnrdb-cluster
Alexander Dehn9b797d62020-04-21 09:53:50 +0000503# enable
504sdnc-web:
Alexander Dehn8789a722020-10-16 14:29:05 +0000505 enabled: true
jmac065e2ce2018-03-29 01:18:02 +0000506# default number of instances
507replicaCount: 1
508
509nodeSelector: {}
510
511affinity: {}
512
513# probe configuration parameters
514liveness:
515 initialDelaySeconds: 10
516 periodSeconds: 10
517 # necessary to disable liveness probe when setting breakpoints
518 # in debugger so K8s doesn't restart unresponsive container
519 enabled: true
520
521readiness:
522 initialDelaySeconds: 10
523 periodSeconds: 10
524
525service:
526 type: NodePort
527 name: sdnc
BorislavG1ffbd992018-04-24 07:56:27 +0000528 portName: sdnc
jmac065e2ce2018-03-29 01:18:02 +0000529 internalPort: 8181
530 internalPort2: 8101
531 internalPort3: 8080
Timoney, Dan (dt5972)c6de2692019-08-14 14:22:37 -0400532 internalPort4: 8443
Mohammadreza Pasandidehb756fb72018-04-03 10:06:45 -0400533
jmac065e2ce2018-03-29 01:18:02 +0000534 #port
535 externalPort: 8282
jmac065e2ce2018-03-29 01:18:02 +0000536
537 externalPort2: 8202
jmac065e2ce2018-03-29 01:18:02 +0000538
539 externalPort3: 8280
jmac065e2ce2018-03-29 01:18:02 +0000540
jmaca68f4cb2018-05-10 22:44:19 +0000541 externalPort4: 8443
542 nodePort4: 67
543
jmac065e2ce2018-03-29 01:18:02 +0000544 clusterPort: 2550
Mohammadreza Pasandidehb756fb72018-04-03 10:06:45 -0400545 clusterPort2: 2650
546 clusterPort3: 2681
547
548 geoNodePort1: 61
549 geoNodePort2: 62
550 geoNodePort3: 63
551 geoNodePort4: 64
552 geoNodePort5: 65
553 geoNodePort6: 66
jmac065e2ce2018-03-29 01:18:02 +0000554
demskeq827854662021-04-08 14:49:47 +0200555 callHomePort: 6666
556 callHomeNodePort: 66
557
jmac8d6dc962018-04-26 14:26:55 +0000558## Persist data to a persitent volume
559persistence:
560 enabled: true
561
562 ## A manually managed Persistent Volume and Claim
563 ## Requires persistence.enabled: true
564 ## If defined, PVC must be created manually before volume will be bound
565 # existingClaim:
566 volumeReclaimPolicy: Retain
567
568 ## database data Persistent Volume Storage Class
569 ## If defined, storageClassName: <storageClass>
570 ## If set to "-", storageClassName: "", which disables dynamic provisioning
571 ## If undefined (the default) or set to null, no storageClassName spec is
572 ## set, choosing the default provisioner. (gp2 on AWS, standard on
573 ## GKE, AWS & OpenStack)
574 accessMode: ReadWriteOnce
575 size: 1Gi
576 mountPath: /dockerdata-nfs
577 mountSubPath: sdnc/mdsal
Dan Timoney2ee28a52021-01-15 16:39:50 -0500578 mdsalPath: /opt/opendaylight/mdsal
demskeq8a86300a2021-02-10 09:53:33 +0100579 daeximPath: /opt/opendaylight/mdsal/daexim
Satoshi Fujii31b8b432021-08-28 12:12:36 +0000580 journalPath: /opt/opendaylight/segmented-journal
Dan Timoney2ee28a52021-01-15 16:39:50 -0500581 snapshotsPath: /opt/opendaylight/snapshots
jmac8d6dc962018-04-26 14:26:55 +0000582
egernug27578332020-03-26 10:27:55 +0000583certpersistence:
584 enabled: true
585
586 ## A manually managed Persistent Volume and Claim
587 ## Requires persistence.enabled: true
588 ## If defined, PVC must be created manually before volume will be bound
589 # existingClaim:
590
591 volumeReclaimPolicy: Retain
592 accessMode: ReadWriteOnce
593 size: 50Mi
594 mountPath: /dockerdata-nfs
595 mountSubPath: sdnc/certs
596 certPath: /opt/app/osaaf
597 ##storageClass: "manual"
598
jmac065e2ce2018-03-29 01:18:02 +0000599ingress:
600 enabled: false
Lucjan Bryndza08448402019-11-27 14:26:54 +0100601 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +0000602 - baseaddr: "sdnc.api"
Lucjan Bryndza08448402019-11-27 14:26:54 +0100603 name: "sdnc"
604 port: 8443
605 config:
606 ssl: "redirect"
jmac065e2ce2018-03-29 01:18:02 +0000607
toshrajbhardwaj72b5f0f2018-09-13 02:45:22 +0000608#Resource Limit flavor -By Default using small
609flavor: small
610#segregation for different envionment (Small and Large)
611
612resources:
Mandeep Khindade045712018-09-19 18:11:57 +0000613 small:
614 limits:
615 cpu: 2
616 memory: 4Gi
617 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000618 cpu: 1
619 memory: 2Gi
Mandeep Khindade045712018-09-19 18:11:57 +0000620 large:
621 limits:
622 cpu: 4
623 memory: 8Gi
624 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000625 cpu: 2
626 memory: 4Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000627 unlimited: {}
farida azmy32c5ed82021-08-04 14:46:09 +0200628
629#Pods Service Account
630serviceAccount:
631 nameOverride: sdnc
632 roles:
633 - read