blob: 0e7d97f3ad4264fc358ce11108a53b48b05255a0 [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
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100201 config: &mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100202 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:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100220 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100221 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100222 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100223 mysqlDatabase: *sdncDbName
224 config:
225 sdncChartName: sdnc
226 dmaapPort: 3904
227 sdncPort: 8282
228 configDir: /opt/onap/sdnc/data/properties
229 odlCredsExternalSecret: *odlCredsSecretName
230
231ueb-listener:
232 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100233 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100234 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100235 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100236 mysqlDatabase: *sdncDbName
237 nameOverride: sdnc-ueb-listener
238 config:
239 sdncPort: 8282
240 sdncChartName: sdnc
241 configDir: /opt/onap/sdnc/data/properties
242 odlCredsExternalSecret: *odlCredsSecretName
243
244sdnc-portal:
245 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100246 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100247 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100248 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100249 mysqlDatabase: *sdncDbName
250 config:
251 sdncChartName: sdnc
252 configDir: /opt/onap/sdnc/data/properties
253 odlCredsExternalSecret: *odlCredsSecretName
254
255sdnc-ansible-server:
256 config:
257 restCredsExternalSecret: *ansibleSecretName
258 mariadb-galera:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100259 <<: *mariadbGalera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100260 config:
Konrad Bańkaa9d44032020-03-19 18:31:34 +0100261 <<: *mariadbGaleraConfig
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100262 mysqlDatabase: ansible
263 service:
264 name: sdnc-ansible-server
265 internalPort: 8000
266
jmac065e2ce2018-03-29 01:18:02 +0000267dgbuilder:
268 nameOverride: sdnc-dgbuilder
269 config:
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100270 db:
271 dbName: *sdncDbName
272 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 }}'
273 userCredentialsExternalSecret: *dbSecretName
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +0000274 dbPodName: mariadb-galera
275 dbServiceName: mariadb-galera
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100276 # This should be revisited and changed to plain text
jmac70863e12018-05-16 14:53:03 +0000277 dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +0100278 mariadb-galera:
jmac065e2ce2018-03-29 01:18:02 +0000279 service:
BorislavG1ffbd992018-04-24 07:56:27 +0000280 name: sdnc-dgbuilder
jmac065e2ce2018-03-29 01:18:02 +0000281 nodePort: "03"
282
283# default number of instances
284replicaCount: 1
285
286nodeSelector: {}
287
288affinity: {}
289
290# probe configuration parameters
291liveness:
292 initialDelaySeconds: 10
293 periodSeconds: 10
294 # necessary to disable liveness probe when setting breakpoints
295 # in debugger so K8s doesn't restart unresponsive container
296 enabled: true
297
298readiness:
299 initialDelaySeconds: 10
300 periodSeconds: 10
301
302service:
303 type: NodePort
304 name: sdnc
BorislavG1ffbd992018-04-24 07:56:27 +0000305 portName: sdnc
jmac065e2ce2018-03-29 01:18:02 +0000306 internalPort: 8181
307 internalPort2: 8101
308 internalPort3: 8080
Timoney, Dan (dt5972)c6de2692019-08-14 14:22:37 -0400309 internalPort4: 8443
Mohammadreza Pasandidehb756fb72018-04-03 10:06:45 -0400310
jmac065e2ce2018-03-29 01:18:02 +0000311 #port
312 externalPort: 8282
jmac065e2ce2018-03-29 01:18:02 +0000313
314 externalPort2: 8202
jmac065e2ce2018-03-29 01:18:02 +0000315
316 externalPort3: 8280
jmac065e2ce2018-03-29 01:18:02 +0000317
jmaca68f4cb2018-05-10 22:44:19 +0000318 externalPort4: 8443
319 nodePort4: 67
320
jmac065e2ce2018-03-29 01:18:02 +0000321 clusterPort: 2550
Mohammadreza Pasandidehb756fb72018-04-03 10:06:45 -0400322 clusterPort2: 2650
323 clusterPort3: 2681
324
325 geoNodePort1: 61
326 geoNodePort2: 62
327 geoNodePort3: 63
328 geoNodePort4: 64
329 geoNodePort5: 65
330 geoNodePort6: 66
jmac065e2ce2018-03-29 01:18:02 +0000331
jmac8d6dc962018-04-26 14:26:55 +0000332## Persist data to a persitent volume
333persistence:
334 enabled: true
335
336 ## A manually managed Persistent Volume and Claim
337 ## Requires persistence.enabled: true
338 ## If defined, PVC must be created manually before volume will be bound
339 # existingClaim:
340 volumeReclaimPolicy: Retain
341
342 ## database data Persistent Volume Storage Class
343 ## If defined, storageClassName: <storageClass>
344 ## If set to "-", storageClassName: "", which disables dynamic provisioning
345 ## If undefined (the default) or set to null, no storageClassName spec is
346 ## set, choosing the default provisioner. (gp2 on AWS, standard on
347 ## GKE, AWS & OpenStack)
348 accessMode: ReadWriteOnce
349 size: 1Gi
350 mountPath: /dockerdata-nfs
351 mountSubPath: sdnc/mdsal
352 mdsalPath: /opt/opendaylight/current/daexim
353
Rahul Tyagi44cc1ac2019-03-02 06:15:35 +0000354certpersistence:
355 enabled: true
356
357 ## A manually managed Persistent Volume and Claim
358 ## Requires persistence.enabled: true
359 ## If defined, PVC must be created manually before volume will be bound
360 # existingClaim:
361
362 volumeReclaimPolicy: Retain
363 accessMode: ReadWriteOnce
364 size: 50Mi
365 mountPath: /dockerdata-nfs
366 mountSubPath: sdnc/certs
Agarwal, Ruchira (ra1926)ec7c75e2019-10-01 17:36:24 +0000367 certPath: /opt/app/osaaf
Rahul Tyagi44cc1ac2019-03-02 06:15:35 +0000368 ##storageClass: "manual"
369
jmac065e2ce2018-03-29 01:18:02 +0000370ingress:
371 enabled: false
Lucjan Bryndza08448402019-11-27 14:26:54 +0100372 service:
373 - baseaddr: "sdnc"
374 name: "sdnc"
375 port: 8443
376 config:
377 ssl: "redirect"
jmac065e2ce2018-03-29 01:18:02 +0000378
toshrajbhardwaj72b5f0f2018-09-13 02:45:22 +0000379#Resource Limit flavor -By Default using small
380flavor: small
381#segregation for different envionment (Small and Large)
382
383resources:
Mandeep Khindade045712018-09-19 18:11:57 +0000384 small:
385 limits:
386 cpu: 2
387 memory: 4Gi
388 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000389 cpu: 1
390 memory: 2Gi
Mandeep Khindade045712018-09-19 18:11:57 +0000391 large:
392 limits:
393 cpu: 4
394 memory: 8Gi
395 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000396 cpu: 2
397 memory: 4Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000398 unlimited: {}