1 # Copyright © 2017 Amdocs, Bell Canada
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
20 nodePortPrefixExt: 304
21 repository: nexus3.onap.org:10001
22 readinessRepository: oomk8s
23 readinessImage: readiness-check:2.0.2
24 loggingRepository: docker.elastic.co
25 loggingImage: beats/filebeat:5.5.0
27 mountPath: /dockerdata-nfs
30 envsubstImage: dibi/envsubst
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
35 service: mariadb-galera
37 nameOverride: mariadb-galera
39 #################################################################
41 #################################################################
43 - uid: db-root-password
44 name: '{{ include "common.release" . }}-sdnc-db-root-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" }}'
49 name: &dbSecretName '{{ include "common.release" . }}-sdnc-db-secret'
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" }}'
57 name: &odlCredsSecretName '{{ include "common.release" . }}-sdnc-odl-creds'
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
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
72 externalSecret: '{{ .Values.config.netboxApikeyExternalSecret }}'
73 password: '{{ .Values.config.netboxApikey }}'
74 passwordPolicy: required
77 externalSecret: '{{ .Values.config.aaiCredsExternalSecret}}'
78 login: '{{ .Values.config.aaiUser }}'
79 password: '{{ .Values.config.aaiPassword }}'
80 passwordPolicy: required
81 - uid: modeling-user-creds
83 externalSecret: '{{ .Values.config.modelingCredsExternalSecret}}'
84 login: '{{ .Values.config.modelingUser }}'
85 password: '{{ .Values.config.modelingPassword }}'
86 passwordPolicy: required
89 externalSecret: '{{ .Values.config.restconfCredsExternalSecret}}'
90 login: '{{ .Values.config.restconfUser }}'
91 password: '{{ .Values.config.restconfPassword }}'
92 passwordPolicy: required
94 name: &ansibleSecretName '{{ include "common.release" . }}-sdnc-ansible-creds'
96 externalSecret: '{{ .Values.config.ansibleCredsExternalSecret}}'
97 login: '{{ .Values.config.ansibleUser }}'
98 password: '{{ .Values.config.ansiblePassword }}'
99 passwordPolicy: required
100 - uid: scaleout-creds
102 externalSecret: '{{ .Values.config.scaleoutCredsExternalSecret}}'
103 login: '{{ .Values.config.scaleoutUser }}'
104 password: '{{ .Values.config.scaleoutPassword }}'
105 passwordPolicy: required
107 #################################################################
108 # Application configuration defaults.
109 #################################################################
111 repository: nexus3.onap.org:10001
113 image: onap/sdnc-image:1.7.6
116 # flag to enable debugging - application support required
119 # application configuration
124 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
125 # 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
135 restconfPassword: admin
136 # restconfCredsExternalSecret: some secret
138 scaleoutPassword: admin
139 # scaleoutExternalSecret: some secret
141 ansiblePassword: sdnc
142 # ansibleCredsExternalSecret: some secret
143 dbSdnctlDatabase: &sdncDbName sdnctl
144 enableClustering: true
145 sdncHome: /opt/onap/sdnc
146 binDir: /opt/onap/sdnc/bin
147 etcDir: /opt/onap/sdnc/data
149 # if geoEnabled is set to true here, mysql.geoEnabled must be set to true
150 # 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
153 isPrimaryCluster: true
154 configDir: /opt/onap/sdnc/data/properties
157 logstashServiceName: log-ls
159 ansibleServiceName: sdnc-ansible-server
161 javaHome: /usr/lib/jvm/java-1.8-openjdk
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
174 recoveryEventTimeout: 90s
176 persistentActorRestartMinBackoffInSeconds: 10
177 persistentActorRestartMaxBackoffInSeconds: 40
178 persistentActorRestartResetBackoffInSeconds: 20
179 shardTransactionCommitTimeoutInSeconds: 120
180 shardIsolatedLeaderCheckIntervalInMillis: 30000
181 operationTimeoutInSeconds: 120
183 maxGCPauseMillis: 100
184 parallelGCThreads : 3
187 # dependency / sub-chart configuration
189 agentImage: onap/aaf/aaf_agent:2.1.15
190 app_ns: "org.osaaf.aaf"
191 fqi: "sdnc@sdnc.onap.org"
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"
199 mariadb-galera: &mariadbGalera
200 nameOverride: sdnc-db
201 config: &mariadbGaleraConfig
202 rootPasswordExternalSecret: '{{ ternary (include "common.release" .)-sdnc-db-root-password "" .Values.global.mariadbGalera.localCluster }}'
204 userCredentialsExternalSecret: *dbSecretName
210 mountSubPath: sdnc/mariadb-galera
218 nameOverride: sdnc-dmaap-listener
222 <<: *mariadbGaleraConfig
223 mysqlDatabase: *sdncDbName
228 configDir: /opt/onap/sdnc/data/properties
229 odlCredsExternalSecret: *odlCredsSecretName
235 <<: *mariadbGaleraConfig
236 mysqlDatabase: *sdncDbName
237 nameOverride: sdnc-ueb-listener
241 configDir: /opt/onap/sdnc/data/properties
242 odlCredsExternalSecret: *odlCredsSecretName
248 <<: *mariadbGaleraConfig
249 mysqlDatabase: *sdncDbName
252 configDir: /opt/onap/sdnc/data/properties
253 odlCredsExternalSecret: *odlCredsSecretName
257 restCredsExternalSecret: *ansibleSecretName
261 <<: *mariadbGaleraConfig
262 mysqlDatabase: ansible
264 name: sdnc-ansible-server
268 nameOverride: sdnc-dgbuilder
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
274 dbPodName: mariadb-galera
275 dbServiceName: mariadb-galera
276 # This should be revisited and changed to plain text
277 dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
283 # default number of instances
290 # probe configuration parameters
292 initialDelaySeconds: 10
294 # necessary to disable liveness probe when setting breakpoints
295 # in debugger so K8s doesn't restart unresponsive container
299 initialDelaySeconds: 10
332 ## Persist data to a persitent volume
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
340 volumeReclaimPolicy: Retain
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
350 mountPath: /dockerdata-nfs
351 mountSubPath: sdnc/mdsal
352 mdsalPath: /opt/opendaylight/current/daexim
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
362 volumeReclaimPolicy: Retain
363 accessMode: ReadWriteOnce
365 mountPath: /dockerdata-nfs
366 mountSubPath: sdnc/certs
367 certPath: /opt/app/osaaf
368 ##storageClass: "manual"
379 #Resource Limit flavor -By Default using small
381 #segregation for different envionment (Small and Large)