blob: 6cf671ac2d2cd144ad92f6805fb21907fe8b4bd0 [file] [log] [blame]
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00001# Copyright © 2017 Amdocs, Bell Canada
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
jmac065e2ce2018-03-29 01:18:02 +000015#################################################################
16# Global configuration defaults.
17#################################################################
18global:
19 nodePortPrefix: 302
jmac0e4f7172018-09-07 18:06:43 +000020 nodePortPrefixExt: 304
jmac065e2ce2018-03-29 01:18:02 +000021 repository: nexus3.onap.org:10001
jmac065e2ce2018-03-29 01:18:02 +000022 readinessRepository: oomk8s
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +000023 readinessImage: readiness-check:2.0.2
jmac065e2ce2018-03-29 01:18:02 +000024 loggingRepository: docker.elastic.co
25 loggingImage: beats/filebeat:5.5.0
26 persistence:
27 mountPath: /dockerdata-nfs
Agarwal, Ruchira (ra1926)ec7c75e2019-10-01 17:36:24 +000028 aafEnabled: true
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +010029 # envsusbt
30 envsubstImage: dibi/envsubst
31 mariadbGalera:
32 #This flag allows SO to instantiate its own mariadb-galera cluster
33 #If shared instance is used, this chart assumes that DB already exists
34 localCluster: false
35 service: mariadb-galera
36 internalPort: 3306
37 nameOverride: mariadb-galera
38
39#################################################################
40# Secrets metaconfig
41#################################################################
42secrets:
43 - uid: db-root-password
44 name: '{{ include "common.release" . }}-sdnc-db-root-password'
45 type: password
Krzysztof Opasiakab7a6bb2020-03-24 03:30:51 +010046 externalSecret: '{{ .Values.global.mariadbGalera.localCluster |
47 ternary (default (include "common.mariadb.secret.rootPassSecretName"
48 (dict "dot" . "chartName"
49 (index .Values "mariadb-galera" "nameOverride")))
50 (index .Values "mariadb-galera" "config"
51 "mariadbRootPasswordExternalSecret"))
52 (include "common.mariadb.secret.rootPassSecretName"
53 (dict "dot" . "chartName" .Values.global.mariadbGalera.nameOverride)) }}'
54 password: '{{ (index .Values "mariadb-galera" "config" "mariadbRootPassword") }}'
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
60 externalSecret: '{{ ternary "" (tpl (default "" (index .Values "mariadb-galera" "config" "userCredentialsExternalSecret")) .) (hasSuffix "sdnc-db-secret" (index .Values "mariadb-galera" "config" "userCredentialsExternalSecret"))}}'
61 login: '{{ index .Values "mariadb-galera" "config" "userName" }}'
62 password: '{{ index .Values "mariadb-galera" "config" "userPassword" }}'
63 - uid: odl-creds
64 name: &odlCredsSecretName '{{ include "common.release" . }}-sdnc-odl-creds'
65 type: basicAuth
66 externalSecret: '{{ .Values.config.odlCredsExternalSecret }}'
67 login: '{{ .Values.config.odlUser }}'
68 password: '{{ .Values.config.odlPassword }}'
69 # For now this is left hardcoded but should be revisited in a future
70 passwordPolicy: required
71 - uid: aaf-creds
72 type: basicAuth
73 externalSecret: '{{ ternary (tpl (default "" .Values.aaf_init.aafDeployCredsExternalSecret) .) "aafIsDiabled" .Values.global.aafEnabled }}'
74 login: '{{ .Values.aaf_init.deploy_fqi }}'
75 password: '{{ .Values.aaf_init.deploy_pass }}'
76 passwordPolicy: required
77 - uid: netbox-apikey
78 type: password
79 externalSecret: '{{ .Values.config.netboxApikeyExternalSecret }}'
80 password: '{{ .Values.config.netboxApikey }}'
81 passwordPolicy: required
82 - uid: aai-user-creds
83 type: basicAuth
84 externalSecret: '{{ .Values.config.aaiCredsExternalSecret}}'
85 login: '{{ .Values.config.aaiUser }}'
86 password: '{{ .Values.config.aaiPassword }}'
87 passwordPolicy: required
88 - uid: modeling-user-creds
89 type: basicAuth
90 externalSecret: '{{ .Values.config.modelingCredsExternalSecret}}'
91 login: '{{ .Values.config.modelingUser }}'
92 password: '{{ .Values.config.modelingPassword }}'
93 passwordPolicy: required
94 - uid: restconf-creds
95 type: basicAuth
96 externalSecret: '{{ .Values.config.restconfCredsExternalSecret}}'
97 login: '{{ .Values.config.restconfUser }}'
98 password: '{{ .Values.config.restconfPassword }}'
99 passwordPolicy: required
100 - uid: ansible-creds
101 name: &ansibleSecretName '{{ include "common.release" . }}-sdnc-ansible-creds'
102 type: basicAuth
103 externalSecret: '{{ .Values.config.ansibleCredsExternalSecret}}'
104 login: '{{ .Values.config.ansibleUser }}'
105 password: '{{ .Values.config.ansiblePassword }}'
106 passwordPolicy: required
107 - uid: scaleout-creds
108 type: basicAuth
109 externalSecret: '{{ .Values.config.scaleoutCredsExternalSecret}}'
110 login: '{{ .Values.config.scaleoutUser }}'
111 password: '{{ .Values.config.scaleoutPassword }}'
112 passwordPolicy: required
jmac065e2ce2018-03-29 01:18:02 +0000113
114#################################################################
115# Application configuration defaults.
116#################################################################
117# application images
118repository: nexus3.onap.org:10001
119pullPolicy: Always
Timoney, Dan (dt5972)6c198482019-12-03 10:35:51 -0500120image: onap/sdnc-image:1.7.6
jmac065e2ce2018-03-29 01:18:02 +0000121
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -0400122
jmac065e2ce2018-03-29 01:18:02 +0000123# flag to enable debugging - application support required
124debugEnabled: false
125
126# application configuration
BorislavG5f3b6192018-03-25 18:12:38 +0300127config:
Timoney, Dan (dt5972)ba4d2eb2019-05-07 13:32:42 -0400128 odlUid: 100
129 odlGid: 101
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100130 odlUser: admin
jmaca68f4cb2018-05-10 22:44:19 +0000131 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100132 # odlCredsExternalSecret: some secret
133 netboxApikey: onceuponatimeiplayedwithnetbox20180814
134 # netboxApikeyExternalSecret: some secret
135 aaiUser: sdnc@sdnc.onap.org
136 aaiPassword: demo123456!
137 # aaiCredsExternalSecret: some secret
138 modelingUser: ccsdkapps
139 modelingPassword: ccsdkapps
140 # modelingCredsExternalSecret: some secret
141 restconfUser: admin
142 restconfPassword: admin
143 # restconfCredsExternalSecret: some secret
144 scaleoutUser: admin
145 scaleoutPassword: admin
146 # scaleoutExternalSecret: some secret
147 ansibleUser: sdnc
148 ansiblePassword: sdnc
149 # ansibleCredsExternalSecret: some secret
150 dbSdnctlDatabase: &sdncDbName sdnctl
jmac065e2ce2018-03-29 01:18:02 +0000151 enableClustering: true
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -0400152 sdncHome: /opt/onap/sdnc
jmaca68f4cb2018-05-10 22:44:19 +0000153 binDir: /opt/onap/sdnc/bin
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -0400154 etcDir: /opt/onap/sdnc/data
Trevor Tait567ff1e2018-05-01 16:20:54 -0400155 geoEnabled: false
Neha Jain7b0d6c62018-05-17 14:34:49 -0400156# if geoEnabled is set to true here, mysql.geoEnabled must be set to true
Trevor Tait567ff1e2018-05-01 16:20:54 -0400157# if geoEnabled is set to true the following 3 values must be set to their proper values
158 myODLCluster: 127.0.0.1
159 peerODLCluster: 127.0.0.1
Mohammadreza Pasandidehb642ee52018-06-19 15:19:53 -0400160 isPrimaryCluster: true
jmac065e2ce2018-03-29 01:18:02 +0000161 configDir: /opt/onap/sdnc/data/properties
162 dmaapTopic: SUCCESS
jmaca68f4cb2018-05-10 22:44:19 +0000163 dmaapPort: 3904
BorislavG5f3b6192018-03-25 18:12:38 +0300164 logstashServiceName: log-ls
165 logstashPort: 5044
jmac7c434672018-05-11 20:14:17 +0000166 ansibleServiceName: sdnc-ansible-server
167 ansiblePort: 8000
Timoney, Dan (dt5972)6819bc92019-02-12 13:30:49 -0500168 javaHome: /usr/lib/jvm/java-1.8-openjdk
jmac7c434672018-05-11 20:14:17 +0000169
Timoney, Dan (dt5972)58774772019-08-21 16:50:54 -0400170 odl:
171 etcDir: /opt/opendaylight/etc
172 binDir: /opt/opendaylight/bin
173 salConfigDir: /opt/opendaylight/system/org/opendaylight/controller/sal-clustering-config
174 salConfigVersion: 1.8.2
175 akka:
176 seedNodeTimeout: 15s
177 circuitBreaker:
178 maxFailures: 10
179 callTimeout: 90s
180 resetTimeout: 30s
181 recoveryEventTimeout: 90s
182 datastore:
183 persistentActorRestartMinBackoffInSeconds: 10
184 persistentActorRestartMaxBackoffInSeconds: 40
185 persistentActorRestartResetBackoffInSeconds: 20
186 shardTransactionCommitTimeoutInSeconds: 120
187 shardIsolatedLeaderCheckIntervalInMillis: 30000
188 operationTimeoutInSeconds: 120
189 javaOptions:
190 maxGCPauseMillis: 100
191 parallelGCThreads : 3
192 numberGGLogFiles: 10
193
jmac065e2ce2018-03-29 01:18:02 +0000194# dependency / sub-chart configuration
Agarwal, Ruchira (ra1926)ec7c75e2019-10-01 17:36:24 +0000195aaf_init:
196 agentImage: onap/aaf/aaf_agent:2.1.15
197 app_ns: "org.osaaf.aaf"
198 fqi: "sdnc@sdnc.onap.org"
199 fqdn: "sdnc"
200 public_fqdn: "sdnc.onap.org"
201 deploy_fqi: "deployer@people.osaaf.org"
202 deploy_pass: "demo123456!"
203 cadi_latitude: "38.0"
204 cadi_longitude: "-72.0"
205
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100206mariadb-galera: &mariadbGalera
jmac065e2ce2018-03-29 01:18:02 +0000207 nameOverride: sdnc-db
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100208 config: &mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100209 rootPasswordExternalSecret: '{{ ternary (include "common.release" .)-sdnc-db-root-password "" .Values.global.mariadbGalera.localCluster }}'
210 userName: sdnctl
211 userCredentialsExternalSecret: *dbSecretName
jmac065e2ce2018-03-29 01:18:02 +0000212 service:
213 name: sdnc-dbhost
jmacbc92d132018-04-07 03:46:12 +0000214 internalPort: 3306
jmac065e2ce2018-03-29 01:18:02 +0000215 sdnctlPrefix: sdnc
216 persistence:
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +0000217 mountSubPath: sdnc/mariadb-galera
jmac065e2ce2018-03-29 01:18:02 +0000218 enabled: true
jmac065e2ce2018-03-29 01:18:02 +0000219 replicaCount: 1
220
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100221cds:
222 enabled: false
223
224dmaap-listener:
225 nameOverride: sdnc-dmaap-listener
226 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100227 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100228 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100229 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100230 mysqlDatabase: *sdncDbName
231 config:
232 sdncChartName: sdnc
233 dmaapPort: 3904
234 sdncPort: 8282
235 configDir: /opt/onap/sdnc/data/properties
236 odlCredsExternalSecret: *odlCredsSecretName
237
238ueb-listener:
239 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100240 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100241 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100242 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100243 mysqlDatabase: *sdncDbName
244 nameOverride: sdnc-ueb-listener
245 config:
246 sdncPort: 8282
247 sdncChartName: sdnc
248 configDir: /opt/onap/sdnc/data/properties
249 odlCredsExternalSecret: *odlCredsSecretName
250
251sdnc-portal:
252 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100253 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100254 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100255 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100256 mysqlDatabase: *sdncDbName
257 config:
258 sdncChartName: sdnc
259 configDir: /opt/onap/sdnc/data/properties
260 odlCredsExternalSecret: *odlCredsSecretName
261
262sdnc-ansible-server:
263 config:
264 restCredsExternalSecret: *ansibleSecretName
265 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100266 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100267 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100268 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100269 mysqlDatabase: ansible
270 service:
271 name: sdnc-ansible-server
272 internalPort: 8000
273
jmac065e2ce2018-03-29 01:18:02 +0000274dgbuilder:
275 nameOverride: sdnc-dgbuilder
276 config:
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100277 db:
278 dbName: *sdncDbName
279 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 }}'
280 userCredentialsExternalSecret: *dbSecretName
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +0000281 dbPodName: mariadb-galera
282 dbServiceName: mariadb-galera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100283 # This should be revisited and changed to plain text
jmac70863e12018-05-16 14:53:03 +0000284 dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100285 mariadb-galera:
jmac065e2ce2018-03-29 01:18:02 +0000286 service:
BorislavG1ffbd992018-04-24 07:56:27 +0000287 name: sdnc-dgbuilder
jmac065e2ce2018-03-29 01:18:02 +0000288 nodePort: "03"
289
290# default number of instances
291replicaCount: 1
292
293nodeSelector: {}
294
295affinity: {}
296
297# probe configuration parameters
298liveness:
299 initialDelaySeconds: 10
300 periodSeconds: 10
301 # necessary to disable liveness probe when setting breakpoints
302 # in debugger so K8s doesn't restart unresponsive container
303 enabled: true
304
305readiness:
306 initialDelaySeconds: 10
307 periodSeconds: 10
308
309service:
310 type: NodePort
311 name: sdnc
BorislavG1ffbd992018-04-24 07:56:27 +0000312 portName: sdnc
jmac065e2ce2018-03-29 01:18:02 +0000313 internalPort: 8181
314 internalPort2: 8101
315 internalPort3: 8080
Timoney, Dan (dt5972)c6de2692019-08-14 14:22:37 -0400316 internalPort4: 8443
Mohammadreza Pasandidehb756fb72018-04-03 10:06:45 -0400317
jmac065e2ce2018-03-29 01:18:02 +0000318 #port
319 externalPort: 8282
jmac065e2ce2018-03-29 01:18:02 +0000320
321 externalPort2: 8202
jmac065e2ce2018-03-29 01:18:02 +0000322
323 externalPort3: 8280
jmac065e2ce2018-03-29 01:18:02 +0000324
jmaca68f4cb2018-05-10 22:44:19 +0000325 externalPort4: 8443
326 nodePort4: 67
327
jmac065e2ce2018-03-29 01:18:02 +0000328 clusterPort: 2550
Mohammadreza Pasandidehb756fb72018-04-03 10:06:45 -0400329 clusterPort2: 2650
330 clusterPort3: 2681
331
332 geoNodePort1: 61
333 geoNodePort2: 62
334 geoNodePort3: 63
335 geoNodePort4: 64
336 geoNodePort5: 65
337 geoNodePort6: 66
jmac065e2ce2018-03-29 01:18:02 +0000338
jmac8d6dc962018-04-26 14:26:55 +0000339## Persist data to a persitent volume
340persistence:
341 enabled: true
342
343 ## A manually managed Persistent Volume and Claim
344 ## Requires persistence.enabled: true
345 ## If defined, PVC must be created manually before volume will be bound
346 # existingClaim:
347 volumeReclaimPolicy: Retain
348
349 ## database data Persistent Volume Storage Class
350 ## If defined, storageClassName: <storageClass>
351 ## If set to "-", storageClassName: "", which disables dynamic provisioning
352 ## If undefined (the default) or set to null, no storageClassName spec is
353 ## set, choosing the default provisioner. (gp2 on AWS, standard on
354 ## GKE, AWS & OpenStack)
355 accessMode: ReadWriteOnce
356 size: 1Gi
357 mountPath: /dockerdata-nfs
358 mountSubPath: sdnc/mdsal
359 mdsalPath: /opt/opendaylight/current/daexim
360
Rahul Tyagi44cc1ac2019-03-02 06:15:35 +0000361certpersistence:
362 enabled: true
363
364 ## A manually managed Persistent Volume and Claim
365 ## Requires persistence.enabled: true
366 ## If defined, PVC must be created manually before volume will be bound
367 # existingClaim:
368
369 volumeReclaimPolicy: Retain
370 accessMode: ReadWriteOnce
371 size: 50Mi
372 mountPath: /dockerdata-nfs
373 mountSubPath: sdnc/certs
Agarwal, Ruchira (ra1926)ec7c75e2019-10-01 17:36:24 +0000374 certPath: /opt/app/osaaf
Rahul Tyagi44cc1ac2019-03-02 06:15:35 +0000375 ##storageClass: "manual"
376
jmac065e2ce2018-03-29 01:18:02 +0000377ingress:
378 enabled: false
Lucjan Bryndza08448402019-11-27 14:26:54 +0100379 service:
380 - baseaddr: "sdnc"
381 name: "sdnc"
382 port: 8443
383 config:
384 ssl: "redirect"
jmac065e2ce2018-03-29 01:18:02 +0000385
toshrajbhardwaj72b5f0f2018-09-13 02:45:22 +0000386#Resource Limit flavor -By Default using small
387flavor: small
388#segregation for different envionment (Small and Large)
389
390resources:
Mandeep Khindade045712018-09-19 18:11:57 +0000391 small:
392 limits:
393 cpu: 2
394 memory: 4Gi
395 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000396 cpu: 1
397 memory: 2Gi
Mandeep Khindade045712018-09-19 18:11:57 +0000398 large:
399 limits:
400 cpu: 4
401 memory: 8Gi
402 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000403 cpu: 2
404 memory: 4Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000405 unlimited: {}