blob: dac0be2a0782b012f52bfe4ea00ce7777dfac443 [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
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 persistence:
23 mountPath: /dockerdata-nfs
Agarwal, Ruchira (ra1926)ec7c75e2019-10-01 17:36:24 +000024 aafEnabled: true
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +010025 mariadbGalera:
26 #This flag allows SO to instantiate its own mariadb-galera cluster
27 #If shared instance is used, this chart assumes that DB already exists
28 localCluster: false
29 service: mariadb-galera
30 internalPort: 3306
31 nameOverride: mariadb-galera
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010032 service: mariadb-galera
egernug27578332020-03-26 10:27:55 +000033 # Enabling CMPv2
34 cmpv2Enabled: true
Jan Malkiewicz0e53c9f2020-12-08 15:08:01 +010035 CMPv2CertManagerIntegration: false
egernug27578332020-03-26 10:27:55 +000036 platform:
37 certServiceClient:
Remigiusz Janeczekce152ff2020-12-29 08:53:17 +010038 image: onap/org.onap.oom.platform.cert-service.oom-certservice-client:2.3.2
egernug27578332020-03-26 10:27:55 +000039 secret:
40 name: oom-cert-service-client-tls-secret
41 mountPath: /etc/onap/oom/certservice/certs/
42 envVariables:
43 # Certificate related
44 cert_path: /var/custom-certs
45 cmpv2Organization: "Linux-Foundation"
46 cmpv2OrganizationalUnit: "ONAP"
47 cmpv2Location: "San-Francisco"
48 cmpv2Country: "US"
49 # Client configuration related
50 caName: "RA"
51 common_name: "sdnc.simpledemo.onap.org"
52 requestURL: "https://oom-cert-service:8443/v1/certificate/"
53 requestTimeout: "30000"
54 keystorePath: "/etc/onap/oom/certservice/certs/certServiceClient-keystore.jks"
55 outputType: "P12"
56 keystorePassword: "secret"
57 truststorePath: "/etc/onap/oom/certservice/certs/truststore.jks"
58 truststorePassword: "secret"
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +010059
60#################################################################
61# Secrets metaconfig
62#################################################################
63secrets:
64 - uid: db-root-password
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010065 name: &rootDbSecret '{{ include "common.release" . }}-sdnc-db-root-password'
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +010066 type: password
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010067 # If we're using shared mariadb, we need to use the secret name (second
68 # part).
69 # If not, we do the same trick than for user db secret hat allows you
70 # override this secret using external one with the same field that is used
71 # to pass this to subchart.
Krzysztof Opasiakab7a6bb2020-03-24 03:30:51 +010072 externalSecret: '{{ .Values.global.mariadbGalera.localCluster |
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010073 ternary ((hasSuffix "sdnc-db-root-password" (index .Values "mariadb-galera" "rootUser" "externalSecret")) |
74 ternary
75 ""
76 (tpl (default "" (index .Values "mariadb-galera" "rootUser" "externalSecret")) .))
77 (include "common.mariadb.secret.rootPassSecretName"
78 (dict "dot" .
79 "chartName" .Values.global.mariadbGalera.nameOverride)) }}'
80 password: '{{ (index .Values "mariadb-galera" "rootUser" "password") }}'
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +010081 - uid: db-secret
82 name: &dbSecretName '{{ include "common.release" . }}-sdnc-db-secret'
83 type: basicAuth
84 # This is a nasty trick that allows you override this secret using external one
85 # with the same field that is used to pass this to subchart
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +010086 externalSecret: '{{ (hasSuffix "sdnc-db-secret" (index .Values "mariadb-galera" "db" "externalSecret")) |
87 ternary
88 ""
89 (tpl (default "" (index .Values "mariadb-galera" "db" "externalSecret")) .) }}'
90 login: '{{ index .Values "mariadb-galera" "db" "user" }}'
91 password: '{{ index .Values "mariadb-galera" "db" "password" }}'
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +010092 - uid: odl-creds
93 name: &odlCredsSecretName '{{ include "common.release" . }}-sdnc-odl-creds'
94 type: basicAuth
95 externalSecret: '{{ .Values.config.odlCredsExternalSecret }}'
96 login: '{{ .Values.config.odlUser }}'
97 password: '{{ .Values.config.odlPassword }}'
98 # For now this is left hardcoded but should be revisited in a future
99 passwordPolicy: required
demskeq89d26b332021-01-14 16:45:28 +0100100 - uid: dmaap-proxy-creds
101 name: &dmaapProxyCredsSecretName '{{ include "common.release" . }}-sdnc-dmaap-proxy-creds'
102 type: basicAuth
103 externalSecret: '{{ .Values.config.dmaapProxyCredsExternalSecret }}'
104 login: '{{ .Values.config.sdnr.dmaapProxy.user }}'
105 password: '{{ .Values.config.sdnr.dmaapProxy.password }}'
106 # For now this is left hardcoded but should be revisited in a future
107 passwordPolicy: required
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100108 - uid: netbox-apikey
109 type: password
110 externalSecret: '{{ .Values.config.netboxApikeyExternalSecret }}'
111 password: '{{ .Values.config.netboxApikey }}'
112 passwordPolicy: required
113 - uid: aai-user-creds
114 type: basicAuth
115 externalSecret: '{{ .Values.config.aaiCredsExternalSecret}}'
116 login: '{{ .Values.config.aaiUser }}'
117 password: '{{ .Values.config.aaiPassword }}'
118 passwordPolicy: required
119 - uid: modeling-user-creds
120 type: basicAuth
121 externalSecret: '{{ .Values.config.modelingCredsExternalSecret}}'
122 login: '{{ .Values.config.modelingUser }}'
123 password: '{{ .Values.config.modelingPassword }}'
124 passwordPolicy: required
125 - uid: restconf-creds
126 type: basicAuth
127 externalSecret: '{{ .Values.config.restconfCredsExternalSecret}}'
128 login: '{{ .Values.config.restconfUser }}'
129 password: '{{ .Values.config.restconfPassword }}'
130 passwordPolicy: required
131 - uid: ansible-creds
132 name: &ansibleSecretName '{{ include "common.release" . }}-sdnc-ansible-creds'
133 type: basicAuth
134 externalSecret: '{{ .Values.config.ansibleCredsExternalSecret}}'
135 login: '{{ .Values.config.ansibleUser }}'
136 password: '{{ .Values.config.ansiblePassword }}'
137 passwordPolicy: required
138 - uid: scaleout-creds
139 type: basicAuth
140 externalSecret: '{{ .Values.config.scaleoutCredsExternalSecret}}'
141 login: '{{ .Values.config.scaleoutUser }}'
142 password: '{{ .Values.config.scaleoutPassword }}'
143 passwordPolicy: required
Jan Malkiewicz0e53c9f2020-12-08 15:08:01 +0100144 - uid: keystore-password
145 type: password
146 password: secret
147 passwordPolicy: required
148#################################################################
149# Certificates
150#################################################################
151certificates:
152 - name: onap-sdnc-certificate
153 secretName: onap-sdnc-certificate
154 commonName: sdnc.simpledemo.onap.org
155 dnsNames:
156 - sdnc.simpledemo.onap.org
157 p12Keystore:
158 create: true
159 passwordSecretRef:
160 name: keystore-password
161 key: password
162 jksKeystore:
163 create: true
164 passwordSecretRef:
165 name: keystore-password
166 key: password
jmac065e2ce2018-03-29 01:18:02 +0000167#################################################################
168# Application configuration defaults.
169#################################################################
170# application images
Alexander Dehn238450f2020-10-27 13:03:53 +0000171
jmac065e2ce2018-03-29 01:18:02 +0000172pullPolicy: Always
Dan Timoneyaa79ff62020-11-18 16:43:33 -0500173image: onap/sdnc-image:2.0.4
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -0400174
jmac065e2ce2018-03-29 01:18:02 +0000175# flag to enable debugging - application support required
176debugEnabled: false
177
178# application configuration
BorislavG5f3b6192018-03-25 18:12:38 +0300179config:
Timoney, Dan (dt5972)ba4d2eb2019-05-07 13:32:42 -0400180 odlUid: 100
181 odlGid: 101
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100182 odlUser: admin
jmaca68f4cb2018-05-10 22:44:19 +0000183 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100184 # odlCredsExternalSecret: some secret
185 netboxApikey: onceuponatimeiplayedwithnetbox20180814
186 # netboxApikeyExternalSecret: some secret
187 aaiUser: sdnc@sdnc.onap.org
188 aaiPassword: demo123456!
189 # aaiCredsExternalSecret: some secret
190 modelingUser: ccsdkapps
191 modelingPassword: ccsdkapps
192 # modelingCredsExternalSecret: some secret
193 restconfUser: admin
194 restconfPassword: admin
195 # restconfCredsExternalSecret: some secret
196 scaleoutUser: admin
197 scaleoutPassword: admin
198 # scaleoutExternalSecret: some secret
199 ansibleUser: sdnc
200 ansiblePassword: sdnc
201 # ansibleCredsExternalSecret: some secret
202 dbSdnctlDatabase: &sdncDbName sdnctl
jmac065e2ce2018-03-29 01:18:02 +0000203 enableClustering: true
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -0400204 sdncHome: /opt/onap/sdnc
jmaca68f4cb2018-05-10 22:44:19 +0000205 binDir: /opt/onap/sdnc/bin
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -0400206 etcDir: /opt/onap/sdnc/data
Trevor Tait567ff1e2018-05-01 16:20:54 -0400207 geoEnabled: false
Neha Jain7b0d6c62018-05-17 14:34:49 -0400208# if geoEnabled is set to true here, mysql.geoEnabled must be set to true
Trevor Tait567ff1e2018-05-01 16:20:54 -0400209# if geoEnabled is set to true the following 3 values must be set to their proper values
210 myODLCluster: 127.0.0.1
211 peerODLCluster: 127.0.0.1
Mohammadreza Pasandidehb642ee52018-06-19 15:19:53 -0400212 isPrimaryCluster: true
jmac065e2ce2018-03-29 01:18:02 +0000213 configDir: /opt/onap/sdnc/data/properties
Konrad Bańka5ea1db32020-04-06 14:32:46 +0200214 ccsdkConfigDir: /opt/onap/ccsdk/data/properties
jmac065e2ce2018-03-29 01:18:02 +0000215 dmaapTopic: SUCCESS
jmaca68f4cb2018-05-10 22:44:19 +0000216 dmaapPort: 3904
BorislavG5f3b6192018-03-25 18:12:38 +0300217 logstashServiceName: log-ls
218 logstashPort: 5044
jmac7c434672018-05-11 20:14:17 +0000219 ansibleServiceName: sdnc-ansible-server
220 ansiblePort: 8000
Dan Timoneya98765b2020-09-14 11:57:55 -0400221 javaHome: /opt/java/openjdk
jmac7c434672018-05-11 20:14:17 +0000222
Timoney, Dan (dt5972)58774772019-08-21 16:50:54 -0400223 odl:
224 etcDir: /opt/opendaylight/etc
225 binDir: /opt/opendaylight/bin
Dan Timoneya98765b2020-09-14 11:57:55 -0400226 gcLogDir: /opt/opendaylight/data/log
Timoney, Dan (dt5972)58774772019-08-21 16:50:54 -0400227 salConfigDir: /opt/opendaylight/system/org/opendaylight/controller/sal-clustering-config
Alexander Dehn9b797d62020-04-21 09:53:50 +0000228 salConfigVersion: 1.9.1
Timoney, Dan (dt5972)58774772019-08-21 16:50:54 -0400229 akka:
230 seedNodeTimeout: 15s
231 circuitBreaker:
232 maxFailures: 10
233 callTimeout: 90s
234 resetTimeout: 30s
235 recoveryEventTimeout: 90s
236 datastore:
237 persistentActorRestartMinBackoffInSeconds: 10
238 persistentActorRestartMaxBackoffInSeconds: 40
239 persistentActorRestartResetBackoffInSeconds: 20
240 shardTransactionCommitTimeoutInSeconds: 120
241 shardIsolatedLeaderCheckIntervalInMillis: 30000
242 operationTimeoutInSeconds: 120
243 javaOptions:
244 maxGCPauseMillis: 100
245 parallelGCThreads : 3
Dan Timoneya98765b2020-09-14 11:57:55 -0400246 numberGCLogFiles: 10
247 minMemory: 512m
248 maxMemory: 2048m
249 gcLogOptions: ""
250 # Next line enables gc logging
251 # 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 +0000252 # enables sdnr functionality
253 sdnr:
Alexander Dehn5c1105e2020-09-14 20:55:56 +0000254 enabled: true
Alexander Dehn9b797d62020-04-21 09:53:50 +0000255 # mode: web - SDNC contains device manager only plus dedicated webserver service for ODLUX (default),
256 # mode: dm - SDNC contains sdnr device manager + ODLUX components
257 mode: dm
258 # sdnronly: true starts sdnc container with odl and sdnrwt features only
259 sdnronly: false
260 sdnrdbTrustAllCerts: true
261 mountpointRegistrarEnabled: false
262 mountpointStateProviderEnabled: false
demskeq89d26b332021-01-14 16:45:28 +0100263 # enable and set dmaap-proxy for mountpointRegistrar
264 dmaapProxy:
265 enabled: false
266 usepwd: true
267 user: addUserHere
268 password: addPasswordHere
269 url: addProxyUrlHere
270
271
Alexander Dehn9b797d62020-04-21 09:53:50 +0000272
273
Timoney, Dan (dt5972)58774772019-08-21 16:50:54 -0400274
jmac065e2ce2018-03-29 01:18:02 +0000275# dependency / sub-chart configuration
Krzysztof Opasiak8ab45472020-05-12 12:53:50 +0200276certInitializer:
277 nameOverride: sdnc-cert-initializer
Jozsef Csongvai9d4d5af2020-07-13 11:10:25 -0400278 truststoreMountpath: /opt/onap/sdnc/data/stores
Krzysztof Opasiak6bab0cc2020-04-29 00:55:47 +0200279 fqdn: "sdnc"
280 app_ns: "org.osaaf.aaf"
281 fqi: "sdnc@sdnc.onap.org"
282 fqi_namespace: org.onap.sdnc
283 public_fqdn: "sdnc.onap.org"
284 aafDeployFqi: "deployer@people.osaaf.org"
285 aafDeployPass: demo123456!
286 cadi_latitude: "38.0"
287 cadi_longitude: "-72.0"
Krzysztof Opasiak6bab0cc2020-04-29 00:55:47 +0200288 credsPath: /opt/app/osaaf/local
Krzysztof Opasiak8ab45472020-05-12 12:53:50 +0200289 aaf_add_config: >
290 cd /opt/app/osaaf/local;
291 /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 +0000292
Alexander Dehn9b797d62020-04-21 09:53:50 +0000293# dependency / sub-chart configuration
294network-name-gen:
295 enabled: true
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100296mariadb-galera: &mariadbGalera
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100297 nameOverride: &sdnc-db sdnc-db
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100298 config: &mariadbGaleraConfig
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100299 rootPasswordExternalSecret: *rootDbSecret
300 userName: &dbUser sdnctl
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100301 userCredentialsExternalSecret: *dbSecretName
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100302 rootUser:
303 externalSecret: *rootDbSecret
304 db:
305 user: *dbUser
306 externalSecret: *dbSecretName
jmac065e2ce2018-03-29 01:18:02 +0000307 service:
308 name: sdnc-dbhost
jmac065e2ce2018-03-29 01:18:02 +0000309 sdnctlPrefix: sdnc
310 persistence:
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +0000311 mountSubPath: sdnc/mariadb-galera
jmac065e2ce2018-03-29 01:18:02 +0000312 enabled: true
jmac065e2ce2018-03-29 01:18:02 +0000313 replicaCount: 1
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100314 serviceAccount:
315 nameOverride: *sdnc-db
jmac065e2ce2018-03-29 01:18:02 +0000316
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100317cds:
318 enabled: false
319
320dmaap-listener:
Alexander Dehn9b797d62020-04-21 09:53:50 +0000321 enabled: true
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100322 nameOverride: sdnc-dmaap-listener
323 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100324 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100325 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100326 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100327 mysqlDatabase: *sdncDbName
328 config:
329 sdncChartName: sdnc
330 dmaapPort: 3904
331 sdncPort: 8282
332 configDir: /opt/onap/sdnc/data/properties
333 odlCredsExternalSecret: *odlCredsSecretName
334
335ueb-listener:
Alexander Dehn9b797d62020-04-21 09:53:50 +0000336 enabled: true
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100337 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100338 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100339 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100340 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100341 mysqlDatabase: *sdncDbName
342 nameOverride: sdnc-ueb-listener
343 config:
344 sdncPort: 8282
345 sdncChartName: sdnc
346 configDir: /opt/onap/sdnc/data/properties
347 odlCredsExternalSecret: *odlCredsSecretName
348
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100349sdnc-ansible-server:
Alexander Dehn9b797d62020-04-21 09:53:50 +0000350 enabled: true
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100351 config:
352 restCredsExternalSecret: *ansibleSecretName
353 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100354 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100355 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100356 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100357 mysqlDatabase: ansible
358 service:
359 name: sdnc-ansible-server
360 internalPort: 8000
361
jmac065e2ce2018-03-29 01:18:02 +0000362dgbuilder:
Alexander Dehn9b797d62020-04-21 09:53:50 +0000363 enabled: true
jmac065e2ce2018-03-29 01:18:02 +0000364 nameOverride: sdnc-dgbuilder
Dan Timoneycb0a81f2020-07-15 17:31:43 -0400365 certInitializer:
366 nameOverride: sdnc-dgbuilder-cert-initializer
jmac065e2ce2018-03-29 01:18:02 +0000367 config:
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100368 db:
369 dbName: *sdncDbName
Sylvain Desbureaux93a5b492020-11-27 11:07:42 +0100370 rootPasswordExternalSecret: '{{ .Values.global.mariadbGalera.localCluster |
371 ternary
372 (printf "%s-sdnc-db-root-password" (include "common.release" .))
373 (include "common.mariadb.secret.rootPassSecretName"
374 (dict "dot" . "chartName" "mariadb-galera")) }}'
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100375 userCredentialsExternalSecret: *dbSecretName
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +0000376 dbPodName: mariadb-galera
377 dbServiceName: mariadb-galera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100378 # This should be revisited and changed to plain text
jmac70863e12018-05-16 14:53:03 +0000379 dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100380 mariadb-galera:
jmac065e2ce2018-03-29 01:18:02 +0000381 service:
BorislavG1ffbd992018-04-24 07:56:27 +0000382 name: sdnc-dgbuilder
jmac065e2ce2018-03-29 01:18:02 +0000383 nodePort: "03"
384
Sylvain Desbureauxe54644e2020-05-04 11:45:16 +0200385 ingress:
386 enabled: false
387 service:
388 - baseaddr: "sdnc-dgbuilder"
389 name: "sdnc-dgbuilder"
390 port: 3000
Alexander Dehn9b797d62020-04-21 09:53:50 +0000391 - baseaddr: "sdnc-web-service"
392 name: "sdnc-web-service"
393 port: 8443
Sylvain Desbureauxe54644e2020-05-04 11:45:16 +0200394 config:
395 ssl: "redirect"
396
Alexander Dehn9b797d62020-04-21 09:53:50 +0000397
398
Alexander Dehnab86ec12020-02-05 14:38:54 +0000399# local elasticsearch cluster
400localElasticCluster: true
401elasticsearch:
Sylvain Desbureaux829344b2020-11-19 17:07:26 +0100402 nameOverride: &elasticSearchName sdnrdb
Alexander Dehnab86ec12020-02-05 14:38:54 +0000403 name: sdnrdb-cluster
Krzysztof Opasiakc6152ce2020-05-09 01:43:08 +0200404 certInitializer:
Alexander Dehnab86ec12020-02-05 14:38:54 +0000405 fqdn: "sdnc"
406 fqi_namespace: org.onap.sdnc
407 fqi: "sdnc@sdnc.onap.org"
408 service:
Sylvain Desbureaux829344b2020-11-19 17:07:26 +0100409 name: *elasticSearchName
Alexander Dehnab86ec12020-02-05 14:38:54 +0000410 master:
411 replicaCount: 3
412 # dedicatednode: "yes"
413 # working as master node only, in this case increase replicaCount for elasticsearch-data
414 # dedicatednode: "no"
415 # handles master and data node functionality
416 dedicatednode: "no"
Sylvain Desbureaux829344b2020-11-19 17:07:26 +0100417 nameOverride: *elasticSearchName
418 cluster_name: *elasticSearchName
Alexander Dehn9b797d62020-04-21 09:53:50 +0000419# enable
420sdnc-web:
Alexander Dehn8789a722020-10-16 14:29:05 +0000421 enabled: true
jmac065e2ce2018-03-29 01:18:02 +0000422# default number of instances
423replicaCount: 1
424
425nodeSelector: {}
426
427affinity: {}
428
429# probe configuration parameters
430liveness:
431 initialDelaySeconds: 10
432 periodSeconds: 10
433 # necessary to disable liveness probe when setting breakpoints
434 # in debugger so K8s doesn't restart unresponsive container
435 enabled: true
436
437readiness:
438 initialDelaySeconds: 10
439 periodSeconds: 10
440
441service:
442 type: NodePort
443 name: sdnc
BorislavG1ffbd992018-04-24 07:56:27 +0000444 portName: sdnc
jmac065e2ce2018-03-29 01:18:02 +0000445 internalPort: 8181
446 internalPort2: 8101
447 internalPort3: 8080
Timoney, Dan (dt5972)c6de2692019-08-14 14:22:37 -0400448 internalPort4: 8443
Mohammadreza Pasandidehb756fb72018-04-03 10:06:45 -0400449
jmac065e2ce2018-03-29 01:18:02 +0000450 #port
451 externalPort: 8282
jmac065e2ce2018-03-29 01:18:02 +0000452
453 externalPort2: 8202
jmac065e2ce2018-03-29 01:18:02 +0000454
455 externalPort3: 8280
jmac065e2ce2018-03-29 01:18:02 +0000456
jmaca68f4cb2018-05-10 22:44:19 +0000457 externalPort4: 8443
458 nodePort4: 67
459
jmac065e2ce2018-03-29 01:18:02 +0000460 clusterPort: 2550
Mohammadreza Pasandidehb756fb72018-04-03 10:06:45 -0400461 clusterPort2: 2650
462 clusterPort3: 2681
463
464 geoNodePort1: 61
465 geoNodePort2: 62
466 geoNodePort3: 63
467 geoNodePort4: 64
468 geoNodePort5: 65
469 geoNodePort6: 66
jmac065e2ce2018-03-29 01:18:02 +0000470
jmac8d6dc962018-04-26 14:26:55 +0000471## Persist data to a persitent volume
472persistence:
473 enabled: true
474
475 ## A manually managed Persistent Volume and Claim
476 ## Requires persistence.enabled: true
477 ## If defined, PVC must be created manually before volume will be bound
478 # existingClaim:
479 volumeReclaimPolicy: Retain
480
481 ## database data Persistent Volume Storage Class
482 ## If defined, storageClassName: <storageClass>
483 ## If set to "-", storageClassName: "", which disables dynamic provisioning
484 ## If undefined (the default) or set to null, no storageClassName spec is
485 ## set, choosing the default provisioner. (gp2 on AWS, standard on
486 ## GKE, AWS & OpenStack)
487 accessMode: ReadWriteOnce
488 size: 1Gi
489 mountPath: /dockerdata-nfs
490 mountSubPath: sdnc/mdsal
491 mdsalPath: /opt/opendaylight/current/daexim
492
egernug27578332020-03-26 10:27:55 +0000493certpersistence:
494 enabled: true
495
496 ## A manually managed Persistent Volume and Claim
497 ## Requires persistence.enabled: true
498 ## If defined, PVC must be created manually before volume will be bound
499 # existingClaim:
500
501 volumeReclaimPolicy: Retain
502 accessMode: ReadWriteOnce
503 size: 50Mi
504 mountPath: /dockerdata-nfs
505 mountSubPath: sdnc/certs
506 certPath: /opt/app/osaaf
507 ##storageClass: "manual"
508
jmac065e2ce2018-03-29 01:18:02 +0000509ingress:
510 enabled: false
Lucjan Bryndza08448402019-11-27 14:26:54 +0100511 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +0000512 - baseaddr: "sdnc.api"
Lucjan Bryndza08448402019-11-27 14:26:54 +0100513 name: "sdnc"
514 port: 8443
515 config:
516 ssl: "redirect"
jmac065e2ce2018-03-29 01:18:02 +0000517
toshrajbhardwaj72b5f0f2018-09-13 02:45:22 +0000518#Resource Limit flavor -By Default using small
519flavor: small
520#segregation for different envionment (Small and Large)
521
522resources:
Mandeep Khindade045712018-09-19 18:11:57 +0000523 small:
524 limits:
525 cpu: 2
526 memory: 4Gi
527 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000528 cpu: 1
529 memory: 2Gi
Mandeep Khindade045712018-09-19 18:11:57 +0000530 large:
531 limits:
532 cpu: 4
533 memory: 8Gi
534 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000535 cpu: 2
536 memory: 4Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000537 unlimited: {}