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 |
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") }}'
56 name: &dbSecretName '{{ include "common.release" . }}-sdnc-db-secret'
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" }}'
64 name: &odlCredsSecretName '{{ include "common.release" . }}-sdnc-odl-creds'
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
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
79 externalSecret: '{{ .Values.config.netboxApikeyExternalSecret }}'
80 password: '{{ .Values.config.netboxApikey }}'
81 passwordPolicy: required
84 externalSecret: '{{ .Values.config.aaiCredsExternalSecret}}'
85 login: '{{ .Values.config.aaiUser }}'
86 password: '{{ .Values.config.aaiPassword }}'
87 passwordPolicy: required
88 - uid: modeling-user-creds
90 externalSecret: '{{ .Values.config.modelingCredsExternalSecret}}'
91 login: '{{ .Values.config.modelingUser }}'
92 password: '{{ .Values.config.modelingPassword }}'
93 passwordPolicy: required
96 externalSecret: '{{ .Values.config.restconfCredsExternalSecret}}'
97 login: '{{ .Values.config.restconfUser }}'
98 password: '{{ .Values.config.restconfPassword }}'
99 passwordPolicy: required
101 name: &ansibleSecretName '{{ include "common.release" . }}-sdnc-ansible-creds'
103 externalSecret: '{{ .Values.config.ansibleCredsExternalSecret}}'
104 login: '{{ .Values.config.ansibleUser }}'
105 password: '{{ .Values.config.ansiblePassword }}'
106 passwordPolicy: required
107 - uid: scaleout-creds
109 externalSecret: '{{ .Values.config.scaleoutCredsExternalSecret}}'
110 login: '{{ .Values.config.scaleoutUser }}'
111 password: '{{ .Values.config.scaleoutPassword }}'
112 passwordPolicy: required
114 #################################################################
115 # Application configuration defaults.
116 #################################################################
118 repository: nexus3.onap.org:10001
120 image: onap/sdnc-image:1.8.0
123 # flag to enable debugging - application support required
126 # application configuration
131 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
132 # 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
142 restconfPassword: admin
143 # restconfCredsExternalSecret: some secret
145 scaleoutPassword: admin
146 # scaleoutExternalSecret: some secret
148 ansiblePassword: sdnc
149 # ansibleCredsExternalSecret: some secret
150 dbSdnctlDatabase: &sdncDbName sdnctl
151 enableClustering: true
152 sdncHome: /opt/onap/sdnc
153 binDir: /opt/onap/sdnc/bin
154 etcDir: /opt/onap/sdnc/data
156 # if geoEnabled is set to true here, mysql.geoEnabled must be set to true
157 # 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
160 isPrimaryCluster: true
161 configDir: /opt/onap/sdnc/data/properties
164 logstashServiceName: log-ls
166 ansibleServiceName: sdnc-ansible-server
168 javaHome: /usr/lib/jvm/java-1.8-openjdk
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
181 recoveryEventTimeout: 90s
183 persistentActorRestartMinBackoffInSeconds: 10
184 persistentActorRestartMaxBackoffInSeconds: 40
185 persistentActorRestartResetBackoffInSeconds: 20
186 shardTransactionCommitTimeoutInSeconds: 120
187 shardIsolatedLeaderCheckIntervalInMillis: 30000
188 operationTimeoutInSeconds: 120
190 maxGCPauseMillis: 100
191 parallelGCThreads : 3
194 # dependency / sub-chart configuration
196 agentImage: onap/aaf/aaf_agent:2.1.15
197 app_ns: "org.osaaf.aaf"
198 fqi: "sdnc@sdnc.onap.org"
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"
206 mariadb-galera: &mariadbGalera
207 nameOverride: sdnc-db
208 config: &mariadbGaleraConfig
209 rootPasswordExternalSecret: '{{ ternary (include "common.release" .)-sdnc-db-root-password "" .Values.global.mariadbGalera.localCluster }}'
211 userCredentialsExternalSecret: *dbSecretName
217 mountSubPath: sdnc/mariadb-galera
225 nameOverride: sdnc-dmaap-listener
229 <<: *mariadbGaleraConfig
230 mysqlDatabase: *sdncDbName
235 configDir: /opt/onap/sdnc/data/properties
236 odlCredsExternalSecret: *odlCredsSecretName
242 <<: *mariadbGaleraConfig
243 mysqlDatabase: *sdncDbName
244 nameOverride: sdnc-ueb-listener
248 configDir: /opt/onap/sdnc/data/properties
249 odlCredsExternalSecret: *odlCredsSecretName
255 <<: *mariadbGaleraConfig
256 mysqlDatabase: *sdncDbName
259 configDir: /opt/onap/sdnc/data/properties
260 odlCredsExternalSecret: *odlCredsSecretName
264 restCredsExternalSecret: *ansibleSecretName
268 <<: *mariadbGaleraConfig
269 mysqlDatabase: ansible
271 name: sdnc-ansible-server
275 nameOverride: sdnc-dgbuilder
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
281 dbPodName: mariadb-galera
282 dbServiceName: mariadb-galera
283 # This should be revisited and changed to plain text
284 dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
290 # default number of instances
297 # probe configuration parameters
299 initialDelaySeconds: 10
301 # necessary to disable liveness probe when setting breakpoints
302 # in debugger so K8s doesn't restart unresponsive container
306 initialDelaySeconds: 10
339 ## Persist data to a persitent volume
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
347 volumeReclaimPolicy: Retain
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
357 mountPath: /dockerdata-nfs
358 mountSubPath: sdnc/mdsal
359 mdsalPath: /opt/opendaylight/current/daexim
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
369 volumeReclaimPolicy: Retain
370 accessMode: ReadWriteOnce
372 mountPath: /dockerdata-nfs
373 mountSubPath: sdnc/certs
374 certPath: /opt/app/osaaf
375 ##storageClass: "manual"
386 #Resource Limit flavor -By Default using small
388 #segregation for different envionment (Small and Large)