blob: 399740ed053e6f4b375fad74723b70c432455260 [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
Remigiusz Janeczek42177a12020-12-10 13:10:15 +010033 # Enabling CMPv2 with CertManager
Jan Malkiewicz0e53c9f2020-12-08 15:08:01 +010034 CMPv2CertManagerIntegration: false
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +010035
36#################################################################
37# Secrets metaconfig
38#################################################################
39secrets:
40 - uid: db-root-password
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010041 name: &rootDbSecret '{{ include "common.release" . }}-sdnc-db-root-password'
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +010042 type: password
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010043 # If we're using shared mariadb, we need to use the secret name (second
44 # part).
45 # If not, we do the same trick than for user db secret hat allows you
46 # override this secret using external one with the same field that is used
47 # to pass this to subchart.
Krzysztof Opasiakab7a6bb2020-03-24 03:30:51 +010048 externalSecret: '{{ .Values.global.mariadbGalera.localCluster |
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010049 ternary ((hasSuffix "sdnc-db-root-password" (index .Values "mariadb-galera" "rootUser" "externalSecret")) |
50 ternary
51 ""
52 (tpl (default "" (index .Values "mariadb-galera" "rootUser" "externalSecret")) .))
53 (include "common.mariadb.secret.rootPassSecretName"
54 (dict "dot" .
55 "chartName" .Values.global.mariadbGalera.nameOverride)) }}'
56 password: '{{ (index .Values "mariadb-galera" "rootUser" "password") }}'
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
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010062 externalSecret: '{{ (hasSuffix "sdnc-db-secret" (index .Values "mariadb-galera" "db" "externalSecret")) |
63 ternary
64 ""
65 (tpl (default "" (index .Values "mariadb-galera" "db" "externalSecret")) .) }}'
66 login: '{{ index .Values "mariadb-galera" "db" "user" }}'
67 password: '{{ index .Values "mariadb-galera" "db" "password" }}'
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +010068 - uid: odl-creds
69 name: &odlCredsSecretName '{{ include "common.release" . }}-sdnc-odl-creds'
70 type: basicAuth
71 externalSecret: '{{ .Values.config.odlCredsExternalSecret }}'
72 login: '{{ .Values.config.odlUser }}'
73 password: '{{ .Values.config.odlPassword }}'
74 # For now this is left hardcoded but should be revisited in a future
75 passwordPolicy: required
demskeq89d26b332021-01-14 16:45:28 +010076 - uid: dmaap-proxy-creds
77 name: &dmaapProxyCredsSecretName '{{ include "common.release" . }}-sdnc-dmaap-proxy-creds'
78 type: basicAuth
79 externalSecret: '{{ .Values.config.dmaapProxyCredsExternalSecret }}'
80 login: '{{ .Values.config.sdnr.dmaapProxy.user }}'
81 password: '{{ .Values.config.sdnr.dmaapProxy.password }}'
82 # For now this is left hardcoded but should be revisited in a future
83 passwordPolicy: required
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +010084 - uid: netbox-apikey
85 type: password
86 externalSecret: '{{ .Values.config.netboxApikeyExternalSecret }}'
87 password: '{{ .Values.config.netboxApikey }}'
88 passwordPolicy: required
Dan Timoney9e310e72021-02-23 11:25:39 -050089 - uid: aai-truststore-password
90 type: password
91 externalSecret: '{{ .Values.config.aaiTruststoreExternalSecret }}'
92 password: '{{ .Values.config.aaiTruststorePassword }}'
93 passwordPolicy: required
94 - uid: ansible-truststore-password
95 type: password
96 externalSecret: '{{ .Values.config.ansibleTruststoreExternalSecret }}'
97 password: '{{ .Values.config.ansibleTruststorePassword }}'
98 passwordPolicy: required
99 - uid: truststore-password
100 type: password
101 externalSecret: '{{ .Values.config.truststoreExternalSecret }}'
102 password: '{{ .Values.config.truststorePassword }}'
103 passwordPolicy: required
104 - uid: keystore-password
105 type: password
106 externalSecret: '{{ .Values.config.keystoreExternalSecret }}'
107 password: '{{ .Values.config.keystorePassword }}'
108 passwordPolicy: required
109 - uid: dmaap-authkey
110 type: password
111 externalSecret: '{{ .Values.config.dmaapAuthKeyExternalSecret }}'
112 password: '{{ .Values.config.dmaapAuthKey }}'
113 passwordPolicy: required
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100114 - uid: aai-user-creds
115 type: basicAuth
116 externalSecret: '{{ .Values.config.aaiCredsExternalSecret}}'
117 login: '{{ .Values.config.aaiUser }}'
118 password: '{{ .Values.config.aaiPassword }}'
119 passwordPolicy: required
Dan Timoney9e310e72021-02-23 11:25:39 -0500120 - uid: so-user-creds
121 type: basicAuth
122 externalSecret: '{{ .Values.config.soCredsExternalSecret}}'
123 login: '{{ .Values.config.soUser }}'
124 password: '{{ .Values.config.soPassword }}'
125 passwordPolicy: required
126 - uid: neng-user-creds
127 type: basicAuth
128 externalSecret: '{{ .Values.config.nengCredsExternalSecret}}'
129 login: '{{ .Values.config.nengUser }}'
130 password: '{{ .Values.config.nengPassword }}'
131 passwordPolicy: required
132 - uid: cds-user-creds
133 type: basicAuth
134 externalSecret: '{{ .Values.config.cdsCredsExternalSecret}}'
135 login: '{{ .Values.config.cdsUser }}'
136 password: '{{ .Values.config.cdsPassword }}'
137 passwordPolicy: required
138 - uid: honeycomb-user-creds
139 type: basicAuth
140 externalSecret: '{{ .Values.config.honeycombCredsExternalSecret}}'
141 login: '{{ .Values.config.honeycombUser }}'
142 password: '{{ .Values.config.honeycombPassword }}'
143 passwordPolicy: required
144 - uid: dmaap-user-creds
145 type: basicAuth
146 externalSecret: '{{ .Values.config.dmaapCredsExternalSecret}}'
147 login: '{{ .Values.config.dmaapUser }}'
148 password: '{{ .Values.config.dmaapPassword }}'
149 passwordPolicy: required
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100150 - uid: modeling-user-creds
151 type: basicAuth
152 externalSecret: '{{ .Values.config.modelingCredsExternalSecret}}'
153 login: '{{ .Values.config.modelingUser }}'
154 password: '{{ .Values.config.modelingPassword }}'
155 passwordPolicy: required
156 - uid: restconf-creds
157 type: basicAuth
158 externalSecret: '{{ .Values.config.restconfCredsExternalSecret}}'
159 login: '{{ .Values.config.restconfUser }}'
160 password: '{{ .Values.config.restconfPassword }}'
161 passwordPolicy: required
162 - uid: ansible-creds
163 name: &ansibleSecretName '{{ include "common.release" . }}-sdnc-ansible-creds'
164 type: basicAuth
165 externalSecret: '{{ .Values.config.ansibleCredsExternalSecret}}'
166 login: '{{ .Values.config.ansibleUser }}'
167 password: '{{ .Values.config.ansiblePassword }}'
168 passwordPolicy: required
169 - uid: scaleout-creds
170 type: basicAuth
171 externalSecret: '{{ .Values.config.scaleoutCredsExternalSecret}}'
172 login: '{{ .Values.config.scaleoutUser }}'
173 password: '{{ .Values.config.scaleoutPassword }}'
174 passwordPolicy: required
demskeq8b43e92c2021-02-12 15:43:48 +0100175 - uid: oauth-token-secret
176 type: password
177 externalSecret: '{{ ternary (tpl (default "" .Values.config.sdnr.oauth.tokenExternalSecret) .) "oauth-disabled" .Values.config.sdnr.oauth.enabled }}'
178 password: '{{ .Values.config.sdnr.oauth.tokenSecret }}'
179 passwordPolicy: required
180 - uid: keycloak-secret
181 type: password
182 externalSecret: '{{ ternary (tpl (default "" .Values.config.sdnr.oauth.providersSecrets.keycloakExternalSecret) .) "oauth-disabled" .Values.config.sdnr.oauth.enabled }}'
183 password: '{{ .Values.config.sdnr.oauth.providersSecrets.keycloak }}'
184 passwordPolicy: required
185
Jan Malkiewicz0e53c9f2020-12-08 15:08:01 +0100186#################################################################
187# Certificates
188#################################################################
189certificates:
Remigiusz Janeczek42177a12020-12-10 13:10:15 +0100190 - mountPath: /var/custom-certs
191 commonName: sdnc.simpledemo.onap.org
Jan Malkiewicz0e53c9f2020-12-08 15:08:01 +0100192 dnsNames:
193 - sdnc.simpledemo.onap.org
Piotr Marcinkiewicz59571012021-01-12 17:37:08 +0100194 keystore:
195 outputType:
196 - jks
Jan Malkiewicz0e53c9f2020-12-08 15:08:01 +0100197 passwordSecretRef:
Piotr Marcinkiewicz59571012021-01-12 17:37:08 +0100198 name: sdnc-cmpv2-keystore-password
Jan Malkiewicz0e53c9f2020-12-08 15:08:01 +0100199 key: password
Piotr Marcinkiewicz59571012021-01-12 17:37:08 +0100200 issuer:
201 group: certmanager.onap.org
202 kind: CMPv2Issuer
203 name: cmpv2-issuer-onap
jmac065e2ce2018-03-29 01:18:02 +0000204#################################################################
205# Application configuration defaults.
206#################################################################
207# application images
Alexander Dehn238450f2020-10-27 13:03:53 +0000208
jmac065e2ce2018-03-29 01:18:02 +0000209pullPolicy: Always
Dan Timoney9e310e72021-02-23 11:25:39 -0500210image: onap/sdnc-image:2.1.3
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -0400211
jmac065e2ce2018-03-29 01:18:02 +0000212# flag to enable debugging - application support required
213debugEnabled: false
214
215# application configuration
BorislavG5f3b6192018-03-25 18:12:38 +0300216config:
Timoney, Dan (dt5972)ba4d2eb2019-05-07 13:32:42 -0400217 odlUid: 100
218 odlGid: 101
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100219 odlUser: admin
jmaca68f4cb2018-05-10 22:44:19 +0000220 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100221 # odlCredsExternalSecret: some secret
222 netboxApikey: onceuponatimeiplayedwithnetbox20180814
223 # netboxApikeyExternalSecret: some secret
Dan Timoney9e310e72021-02-23 11:25:39 -0500224 aaiTruststorePassword: changeit
225 # aaiTruststoreExternalSecret: some secret
226 ansibleTruststorePassword: changeit
227 # ansibleTruststoreExternalSecret: some secret
228 truststorePassword: adminadmin
229 # truststoreExternalSecret: some secret
230 keystorePassword: adminadmin
231 # keystoreExternalSecret: some secret
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100232 aaiUser: sdnc@sdnc.onap.org
233 aaiPassword: demo123456!
234 # aaiCredsExternalSecret: some secret
Dan Timoney9e310e72021-02-23 11:25:39 -0500235 soUser: sdncaBpmn
236 soPassword: password1$
237 # soCredsExternalSecret: some secret
238 nengUser: ccsdkapps
239 nengPassword: ccsdkapps
240 # nengCredsExternalSecret: some secret
241 cdsUser: ccsdkapps
242 cdsPassword: ccsdkapps
243 # cdsCredsExternalSecret: some secret
244 honeycombUser: admin
245 honeycombPassword: admin
246 # honeycombCredsExternalSecret: some secret
247 dmaapUser: admin
248 dmaapPassword: admin
249 dmaapAuthKey: "fs20cKwalJ6ry4kX:7Hqm6BDZK47IKxGRkOPFk33qMYs="
250 # dmaapCredsExternalSecret: some secret
251 # dmaapAuthKeyExternalSecret: some secret
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100252 modelingUser: ccsdkapps
253 modelingPassword: ccsdkapps
254 # modelingCredsExternalSecret: some secret
255 restconfUser: admin
256 restconfPassword: admin
257 # restconfCredsExternalSecret: some secret
258 scaleoutUser: admin
259 scaleoutPassword: admin
260 # scaleoutExternalSecret: some secret
261 ansibleUser: sdnc
262 ansiblePassword: sdnc
263 # ansibleCredsExternalSecret: some secret
264 dbSdnctlDatabase: &sdncDbName sdnctl
jmac065e2ce2018-03-29 01:18:02 +0000265 enableClustering: true
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -0400266 sdncHome: /opt/onap/sdnc
jmaca68f4cb2018-05-10 22:44:19 +0000267 binDir: /opt/onap/sdnc/bin
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -0400268 etcDir: /opt/onap/sdnc/data
Trevor Tait567ff1e2018-05-01 16:20:54 -0400269 geoEnabled: false
Neha Jain7b0d6c62018-05-17 14:34:49 -0400270# if geoEnabled is set to true here, mysql.geoEnabled must be set to true
Trevor Tait567ff1e2018-05-01 16:20:54 -0400271# if geoEnabled is set to true the following 3 values must be set to their proper values
272 myODLCluster: 127.0.0.1
273 peerODLCluster: 127.0.0.1
Mohammadreza Pasandidehb642ee52018-06-19 15:19:53 -0400274 isPrimaryCluster: true
jmac065e2ce2018-03-29 01:18:02 +0000275 configDir: /opt/onap/sdnc/data/properties
Konrad Bańka5ea1db32020-04-06 14:32:46 +0200276 ccsdkConfigDir: /opt/onap/ccsdk/data/properties
jmac065e2ce2018-03-29 01:18:02 +0000277 dmaapTopic: SUCCESS
jmaca68f4cb2018-05-10 22:44:19 +0000278 dmaapPort: 3904
BorislavG5f3b6192018-03-25 18:12:38 +0300279 logstashServiceName: log-ls
280 logstashPort: 5044
jmac7c434672018-05-11 20:14:17 +0000281 ansibleServiceName: sdnc-ansible-server
282 ansiblePort: 8000
Dan Timoneya98765b2020-09-14 11:57:55 -0400283 javaHome: /opt/java/openjdk
jmac7c434672018-05-11 20:14:17 +0000284
Timoney, Dan (dt5972)58774772019-08-21 16:50:54 -0400285 odl:
286 etcDir: /opt/opendaylight/etc
287 binDir: /opt/opendaylight/bin
Dan Timoneya98765b2020-09-14 11:57:55 -0400288 gcLogDir: /opt/opendaylight/data/log
Timoney, Dan (dt5972)58774772019-08-21 16:50:54 -0400289 salConfigDir: /opt/opendaylight/system/org/opendaylight/controller/sal-clustering-config
Dan Timoney9520e7c2021-01-12 11:10:58 -0500290 salConfigVersion: 1.10.4
Timoney, Dan (dt5972)58774772019-08-21 16:50:54 -0400291 akka:
292 seedNodeTimeout: 15s
293 circuitBreaker:
294 maxFailures: 10
295 callTimeout: 90s
296 resetTimeout: 30s
297 recoveryEventTimeout: 90s
298 datastore:
299 persistentActorRestartMinBackoffInSeconds: 10
300 persistentActorRestartMaxBackoffInSeconds: 40
301 persistentActorRestartResetBackoffInSeconds: 20
302 shardTransactionCommitTimeoutInSeconds: 120
303 shardIsolatedLeaderCheckIntervalInMillis: 30000
304 operationTimeoutInSeconds: 120
305 javaOptions:
306 maxGCPauseMillis: 100
307 parallelGCThreads : 3
Dan Timoneya98765b2020-09-14 11:57:55 -0400308 numberGCLogFiles: 10
309 minMemory: 512m
310 maxMemory: 2048m
311 gcLogOptions: ""
312 # Next line enables gc logging
313 # 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 +0000314 # enables sdnr functionality
315 sdnr:
Alexander Dehn5c1105e2020-09-14 20:55:56 +0000316 enabled: true
Alexander Dehn9b797d62020-04-21 09:53:50 +0000317 # mode: web - SDNC contains device manager only plus dedicated webserver service for ODLUX (default),
318 # mode: dm - SDNC contains sdnr device manager + ODLUX components
319 mode: dm
320 # sdnronly: true starts sdnc container with odl and sdnrwt features only
321 sdnronly: false
322 sdnrdbTrustAllCerts: true
323 mountpointRegistrarEnabled: false
324 mountpointStateProviderEnabled: false
demskeq8b43e92c2021-02-12 15:43:48 +0100325 #
demskeq89d26b332021-01-14 16:45:28 +0100326 # enable and set dmaap-proxy for mountpointRegistrar
327 dmaapProxy:
328 enabled: false
329 usepwd: true
330 user: addUserHere
331 password: addPasswordHere
332 url: addProxyUrlHere
demskeq8b43e92c2021-02-12 15:43:48 +0100333 oauth:
334 enabled: false
335 tokenIssuer: ONAP SDNC
336 tokenSecret: secret
337 supportOdlusers: true
338 redirectUri: null
339 publicUrl: none
340 odluxRbac:
341 enabled: true
342 # example definition for a oauth provider
343 providersSecrets:
344 keycloak: d8d7ed52-0691-4353-9ac6-5383e72e9c46
345 providers:
346 - id: keycloak
347 type: KEYCLOAK
348 host: http://keycloak:8080
349 clientId: odlux.app
350 secret: ${KEYCLOAK_SECRET}
351 scope: openid
352 title: ONAP Keycloak Provider
353 roleMapping:
354 mykeycloak: admin
Timoney, Dan (dt5972)58774772019-08-21 16:50:54 -0400355
jmac065e2ce2018-03-29 01:18:02 +0000356# dependency / sub-chart configuration
Krzysztof Opasiak8ab45472020-05-12 12:53:50 +0200357certInitializer:
358 nameOverride: sdnc-cert-initializer
Jozsef Csongvai9d4d5af2020-07-13 11:10:25 -0400359 truststoreMountpath: /opt/onap/sdnc/data/stores
Krzysztof Opasiak6bab0cc2020-04-29 00:55:47 +0200360 fqdn: "sdnc"
361 app_ns: "org.osaaf.aaf"
362 fqi: "sdnc@sdnc.onap.org"
363 fqi_namespace: org.onap.sdnc
364 public_fqdn: "sdnc.onap.org"
365 aafDeployFqi: "deployer@people.osaaf.org"
366 aafDeployPass: demo123456!
367 cadi_latitude: "38.0"
368 cadi_longitude: "-72.0"
Krzysztof Opasiak6bab0cc2020-04-29 00:55:47 +0200369 credsPath: /opt/app/osaaf/local
Krzysztof Opasiak8ab45472020-05-12 12:53:50 +0200370 aaf_add_config: >
371 cd /opt/app/osaaf/local;
372 /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 +0000373
Alexander Dehn9b797d62020-04-21 09:53:50 +0000374# dependency / sub-chart configuration
375network-name-gen:
376 enabled: true
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100377mariadb-galera: &mariadbGalera
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100378 nameOverride: &sdnc-db sdnc-db
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100379 config: &mariadbGaleraConfig
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100380 rootPasswordExternalSecret: *rootDbSecret
381 userName: &dbUser sdnctl
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100382 userCredentialsExternalSecret: *dbSecretName
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100383 rootUser:
384 externalSecret: *rootDbSecret
385 db:
386 user: *dbUser
387 externalSecret: *dbSecretName
jmac065e2ce2018-03-29 01:18:02 +0000388 service:
389 name: sdnc-dbhost
jmac065e2ce2018-03-29 01:18:02 +0000390 sdnctlPrefix: sdnc
391 persistence:
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +0000392 mountSubPath: sdnc/mariadb-galera
jmac065e2ce2018-03-29 01:18:02 +0000393 enabled: true
jmac065e2ce2018-03-29 01:18:02 +0000394 replicaCount: 1
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100395 serviceAccount:
396 nameOverride: *sdnc-db
jmac065e2ce2018-03-29 01:18:02 +0000397
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100398cds:
399 enabled: false
400
401dmaap-listener:
Alexander Dehn9b797d62020-04-21 09:53:50 +0000402 enabled: true
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100403 nameOverride: sdnc-dmaap-listener
404 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100405 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100406 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100407 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100408 mysqlDatabase: *sdncDbName
409 config:
410 sdncChartName: sdnc
411 dmaapPort: 3904
412 sdncPort: 8282
413 configDir: /opt/onap/sdnc/data/properties
414 odlCredsExternalSecret: *odlCredsSecretName
415
416ueb-listener:
Alexander Dehn9b797d62020-04-21 09:53:50 +0000417 enabled: true
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100418 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100419 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100420 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100421 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100422 mysqlDatabase: *sdncDbName
423 nameOverride: sdnc-ueb-listener
424 config:
425 sdncPort: 8282
426 sdncChartName: sdnc
427 configDir: /opt/onap/sdnc/data/properties
428 odlCredsExternalSecret: *odlCredsSecretName
429
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100430sdnc-ansible-server:
Alexander Dehn9b797d62020-04-21 09:53:50 +0000431 enabled: true
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100432 config:
433 restCredsExternalSecret: *ansibleSecretName
434 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100435 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100436 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100437 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100438 mysqlDatabase: ansible
439 service:
440 name: sdnc-ansible-server
441 internalPort: 8000
442
jmac065e2ce2018-03-29 01:18:02 +0000443dgbuilder:
Alexander Dehn9b797d62020-04-21 09:53:50 +0000444 enabled: true
jmac065e2ce2018-03-29 01:18:02 +0000445 nameOverride: sdnc-dgbuilder
Dan Timoneycb0a81f2020-07-15 17:31:43 -0400446 certInitializer:
447 nameOverride: sdnc-dgbuilder-cert-initializer
jmac065e2ce2018-03-29 01:18:02 +0000448 config:
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100449 db:
450 dbName: *sdncDbName
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100451 rootPasswordExternalSecret: '{{ .Values.global.mariadbGalera.localCluster |
452 ternary
453 (printf "%s-sdnc-db-root-password" (include "common.release" .))
454 (include "common.mariadb.secret.rootPassSecretName"
455 (dict "dot" . "chartName" "mariadb-galera")) }}'
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100456 userCredentialsExternalSecret: *dbSecretName
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +0000457 dbPodName: mariadb-galera
458 dbServiceName: mariadb-galera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100459 # This should be revisited and changed to plain text
jmac70863e12018-05-16 14:53:03 +0000460 dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100461 mariadb-galera:
jmac065e2ce2018-03-29 01:18:02 +0000462 service:
BorislavG1ffbd992018-04-24 07:56:27 +0000463 name: sdnc-dgbuilder
jmac065e2ce2018-03-29 01:18:02 +0000464 nodePort: "03"
465
Sylvain Desbureauxe54644e2020-05-04 11:45:16 +0200466 ingress:
467 enabled: false
468 service:
469 - baseaddr: "sdnc-dgbuilder"
470 name: "sdnc-dgbuilder"
471 port: 3000
Alexander Dehn9b797d62020-04-21 09:53:50 +0000472 - baseaddr: "sdnc-web-service"
473 name: "sdnc-web-service"
474 port: 8443
Sylvain Desbureauxe54644e2020-05-04 11:45:16 +0200475 config:
476 ssl: "redirect"
477
Alexander Dehn9b797d62020-04-21 09:53:50 +0000478
479
Alexander Dehnab86ec12020-02-05 14:38:54 +0000480# local elasticsearch cluster
481localElasticCluster: true
482elasticsearch:
Sylvain Desbureaux829344b2020-11-19 17:07:26 +0100483 nameOverride: &elasticSearchName sdnrdb
Alexander Dehnab86ec12020-02-05 14:38:54 +0000484 name: sdnrdb-cluster
Krzysztof Opasiakc6152ce2020-05-09 01:43:08 +0200485 certInitializer:
Alexander Dehnab86ec12020-02-05 14:38:54 +0000486 fqdn: "sdnc"
487 fqi_namespace: org.onap.sdnc
488 fqi: "sdnc@sdnc.onap.org"
489 service:
Sylvain Desbureaux829344b2020-11-19 17:07:26 +0100490 name: *elasticSearchName
Alexander Dehnab86ec12020-02-05 14:38:54 +0000491 master:
492 replicaCount: 3
493 # dedicatednode: "yes"
494 # working as master node only, in this case increase replicaCount for elasticsearch-data
495 # dedicatednode: "no"
496 # handles master and data node functionality
497 dedicatednode: "no"
Sylvain Desbureaux829344b2020-11-19 17:07:26 +0100498 nameOverride: *elasticSearchName
demskeq8eb56da72021-02-19 12:11:48 +0100499 cluster_name: sdnrdb-cluster
Alexander Dehn9b797d62020-04-21 09:53:50 +0000500# enable
501sdnc-web:
Alexander Dehn8789a722020-10-16 14:29:05 +0000502 enabled: true
jmac065e2ce2018-03-29 01:18:02 +0000503# default number of instances
504replicaCount: 1
505
506nodeSelector: {}
507
508affinity: {}
509
510# probe configuration parameters
511liveness:
512 initialDelaySeconds: 10
513 periodSeconds: 10
514 # necessary to disable liveness probe when setting breakpoints
515 # in debugger so K8s doesn't restart unresponsive container
516 enabled: true
517
518readiness:
519 initialDelaySeconds: 10
520 periodSeconds: 10
521
522service:
523 type: NodePort
524 name: sdnc
BorislavG1ffbd992018-04-24 07:56:27 +0000525 portName: sdnc
jmac065e2ce2018-03-29 01:18:02 +0000526 internalPort: 8181
527 internalPort2: 8101
528 internalPort3: 8080
Timoney, Dan (dt5972)c6de2692019-08-14 14:22:37 -0400529 internalPort4: 8443
Mohammadreza Pasandidehb756fb72018-04-03 10:06:45 -0400530
jmac065e2ce2018-03-29 01:18:02 +0000531 #port
532 externalPort: 8282
jmac065e2ce2018-03-29 01:18:02 +0000533
534 externalPort2: 8202
jmac065e2ce2018-03-29 01:18:02 +0000535
536 externalPort3: 8280
jmac065e2ce2018-03-29 01:18:02 +0000537
jmaca68f4cb2018-05-10 22:44:19 +0000538 externalPort4: 8443
539 nodePort4: 67
540
jmac065e2ce2018-03-29 01:18:02 +0000541 clusterPort: 2550
Mohammadreza Pasandidehb756fb72018-04-03 10:06:45 -0400542 clusterPort2: 2650
543 clusterPort3: 2681
544
545 geoNodePort1: 61
546 geoNodePort2: 62
547 geoNodePort3: 63
548 geoNodePort4: 64
549 geoNodePort5: 65
550 geoNodePort6: 66
jmac065e2ce2018-03-29 01:18:02 +0000551
jmac8d6dc962018-04-26 14:26:55 +0000552## Persist data to a persitent volume
553persistence:
554 enabled: true
555
556 ## A manually managed Persistent Volume and Claim
557 ## Requires persistence.enabled: true
558 ## If defined, PVC must be created manually before volume will be bound
559 # existingClaim:
560 volumeReclaimPolicy: Retain
561
562 ## database data Persistent Volume Storage Class
563 ## If defined, storageClassName: <storageClass>
564 ## If set to "-", storageClassName: "", which disables dynamic provisioning
565 ## If undefined (the default) or set to null, no storageClassName spec is
566 ## set, choosing the default provisioner. (gp2 on AWS, standard on
567 ## GKE, AWS & OpenStack)
568 accessMode: ReadWriteOnce
569 size: 1Gi
570 mountPath: /dockerdata-nfs
571 mountSubPath: sdnc/mdsal
Dan Timoney2ee28a52021-01-15 16:39:50 -0500572 mdsalPath: /opt/opendaylight/mdsal
demskeq8a86300a2021-02-10 09:53:33 +0100573 daeximPath: /opt/opendaylight/mdsal/daexim
Dan Timoney2ee28a52021-01-15 16:39:50 -0500574 journalPath: /opt/opendaylight/journal
575 snapshotsPath: /opt/opendaylight/snapshots
jmac8d6dc962018-04-26 14:26:55 +0000576
egernug27578332020-03-26 10:27:55 +0000577certpersistence:
578 enabled: true
579
580 ## A manually managed Persistent Volume and Claim
581 ## Requires persistence.enabled: true
582 ## If defined, PVC must be created manually before volume will be bound
583 # existingClaim:
584
585 volumeReclaimPolicy: Retain
586 accessMode: ReadWriteOnce
587 size: 50Mi
588 mountPath: /dockerdata-nfs
589 mountSubPath: sdnc/certs
590 certPath: /opt/app/osaaf
591 ##storageClass: "manual"
592
jmac065e2ce2018-03-29 01:18:02 +0000593ingress:
594 enabled: false
Lucjan Bryndza08448402019-11-27 14:26:54 +0100595 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +0000596 - baseaddr: "sdnc.api"
Lucjan Bryndza08448402019-11-27 14:26:54 +0100597 name: "sdnc"
598 port: 8443
599 config:
600 ssl: "redirect"
jmac065e2ce2018-03-29 01:18:02 +0000601
toshrajbhardwaj72b5f0f2018-09-13 02:45:22 +0000602#Resource Limit flavor -By Default using small
603flavor: small
604#segregation for different envionment (Small and Large)
605
606resources:
Mandeep Khindade045712018-09-19 18:11:57 +0000607 small:
608 limits:
609 cpu: 2
610 memory: 4Gi
611 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000612 cpu: 1
613 memory: 2Gi
Mandeep Khindade045712018-09-19 18:11:57 +0000614 large:
615 limits:
616 cpu: 4
617 memory: 8Gi
618 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000619 cpu: 2
620 memory: 4Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000621 unlimited: {}