blob: 8fd7590863968a73a6ec751f0e5bf713a253ec1d [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
46 externalSecret: '{{ .Values.global.mariadbGalera.localCluster | ternary (default (include "common.mariadb.secret.rootPassSecretName" (dict "dot" . "chartName" (index .Values "mariadb-galera" "nameOverride"))) (index .Values "mariadb-galera" "config" "mariadbRootPasswordExternalSecret")) (include "common.mariadb.secret.rootPassSecretName" (dict "dot" . "chartName" .Values.global.mariadbGalera.nameOverride)) }}'
47 password: '{{ (index .Values "mariadb-galera" "config" "mariadbRootPassword" }}'
48 - uid: db-secret
49 name: &dbSecretName '{{ include "common.release" . }}-sdnc-db-secret'
50 type: basicAuth
51 # This is a nasty trick that allows you override this secret using external one
52 # with the same field that is used to pass this to subchart
53 externalSecret: '{{ ternary "" (tpl (default "" (index .Values "mariadb-galera" "config" "userCredentialsExternalSecret")) .) (hasSuffix "sdnc-db-secret" (index .Values "mariadb-galera" "config" "userCredentialsExternalSecret"))}}'
54 login: '{{ index .Values "mariadb-galera" "config" "userName" }}'
55 password: '{{ index .Values "mariadb-galera" "config" "userPassword" }}'
56 - uid: odl-creds
57 name: &odlCredsSecretName '{{ include "common.release" . }}-sdnc-odl-creds'
58 type: basicAuth
59 externalSecret: '{{ .Values.config.odlCredsExternalSecret }}'
60 login: '{{ .Values.config.odlUser }}'
61 password: '{{ .Values.config.odlPassword }}'
62 # For now this is left hardcoded but should be revisited in a future
63 passwordPolicy: required
64 - uid: aaf-creds
65 type: basicAuth
66 externalSecret: '{{ ternary (tpl (default "" .Values.aaf_init.aafDeployCredsExternalSecret) .) "aafIsDiabled" .Values.global.aafEnabled }}'
67 login: '{{ .Values.aaf_init.deploy_fqi }}'
68 password: '{{ .Values.aaf_init.deploy_pass }}'
69 passwordPolicy: required
70 - uid: netbox-apikey
71 type: password
72 externalSecret: '{{ .Values.config.netboxApikeyExternalSecret }}'
73 password: '{{ .Values.config.netboxApikey }}'
74 passwordPolicy: required
75 - uid: aai-user-creds
76 type: basicAuth
77 externalSecret: '{{ .Values.config.aaiCredsExternalSecret}}'
78 login: '{{ .Values.config.aaiUser }}'
79 password: '{{ .Values.config.aaiPassword }}'
80 passwordPolicy: required
81 - uid: modeling-user-creds
82 type: basicAuth
83 externalSecret: '{{ .Values.config.modelingCredsExternalSecret}}'
84 login: '{{ .Values.config.modelingUser }}'
85 password: '{{ .Values.config.modelingPassword }}'
86 passwordPolicy: required
87 - uid: restconf-creds
88 type: basicAuth
89 externalSecret: '{{ .Values.config.restconfCredsExternalSecret}}'
90 login: '{{ .Values.config.restconfUser }}'
91 password: '{{ .Values.config.restconfPassword }}'
92 passwordPolicy: required
93 - uid: ansible-creds
94 name: &ansibleSecretName '{{ include "common.release" . }}-sdnc-ansible-creds'
95 type: basicAuth
96 externalSecret: '{{ .Values.config.ansibleCredsExternalSecret}}'
97 login: '{{ .Values.config.ansibleUser }}'
98 password: '{{ .Values.config.ansiblePassword }}'
99 passwordPolicy: required
100 - uid: scaleout-creds
101 type: basicAuth
102 externalSecret: '{{ .Values.config.scaleoutCredsExternalSecret}}'
103 login: '{{ .Values.config.scaleoutUser }}'
104 password: '{{ .Values.config.scaleoutPassword }}'
105 passwordPolicy: required
jmac065e2ce2018-03-29 01:18:02 +0000106
107#################################################################
108# Application configuration defaults.
109#################################################################
110# application images
111repository: nexus3.onap.org:10001
112pullPolicy: Always
Timoney, Dan (dt5972)6c198482019-12-03 10:35:51 -0500113image: onap/sdnc-image:1.7.6
jmac065e2ce2018-03-29 01:18:02 +0000114
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -0400115
jmac065e2ce2018-03-29 01:18:02 +0000116# flag to enable debugging - application support required
117debugEnabled: false
118
119# application configuration
BorislavG5f3b6192018-03-25 18:12:38 +0300120config:
Timoney, Dan (dt5972)ba4d2eb2019-05-07 13:32:42 -0400121 odlUid: 100
122 odlGid: 101
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100123 odlUser: admin
jmaca68f4cb2018-05-10 22:44:19 +0000124 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100125 # odlCredsExternalSecret: some secret
126 netboxApikey: onceuponatimeiplayedwithnetbox20180814
127 # netboxApikeyExternalSecret: some secret
128 aaiUser: sdnc@sdnc.onap.org
129 aaiPassword: demo123456!
130 # aaiCredsExternalSecret: some secret
131 modelingUser: ccsdkapps
132 modelingPassword: ccsdkapps
133 # modelingCredsExternalSecret: some secret
134 restconfUser: admin
135 restconfPassword: admin
136 # restconfCredsExternalSecret: some secret
137 scaleoutUser: admin
138 scaleoutPassword: admin
139 # scaleoutExternalSecret: some secret
140 ansibleUser: sdnc
141 ansiblePassword: sdnc
142 # ansibleCredsExternalSecret: some secret
143 dbSdnctlDatabase: &sdncDbName sdnctl
jmac065e2ce2018-03-29 01:18:02 +0000144 enableClustering: true
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -0400145 sdncHome: /opt/onap/sdnc
jmaca68f4cb2018-05-10 22:44:19 +0000146 binDir: /opt/onap/sdnc/bin
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -0400147 etcDir: /opt/onap/sdnc/data
Trevor Tait567ff1e2018-05-01 16:20:54 -0400148 geoEnabled: false
Neha Jain7b0d6c62018-05-17 14:34:49 -0400149# if geoEnabled is set to true here, mysql.geoEnabled must be set to true
Trevor Tait567ff1e2018-05-01 16:20:54 -0400150# if geoEnabled is set to true the following 3 values must be set to their proper values
151 myODLCluster: 127.0.0.1
152 peerODLCluster: 127.0.0.1
Mohammadreza Pasandidehb642ee52018-06-19 15:19:53 -0400153 isPrimaryCluster: true
jmac065e2ce2018-03-29 01:18:02 +0000154 configDir: /opt/onap/sdnc/data/properties
155 dmaapTopic: SUCCESS
jmaca68f4cb2018-05-10 22:44:19 +0000156 dmaapPort: 3904
BorislavG5f3b6192018-03-25 18:12:38 +0300157 logstashServiceName: log-ls
158 logstashPort: 5044
jmac7c434672018-05-11 20:14:17 +0000159 ansibleServiceName: sdnc-ansible-server
160 ansiblePort: 8000
Timoney, Dan (dt5972)6819bc92019-02-12 13:30:49 -0500161 javaHome: /usr/lib/jvm/java-1.8-openjdk
jmac7c434672018-05-11 20:14:17 +0000162
Timoney, Dan (dt5972)58774772019-08-21 16:50:54 -0400163 odl:
164 etcDir: /opt/opendaylight/etc
165 binDir: /opt/opendaylight/bin
166 salConfigDir: /opt/opendaylight/system/org/opendaylight/controller/sal-clustering-config
167 salConfigVersion: 1.8.2
168 akka:
169 seedNodeTimeout: 15s
170 circuitBreaker:
171 maxFailures: 10
172 callTimeout: 90s
173 resetTimeout: 30s
174 recoveryEventTimeout: 90s
175 datastore:
176 persistentActorRestartMinBackoffInSeconds: 10
177 persistentActorRestartMaxBackoffInSeconds: 40
178 persistentActorRestartResetBackoffInSeconds: 20
179 shardTransactionCommitTimeoutInSeconds: 120
180 shardIsolatedLeaderCheckIntervalInMillis: 30000
181 operationTimeoutInSeconds: 120
182 javaOptions:
183 maxGCPauseMillis: 100
184 parallelGCThreads : 3
185 numberGGLogFiles: 10
186
jmac065e2ce2018-03-29 01:18:02 +0000187# dependency / sub-chart configuration
Agarwal, Ruchira (ra1926)ec7c75e2019-10-01 17:36:24 +0000188aaf_init:
189 agentImage: onap/aaf/aaf_agent:2.1.15
190 app_ns: "org.osaaf.aaf"
191 fqi: "sdnc@sdnc.onap.org"
192 fqdn: "sdnc"
193 public_fqdn: "sdnc.onap.org"
194 deploy_fqi: "deployer@people.osaaf.org"
195 deploy_pass: "demo123456!"
196 cadi_latitude: "38.0"
197 cadi_longitude: "-72.0"
198
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100199mariadb-galera: &mariadbGalera
jmac065e2ce2018-03-29 01:18:02 +0000200 nameOverride: sdnc-db
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100201 config:
202 rootPasswordExternalSecret: '{{ ternary (include "common.release" .)-sdnc-db-root-password "" .Values.global.mariadbGalera.localCluster }}'
203 userName: sdnctl
204 userCredentialsExternalSecret: *dbSecretName
jmac065e2ce2018-03-29 01:18:02 +0000205 service:
206 name: sdnc-dbhost
jmacbc92d132018-04-07 03:46:12 +0000207 internalPort: 3306
jmac065e2ce2018-03-29 01:18:02 +0000208 sdnctlPrefix: sdnc
209 persistence:
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +0000210 mountSubPath: sdnc/mariadb-galera
jmac065e2ce2018-03-29 01:18:02 +0000211 enabled: true
jmac065e2ce2018-03-29 01:18:02 +0000212 replicaCount: 1
213
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100214cds:
215 enabled: false
216
217dmaap-listener:
218 nameOverride: sdnc-dmaap-listener
219 mariadb-galera:
220 << : *mariadbGalera
221 config:
222 mysqlDatabase: *sdncDbName
223 config:
224 sdncChartName: sdnc
225 dmaapPort: 3904
226 sdncPort: 8282
227 configDir: /opt/onap/sdnc/data/properties
228 odlCredsExternalSecret: *odlCredsSecretName
229
230ueb-listener:
231 mariadb-galera:
232 << : *mariadbGalera
233 config:
234 mysqlDatabase: *sdncDbName
235 nameOverride: sdnc-ueb-listener
236 config:
237 sdncPort: 8282
238 sdncChartName: sdnc
239 configDir: /opt/onap/sdnc/data/properties
240 odlCredsExternalSecret: *odlCredsSecretName
241
242sdnc-portal:
243 mariadb-galera:
244 << : *mariadbGalera
245 config:
246 mysqlDatabase: *sdncDbName
247 config:
248 sdncChartName: sdnc
249 configDir: /opt/onap/sdnc/data/properties
250 odlCredsExternalSecret: *odlCredsSecretName
251
252sdnc-ansible-server:
253 config:
254 restCredsExternalSecret: *ansibleSecretName
255 mariadb-galera:
256 << : *mariadbGalera
257 config:
258 mysqlDatabase: ansible
259 service:
260 name: sdnc-ansible-server
261 internalPort: 8000
262
jmac065e2ce2018-03-29 01:18:02 +0000263dgbuilder:
264 nameOverride: sdnc-dgbuilder
265 config:
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100266 db:
267 dbName: *sdncDbName
268 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 }}'
269 userCredentialsExternalSecret: *dbSecretName
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +0000270 dbPodName: mariadb-galera
271 dbServiceName: mariadb-galera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100272 # This should be revisited and changed to plain text
jmac70863e12018-05-16 14:53:03 +0000273 dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100274 mariadb-galera:
jmac065e2ce2018-03-29 01:18:02 +0000275 service:
BorislavG1ffbd992018-04-24 07:56:27 +0000276 name: sdnc-dgbuilder
jmac065e2ce2018-03-29 01:18:02 +0000277 nodePort: "03"
278
279# default number of instances
280replicaCount: 1
281
282nodeSelector: {}
283
284affinity: {}
285
286# probe configuration parameters
287liveness:
288 initialDelaySeconds: 10
289 periodSeconds: 10
290 # necessary to disable liveness probe when setting breakpoints
291 # in debugger so K8s doesn't restart unresponsive container
292 enabled: true
293
294readiness:
295 initialDelaySeconds: 10
296 periodSeconds: 10
297
298service:
299 type: NodePort
300 name: sdnc
BorislavG1ffbd992018-04-24 07:56:27 +0000301 portName: sdnc
jmac065e2ce2018-03-29 01:18:02 +0000302 internalPort: 8181
303 internalPort2: 8101
304 internalPort3: 8080
Timoney, Dan (dt5972)c6de2692019-08-14 14:22:37 -0400305 internalPort4: 8443
Mohammadreza Pasandidehb756fb72018-04-03 10:06:45 -0400306
jmac065e2ce2018-03-29 01:18:02 +0000307 #port
308 externalPort: 8282
309 nodePort: "02"
310
311 externalPort2: 8202
312 nodePort2: "08"
313
314 externalPort3: 8280
315 nodePort3: 46
316
jmaca68f4cb2018-05-10 22:44:19 +0000317 externalPort4: 8443
318 nodePort4: 67
319
jmac065e2ce2018-03-29 01:18:02 +0000320 clusterPort: 2550
Mohammadreza Pasandidehb756fb72018-04-03 10:06:45 -0400321 clusterPort2: 2650
322 clusterPort3: 2681
323
324 geoNodePort1: 61
325 geoNodePort2: 62
326 geoNodePort3: 63
327 geoNodePort4: 64
328 geoNodePort5: 65
329 geoNodePort6: 66
jmac065e2ce2018-03-29 01:18:02 +0000330
jmac8d6dc962018-04-26 14:26:55 +0000331## Persist data to a persitent volume
332persistence:
333 enabled: true
334
335 ## A manually managed Persistent Volume and Claim
336 ## Requires persistence.enabled: true
337 ## If defined, PVC must be created manually before volume will be bound
338 # existingClaim:
339 volumeReclaimPolicy: Retain
340
341 ## database data Persistent Volume Storage Class
342 ## If defined, storageClassName: <storageClass>
343 ## If set to "-", storageClassName: "", which disables dynamic provisioning
344 ## If undefined (the default) or set to null, no storageClassName spec is
345 ## set, choosing the default provisioner. (gp2 on AWS, standard on
346 ## GKE, AWS & OpenStack)
347 accessMode: ReadWriteOnce
348 size: 1Gi
349 mountPath: /dockerdata-nfs
350 mountSubPath: sdnc/mdsal
351 mdsalPath: /opt/opendaylight/current/daexim
352
Rahul Tyagi44cc1ac2019-03-02 06:15:35 +0000353certpersistence:
354 enabled: true
355
356 ## A manually managed Persistent Volume and Claim
357 ## Requires persistence.enabled: true
358 ## If defined, PVC must be created manually before volume will be bound
359 # existingClaim:
360
361 volumeReclaimPolicy: Retain
362 accessMode: ReadWriteOnce
363 size: 50Mi
364 mountPath: /dockerdata-nfs
365 mountSubPath: sdnc/certs
Agarwal, Ruchira (ra1926)ec7c75e2019-10-01 17:36:24 +0000366 certPath: /opt/app/osaaf
Rahul Tyagi44cc1ac2019-03-02 06:15:35 +0000367 ##storageClass: "manual"
368
jmac065e2ce2018-03-29 01:18:02 +0000369ingress:
370 enabled: false
Lucjan Bryndza08448402019-11-27 14:26:54 +0100371 service:
372 - baseaddr: "sdnc"
373 name: "sdnc"
374 port: 8443
375 config:
376 ssl: "redirect"
jmac065e2ce2018-03-29 01:18:02 +0000377
toshrajbhardwaj72b5f0f2018-09-13 02:45:22 +0000378#Resource Limit flavor -By Default using small
379flavor: small
380#segregation for different envionment (Small and Large)
381
382resources:
Mandeep Khindade045712018-09-19 18:11:57 +0000383 small:
384 limits:
385 cpu: 2
386 memory: 4Gi
387 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000388 cpu: 1
389 memory: 2Gi
Mandeep Khindade045712018-09-19 18:11:57 +0000390 large:
391 limits:
392 cpu: 4
393 memory: 8Gi
394 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000395 cpu: 2
396 memory: 4Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000397 unlimited: {}