Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 1 | # Copyright © 2020 Samsung Electronics, highstreet technologies GmbH |
vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 2 | # Copyright © 2017 Amdocs, Bell Canada |
Remigiusz Janeczek | 42177a1 | 2020-12-10 13:10:15 +0100 | [diff] [blame] | 3 | # Copyright © 2021 Nokia |
vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 4 | # |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 17 | ################################################################# |
| 18 | # Global configuration defaults. |
| 19 | ################################################################# |
| 20 | global: |
| 21 | nodePortPrefix: 302 |
jmac | 0e4f717 | 2018-09-07 18:06:43 +0000 | [diff] [blame] | 22 | nodePortPrefixExt: 304 |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 23 | persistence: |
| 24 | mountPath: /dockerdata-nfs |
Agarwal, Ruchira (ra1926) | ec7c75e | 2019-10-01 17:36:24 +0000 | [diff] [blame] | 25 | aafEnabled: true |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 26 | mariadbGalera: |
| 27 | #This flag allows SO to instantiate its own mariadb-galera cluster |
| 28 | #If shared instance is used, this chart assumes that DB already exists |
| 29 | localCluster: false |
| 30 | service: mariadb-galera |
| 31 | internalPort: 3306 |
| 32 | nameOverride: mariadb-galera |
Remigiusz Janeczek | 42177a1 | 2020-12-10 13:10:15 +0100 | [diff] [blame] | 33 | # Enabling CMPv2 with CertManager |
Jan Malkiewicz | 0e53c9f | 2020-12-08 15:08:01 +0100 | [diff] [blame] | 34 | CMPv2CertManagerIntegration: false |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 35 | |
| 36 | ################################################################# |
| 37 | # Secrets metaconfig |
| 38 | ################################################################# |
| 39 | secrets: |
| 40 | - uid: db-root-password |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 41 | name: &rootDbSecret '{{ include "common.release" . }}-sdnc-db-root-password' |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 42 | type: password |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 43 | # If we're using shared mariadb, we need to use the secret name (second |
| 44 | # part). |
| 45 | # If not, we do the same trick than for user db secret hat allows you |
| 46 | # override this secret using external one with the same field that is used |
| 47 | # to pass this to subchart. |
Krzysztof Opasiak | ab7a6bb | 2020-03-24 03:30:51 +0100 | [diff] [blame] | 48 | externalSecret: '{{ .Values.global.mariadbGalera.localCluster | |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 49 | ternary ((hasSuffix "sdnc-db-root-password" (index .Values "mariadb-galera" "rootUser" "externalSecret")) | |
| 50 | ternary |
| 51 | "" |
| 52 | (tpl (default "" (index .Values "mariadb-galera" "rootUser" "externalSecret")) .)) |
| 53 | (include "common.mariadb.secret.rootPassSecretName" |
| 54 | (dict "dot" . |
| 55 | "chartName" .Values.global.mariadbGalera.nameOverride)) }}' |
| 56 | password: '{{ (index .Values "mariadb-galera" "rootUser" "password") }}' |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 57 | - uid: db-secret |
| 58 | name: &dbSecretName '{{ include "common.release" . }}-sdnc-db-secret' |
| 59 | type: basicAuth |
| 60 | # This is a nasty trick that allows you override this secret using external one |
| 61 | # with the same field that is used to pass this to subchart |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 62 | externalSecret: '{{ (hasSuffix "sdnc-db-secret" (index .Values "mariadb-galera" "db" "externalSecret")) | |
| 63 | ternary |
| 64 | "" |
| 65 | (tpl (default "" (index .Values "mariadb-galera" "db" "externalSecret")) .) }}' |
| 66 | login: '{{ index .Values "mariadb-galera" "db" "user" }}' |
| 67 | password: '{{ index .Values "mariadb-galera" "db" "password" }}' |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 68 | - uid: odl-creds |
| 69 | name: &odlCredsSecretName '{{ include "common.release" . }}-sdnc-odl-creds' |
| 70 | type: basicAuth |
| 71 | externalSecret: '{{ .Values.config.odlCredsExternalSecret }}' |
| 72 | login: '{{ .Values.config.odlUser }}' |
| 73 | password: '{{ .Values.config.odlPassword }}' |
| 74 | # For now this is left hardcoded but should be revisited in a future |
| 75 | passwordPolicy: required |
demskeq8 | 9d26b33 | 2021-01-14 16:45:28 +0100 | [diff] [blame] | 76 | - uid: dmaap-proxy-creds |
| 77 | name: &dmaapProxyCredsSecretName '{{ include "common.release" . }}-sdnc-dmaap-proxy-creds' |
| 78 | type: basicAuth |
| 79 | externalSecret: '{{ .Values.config.dmaapProxyCredsExternalSecret }}' |
| 80 | login: '{{ .Values.config.sdnr.dmaapProxy.user }}' |
| 81 | password: '{{ .Values.config.sdnr.dmaapProxy.password }}' |
| 82 | # For now this is left hardcoded but should be revisited in a future |
| 83 | passwordPolicy: required |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 84 | - uid: netbox-apikey |
| 85 | type: password |
| 86 | externalSecret: '{{ .Values.config.netboxApikeyExternalSecret }}' |
| 87 | password: '{{ .Values.config.netboxApikey }}' |
| 88 | passwordPolicy: required |
| 89 | - uid: aai-user-creds |
| 90 | type: basicAuth |
| 91 | externalSecret: '{{ .Values.config.aaiCredsExternalSecret}}' |
| 92 | login: '{{ .Values.config.aaiUser }}' |
| 93 | password: '{{ .Values.config.aaiPassword }}' |
| 94 | passwordPolicy: required |
| 95 | - uid: modeling-user-creds |
| 96 | type: basicAuth |
| 97 | externalSecret: '{{ .Values.config.modelingCredsExternalSecret}}' |
| 98 | login: '{{ .Values.config.modelingUser }}' |
| 99 | password: '{{ .Values.config.modelingPassword }}' |
| 100 | passwordPolicy: required |
| 101 | - uid: restconf-creds |
| 102 | type: basicAuth |
| 103 | externalSecret: '{{ .Values.config.restconfCredsExternalSecret}}' |
| 104 | login: '{{ .Values.config.restconfUser }}' |
| 105 | password: '{{ .Values.config.restconfPassword }}' |
| 106 | passwordPolicy: required |
| 107 | - uid: ansible-creds |
| 108 | name: &ansibleSecretName '{{ include "common.release" . }}-sdnc-ansible-creds' |
| 109 | type: basicAuth |
| 110 | externalSecret: '{{ .Values.config.ansibleCredsExternalSecret}}' |
| 111 | login: '{{ .Values.config.ansibleUser }}' |
| 112 | password: '{{ .Values.config.ansiblePassword }}' |
| 113 | passwordPolicy: required |
| 114 | - uid: scaleout-creds |
| 115 | type: basicAuth |
| 116 | externalSecret: '{{ .Values.config.scaleoutCredsExternalSecret}}' |
| 117 | login: '{{ .Values.config.scaleoutUser }}' |
| 118 | password: '{{ .Values.config.scaleoutPassword }}' |
| 119 | passwordPolicy: required |
Jan Malkiewicz | 0e53c9f | 2020-12-08 15:08:01 +0100 | [diff] [blame] | 120 | ################################################################# |
| 121 | # Certificates |
| 122 | ################################################################# |
| 123 | certificates: |
Remigiusz Janeczek | 42177a1 | 2020-12-10 13:10:15 +0100 | [diff] [blame] | 124 | - mountPath: /var/custom-certs |
| 125 | commonName: sdnc.simpledemo.onap.org |
Jan Malkiewicz | 0e53c9f | 2020-12-08 15:08:01 +0100 | [diff] [blame] | 126 | dnsNames: |
| 127 | - sdnc.simpledemo.onap.org |
Piotr Marcinkiewicz | 5957101 | 2021-01-12 17:37:08 +0100 | [diff] [blame] | 128 | keystore: |
| 129 | outputType: |
| 130 | - jks |
Jan Malkiewicz | 0e53c9f | 2020-12-08 15:08:01 +0100 | [diff] [blame] | 131 | passwordSecretRef: |
Piotr Marcinkiewicz | 5957101 | 2021-01-12 17:37:08 +0100 | [diff] [blame] | 132 | name: sdnc-cmpv2-keystore-password |
Jan Malkiewicz | 0e53c9f | 2020-12-08 15:08:01 +0100 | [diff] [blame] | 133 | key: password |
Piotr Marcinkiewicz | 5957101 | 2021-01-12 17:37:08 +0100 | [diff] [blame] | 134 | issuer: |
| 135 | group: certmanager.onap.org |
| 136 | kind: CMPv2Issuer |
| 137 | name: cmpv2-issuer-onap |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 138 | ################################################################# |
| 139 | # Application configuration defaults. |
| 140 | ################################################################# |
| 141 | # application images |
Alexander Dehn | 238450f | 2020-10-27 13:03:53 +0000 | [diff] [blame] | 142 | |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 143 | pullPolicy: Always |
Dan Timoney | d1f39e3 | 2021-01-13 08:15:18 -0500 | [diff] [blame] | 144 | image: onap/sdnc-image:2.0.5 |
Timoney, Dan (dt5972) | a3bc1a5 | 2019-06-26 16:16:52 -0400 | [diff] [blame] | 145 | |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 146 | # flag to enable debugging - application support required |
| 147 | debugEnabled: false |
| 148 | |
| 149 | # application configuration |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 150 | config: |
Timoney, Dan (dt5972) | ba4d2eb | 2019-05-07 13:32:42 -0400 | [diff] [blame] | 151 | odlUid: 100 |
| 152 | odlGid: 101 |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 153 | odlUser: admin |
jmac | a68f4cb | 2018-05-10 22:44:19 +0000 | [diff] [blame] | 154 | odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 155 | # odlCredsExternalSecret: some secret |
| 156 | netboxApikey: onceuponatimeiplayedwithnetbox20180814 |
| 157 | # netboxApikeyExternalSecret: some secret |
| 158 | aaiUser: sdnc@sdnc.onap.org |
| 159 | aaiPassword: demo123456! |
| 160 | # aaiCredsExternalSecret: some secret |
| 161 | modelingUser: ccsdkapps |
| 162 | modelingPassword: ccsdkapps |
| 163 | # modelingCredsExternalSecret: some secret |
| 164 | restconfUser: admin |
| 165 | restconfPassword: admin |
| 166 | # restconfCredsExternalSecret: some secret |
| 167 | scaleoutUser: admin |
| 168 | scaleoutPassword: admin |
| 169 | # scaleoutExternalSecret: some secret |
| 170 | ansibleUser: sdnc |
| 171 | ansiblePassword: sdnc |
| 172 | # ansibleCredsExternalSecret: some secret |
| 173 | dbSdnctlDatabase: &sdncDbName sdnctl |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 174 | enableClustering: true |
Timoney, Dan (dt5972) | a3bc1a5 | 2019-06-26 16:16:52 -0400 | [diff] [blame] | 175 | sdncHome: /opt/onap/sdnc |
jmac | a68f4cb | 2018-05-10 22:44:19 +0000 | [diff] [blame] | 176 | binDir: /opt/onap/sdnc/bin |
Timoney, Dan (dt5972) | a3bc1a5 | 2019-06-26 16:16:52 -0400 | [diff] [blame] | 177 | etcDir: /opt/onap/sdnc/data |
Trevor Tait | 567ff1e | 2018-05-01 16:20:54 -0400 | [diff] [blame] | 178 | geoEnabled: false |
Neha Jain | 7b0d6c6 | 2018-05-17 14:34:49 -0400 | [diff] [blame] | 179 | # if geoEnabled is set to true here, mysql.geoEnabled must be set to true |
Trevor Tait | 567ff1e | 2018-05-01 16:20:54 -0400 | [diff] [blame] | 180 | # if geoEnabled is set to true the following 3 values must be set to their proper values |
| 181 | myODLCluster: 127.0.0.1 |
| 182 | peerODLCluster: 127.0.0.1 |
Mohammadreza Pasandideh | b642ee5 | 2018-06-19 15:19:53 -0400 | [diff] [blame] | 183 | isPrimaryCluster: true |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 184 | configDir: /opt/onap/sdnc/data/properties |
Konrad Bańka | 5ea1db3 | 2020-04-06 14:32:46 +0200 | [diff] [blame] | 185 | ccsdkConfigDir: /opt/onap/ccsdk/data/properties |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 186 | dmaapTopic: SUCCESS |
jmac | a68f4cb | 2018-05-10 22:44:19 +0000 | [diff] [blame] | 187 | dmaapPort: 3904 |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 188 | logstashServiceName: log-ls |
| 189 | logstashPort: 5044 |
jmac | 7c43467 | 2018-05-11 20:14:17 +0000 | [diff] [blame] | 190 | ansibleServiceName: sdnc-ansible-server |
| 191 | ansiblePort: 8000 |
Dan Timoney | a98765b | 2020-09-14 11:57:55 -0400 | [diff] [blame] | 192 | javaHome: /opt/java/openjdk |
jmac | 7c43467 | 2018-05-11 20:14:17 +0000 | [diff] [blame] | 193 | |
Timoney, Dan (dt5972) | 5877477 | 2019-08-21 16:50:54 -0400 | [diff] [blame] | 194 | odl: |
| 195 | etcDir: /opt/opendaylight/etc |
| 196 | binDir: /opt/opendaylight/bin |
Dan Timoney | a98765b | 2020-09-14 11:57:55 -0400 | [diff] [blame] | 197 | gcLogDir: /opt/opendaylight/data/log |
Timoney, Dan (dt5972) | 5877477 | 2019-08-21 16:50:54 -0400 | [diff] [blame] | 198 | salConfigDir: /opt/opendaylight/system/org/opendaylight/controller/sal-clustering-config |
Dan Timoney | 9520e7c | 2021-01-12 11:10:58 -0500 | [diff] [blame] | 199 | salConfigVersion: 1.10.4 |
Timoney, Dan (dt5972) | 5877477 | 2019-08-21 16:50:54 -0400 | [diff] [blame] | 200 | akka: |
| 201 | seedNodeTimeout: 15s |
| 202 | circuitBreaker: |
| 203 | maxFailures: 10 |
| 204 | callTimeout: 90s |
| 205 | resetTimeout: 30s |
| 206 | recoveryEventTimeout: 90s |
| 207 | datastore: |
| 208 | persistentActorRestartMinBackoffInSeconds: 10 |
| 209 | persistentActorRestartMaxBackoffInSeconds: 40 |
| 210 | persistentActorRestartResetBackoffInSeconds: 20 |
| 211 | shardTransactionCommitTimeoutInSeconds: 120 |
| 212 | shardIsolatedLeaderCheckIntervalInMillis: 30000 |
| 213 | operationTimeoutInSeconds: 120 |
| 214 | javaOptions: |
| 215 | maxGCPauseMillis: 100 |
| 216 | parallelGCThreads : 3 |
Dan Timoney | a98765b | 2020-09-14 11:57:55 -0400 | [diff] [blame] | 217 | numberGCLogFiles: 10 |
| 218 | minMemory: 512m |
| 219 | maxMemory: 2048m |
| 220 | gcLogOptions: "" |
| 221 | # Next line enables gc logging |
| 222 | # gcLogOptions: "-Xlog:gc=trace:file={{.Values.config.odl.gcLogDir}}/gc-%t.log}:time,level,tags:filecount={{.Values.config.odl.javaOptions.numberGCLogFiles}}" |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 223 | # enables sdnr functionality |
| 224 | sdnr: |
Alexander Dehn | 5c1105e | 2020-09-14 20:55:56 +0000 | [diff] [blame] | 225 | enabled: true |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 226 | # mode: web - SDNC contains device manager only plus dedicated webserver service for ODLUX (default), |
| 227 | # mode: dm - SDNC contains sdnr device manager + ODLUX components |
| 228 | mode: dm |
| 229 | # sdnronly: true starts sdnc container with odl and sdnrwt features only |
| 230 | sdnronly: false |
| 231 | sdnrdbTrustAllCerts: true |
| 232 | mountpointRegistrarEnabled: false |
| 233 | mountpointStateProviderEnabled: false |
demskeq8 | 9d26b33 | 2021-01-14 16:45:28 +0100 | [diff] [blame] | 234 | # enable and set dmaap-proxy for mountpointRegistrar |
| 235 | dmaapProxy: |
| 236 | enabled: false |
| 237 | usepwd: true |
| 238 | user: addUserHere |
| 239 | password: addPasswordHere |
| 240 | url: addProxyUrlHere |
| 241 | |
| 242 | |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 243 | |
| 244 | |
Timoney, Dan (dt5972) | 5877477 | 2019-08-21 16:50:54 -0400 | [diff] [blame] | 245 | |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 246 | # dependency / sub-chart configuration |
Krzysztof Opasiak | 8ab4547 | 2020-05-12 12:53:50 +0200 | [diff] [blame] | 247 | certInitializer: |
| 248 | nameOverride: sdnc-cert-initializer |
Jozsef Csongvai | 9d4d5af | 2020-07-13 11:10:25 -0400 | [diff] [blame] | 249 | truststoreMountpath: /opt/onap/sdnc/data/stores |
Krzysztof Opasiak | 6bab0cc | 2020-04-29 00:55:47 +0200 | [diff] [blame] | 250 | fqdn: "sdnc" |
| 251 | app_ns: "org.osaaf.aaf" |
| 252 | fqi: "sdnc@sdnc.onap.org" |
| 253 | fqi_namespace: org.onap.sdnc |
| 254 | public_fqdn: "sdnc.onap.org" |
| 255 | aafDeployFqi: "deployer@people.osaaf.org" |
| 256 | aafDeployPass: demo123456! |
| 257 | cadi_latitude: "38.0" |
| 258 | cadi_longitude: "-72.0" |
Krzysztof Opasiak | 6bab0cc | 2020-04-29 00:55:47 +0200 | [diff] [blame] | 259 | credsPath: /opt/app/osaaf/local |
Krzysztof Opasiak | 8ab4547 | 2020-05-12 12:53:50 +0200 | [diff] [blame] | 260 | aaf_add_config: > |
| 261 | cd /opt/app/osaaf/local; |
| 262 | /opt/app/aaf_config/bin/agent.sh local showpass {{.Values.fqi}} {{ .Values.fqdn }} | grep cadi_keystore_password= | cut -d= -f 2 > {{ .Values.credsPath }}/.pass 2>&1 |
Agarwal, Ruchira (ra1926) | ec7c75e | 2019-10-01 17:36:24 +0000 | [diff] [blame] | 263 | |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 264 | # dependency / sub-chart configuration |
| 265 | network-name-gen: |
| 266 | enabled: true |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 267 | mariadb-galera: &mariadbGalera |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 268 | nameOverride: &sdnc-db sdnc-db |
Konrad Bańka | a9d4403 | 2020-03-19 18:31:34 +0100 | [diff] [blame] | 269 | config: &mariadbGaleraConfig |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 270 | rootPasswordExternalSecret: *rootDbSecret |
| 271 | userName: &dbUser sdnctl |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 272 | userCredentialsExternalSecret: *dbSecretName |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 273 | rootUser: |
| 274 | externalSecret: *rootDbSecret |
| 275 | db: |
| 276 | user: *dbUser |
| 277 | externalSecret: *dbSecretName |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 278 | service: |
| 279 | name: sdnc-dbhost |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 280 | sdnctlPrefix: sdnc |
| 281 | persistence: |
Mahendra Raghuwanshi | b76cb28 | 2019-04-09 10:13:07 +0000 | [diff] [blame] | 282 | mountSubPath: sdnc/mariadb-galera |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 283 | enabled: true |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 284 | replicaCount: 1 |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 285 | serviceAccount: |
| 286 | nameOverride: *sdnc-db |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 287 | |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 288 | cds: |
| 289 | enabled: false |
| 290 | |
| 291 | dmaap-listener: |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 292 | enabled: true |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 293 | nameOverride: sdnc-dmaap-listener |
| 294 | mariadb-galera: |
Konrad Bańka | a9d4403 | 2020-03-19 18:31:34 +0100 | [diff] [blame] | 295 | <<: *mariadbGalera |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 296 | config: |
Konrad Bańka | a9d4403 | 2020-03-19 18:31:34 +0100 | [diff] [blame] | 297 | <<: *mariadbGaleraConfig |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 298 | mysqlDatabase: *sdncDbName |
| 299 | config: |
| 300 | sdncChartName: sdnc |
| 301 | dmaapPort: 3904 |
| 302 | sdncPort: 8282 |
| 303 | configDir: /opt/onap/sdnc/data/properties |
| 304 | odlCredsExternalSecret: *odlCredsSecretName |
| 305 | |
| 306 | ueb-listener: |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 307 | enabled: true |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 308 | mariadb-galera: |
Konrad Bańka | a9d4403 | 2020-03-19 18:31:34 +0100 | [diff] [blame] | 309 | <<: *mariadbGalera |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 310 | config: |
Konrad Bańka | a9d4403 | 2020-03-19 18:31:34 +0100 | [diff] [blame] | 311 | <<: *mariadbGaleraConfig |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 312 | mysqlDatabase: *sdncDbName |
| 313 | nameOverride: sdnc-ueb-listener |
| 314 | config: |
| 315 | sdncPort: 8282 |
| 316 | sdncChartName: sdnc |
| 317 | configDir: /opt/onap/sdnc/data/properties |
| 318 | odlCredsExternalSecret: *odlCredsSecretName |
| 319 | |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 320 | sdnc-ansible-server: |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 321 | enabled: true |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 322 | config: |
| 323 | restCredsExternalSecret: *ansibleSecretName |
| 324 | mariadb-galera: |
Konrad Bańka | a9d4403 | 2020-03-19 18:31:34 +0100 | [diff] [blame] | 325 | <<: *mariadbGalera |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 326 | config: |
Konrad Bańka | a9d4403 | 2020-03-19 18:31:34 +0100 | [diff] [blame] | 327 | <<: *mariadbGaleraConfig |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 328 | mysqlDatabase: ansible |
| 329 | service: |
| 330 | name: sdnc-ansible-server |
| 331 | internalPort: 8000 |
| 332 | |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 333 | dgbuilder: |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 334 | enabled: true |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 335 | nameOverride: sdnc-dgbuilder |
Dan Timoney | cb0a81f | 2020-07-15 17:31:43 -0400 | [diff] [blame] | 336 | certInitializer: |
| 337 | nameOverride: sdnc-dgbuilder-cert-initializer |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 338 | config: |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 339 | db: |
| 340 | dbName: *sdncDbName |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 341 | rootPasswordExternalSecret: '{{ .Values.global.mariadbGalera.localCluster | |
| 342 | ternary |
| 343 | (printf "%s-sdnc-db-root-password" (include "common.release" .)) |
| 344 | (include "common.mariadb.secret.rootPassSecretName" |
| 345 | (dict "dot" . "chartName" "mariadb-galera")) }}' |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 346 | userCredentialsExternalSecret: *dbSecretName |
Mahendra Raghuwanshi | b76cb28 | 2019-04-09 10:13:07 +0000 | [diff] [blame] | 347 | dbPodName: mariadb-galera |
| 348 | dbServiceName: mariadb-galera |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 349 | # This should be revisited and changed to plain text |
jmac | 70863e1 | 2018-05-16 14:53:03 +0000 | [diff] [blame] | 350 | dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5 |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 351 | mariadb-galera: |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 352 | service: |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 353 | name: sdnc-dgbuilder |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 354 | nodePort: "03" |
| 355 | |
Sylvain Desbureaux | e54644e | 2020-05-04 11:45:16 +0200 | [diff] [blame] | 356 | ingress: |
| 357 | enabled: false |
| 358 | service: |
| 359 | - baseaddr: "sdnc-dgbuilder" |
| 360 | name: "sdnc-dgbuilder" |
| 361 | port: 3000 |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 362 | - baseaddr: "sdnc-web-service" |
| 363 | name: "sdnc-web-service" |
| 364 | port: 8443 |
Sylvain Desbureaux | e54644e | 2020-05-04 11:45:16 +0200 | [diff] [blame] | 365 | config: |
| 366 | ssl: "redirect" |
| 367 | |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 368 | |
| 369 | |
Alexander Dehn | ab86ec1 | 2020-02-05 14:38:54 +0000 | [diff] [blame] | 370 | # local elasticsearch cluster |
| 371 | localElasticCluster: true |
| 372 | elasticsearch: |
Sylvain Desbureaux | 829344b | 2020-11-19 17:07:26 +0100 | [diff] [blame] | 373 | nameOverride: &elasticSearchName sdnrdb |
Alexander Dehn | ab86ec1 | 2020-02-05 14:38:54 +0000 | [diff] [blame] | 374 | name: sdnrdb-cluster |
Krzysztof Opasiak | c6152ce | 2020-05-09 01:43:08 +0200 | [diff] [blame] | 375 | certInitializer: |
Alexander Dehn | ab86ec1 | 2020-02-05 14:38:54 +0000 | [diff] [blame] | 376 | fqdn: "sdnc" |
| 377 | fqi_namespace: org.onap.sdnc |
| 378 | fqi: "sdnc@sdnc.onap.org" |
| 379 | service: |
Sylvain Desbureaux | 829344b | 2020-11-19 17:07:26 +0100 | [diff] [blame] | 380 | name: *elasticSearchName |
Alexander Dehn | ab86ec1 | 2020-02-05 14:38:54 +0000 | [diff] [blame] | 381 | master: |
| 382 | replicaCount: 3 |
| 383 | # dedicatednode: "yes" |
| 384 | # working as master node only, in this case increase replicaCount for elasticsearch-data |
| 385 | # dedicatednode: "no" |
| 386 | # handles master and data node functionality |
| 387 | dedicatednode: "no" |
Sylvain Desbureaux | 829344b | 2020-11-19 17:07:26 +0100 | [diff] [blame] | 388 | nameOverride: *elasticSearchName |
demskeq8 | eb56da7 | 2021-02-19 12:11:48 +0100 | [diff] [blame] | 389 | cluster_name: sdnrdb-cluster |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 390 | # enable |
| 391 | sdnc-web: |
Alexander Dehn | 8789a72 | 2020-10-16 14:29:05 +0000 | [diff] [blame] | 392 | enabled: true |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 393 | # default number of instances |
| 394 | replicaCount: 1 |
| 395 | |
| 396 | nodeSelector: {} |
| 397 | |
| 398 | affinity: {} |
| 399 | |
| 400 | # probe configuration parameters |
| 401 | liveness: |
| 402 | initialDelaySeconds: 10 |
| 403 | periodSeconds: 10 |
| 404 | # necessary to disable liveness probe when setting breakpoints |
| 405 | # in debugger so K8s doesn't restart unresponsive container |
| 406 | enabled: true |
| 407 | |
| 408 | readiness: |
| 409 | initialDelaySeconds: 10 |
| 410 | periodSeconds: 10 |
| 411 | |
| 412 | service: |
| 413 | type: NodePort |
| 414 | name: sdnc |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 415 | portName: sdnc |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 416 | internalPort: 8181 |
| 417 | internalPort2: 8101 |
| 418 | internalPort3: 8080 |
Timoney, Dan (dt5972) | c6de269 | 2019-08-14 14:22:37 -0400 | [diff] [blame] | 419 | internalPort4: 8443 |
Mohammadreza Pasandideh | b756fb7 | 2018-04-03 10:06:45 -0400 | [diff] [blame] | 420 | |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 421 | #port |
| 422 | externalPort: 8282 |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 423 | |
| 424 | externalPort2: 8202 |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 425 | |
| 426 | externalPort3: 8280 |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 427 | |
jmac | a68f4cb | 2018-05-10 22:44:19 +0000 | [diff] [blame] | 428 | externalPort4: 8443 |
| 429 | nodePort4: 67 |
| 430 | |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 431 | clusterPort: 2550 |
Mohammadreza Pasandideh | b756fb7 | 2018-04-03 10:06:45 -0400 | [diff] [blame] | 432 | clusterPort2: 2650 |
| 433 | clusterPort3: 2681 |
| 434 | |
| 435 | geoNodePort1: 61 |
| 436 | geoNodePort2: 62 |
| 437 | geoNodePort3: 63 |
| 438 | geoNodePort4: 64 |
| 439 | geoNodePort5: 65 |
| 440 | geoNodePort6: 66 |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 441 | |
jmac | 8d6dc96 | 2018-04-26 14:26:55 +0000 | [diff] [blame] | 442 | ## Persist data to a persitent volume |
| 443 | persistence: |
| 444 | enabled: true |
| 445 | |
| 446 | ## A manually managed Persistent Volume and Claim |
| 447 | ## Requires persistence.enabled: true |
| 448 | ## If defined, PVC must be created manually before volume will be bound |
| 449 | # existingClaim: |
| 450 | volumeReclaimPolicy: Retain |
| 451 | |
| 452 | ## database data Persistent Volume Storage Class |
| 453 | ## If defined, storageClassName: <storageClass> |
| 454 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 455 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 456 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 457 | ## GKE, AWS & OpenStack) |
| 458 | accessMode: ReadWriteOnce |
| 459 | size: 1Gi |
| 460 | mountPath: /dockerdata-nfs |
| 461 | mountSubPath: sdnc/mdsal |
Dan Timoney | 2ee28a5 | 2021-01-15 16:39:50 -0500 | [diff] [blame] | 462 | mdsalPath: /opt/opendaylight/mdsal |
demskeq8 | a86300a | 2021-02-10 09:53:33 +0100 | [diff] [blame] | 463 | daeximPath: /opt/opendaylight/mdsal/daexim |
Dan Timoney | 2ee28a5 | 2021-01-15 16:39:50 -0500 | [diff] [blame] | 464 | journalPath: /opt/opendaylight/journal |
| 465 | snapshotsPath: /opt/opendaylight/snapshots |
jmac | 8d6dc96 | 2018-04-26 14:26:55 +0000 | [diff] [blame] | 466 | |
egernug | 2757833 | 2020-03-26 10:27:55 +0000 | [diff] [blame] | 467 | certpersistence: |
| 468 | enabled: true |
| 469 | |
| 470 | ## A manually managed Persistent Volume and Claim |
| 471 | ## Requires persistence.enabled: true |
| 472 | ## If defined, PVC must be created manually before volume will be bound |
| 473 | # existingClaim: |
| 474 | |
| 475 | volumeReclaimPolicy: Retain |
| 476 | accessMode: ReadWriteOnce |
| 477 | size: 50Mi |
| 478 | mountPath: /dockerdata-nfs |
| 479 | mountSubPath: sdnc/certs |
| 480 | certPath: /opt/app/osaaf |
| 481 | ##storageClass: "manual" |
| 482 | |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 483 | ingress: |
| 484 | enabled: false |
Lucjan Bryndza | 0844840 | 2019-11-27 14:26:54 +0100 | [diff] [blame] | 485 | service: |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame] | 486 | - baseaddr: "sdnc.api" |
Lucjan Bryndza | 0844840 | 2019-11-27 14:26:54 +0100 | [diff] [blame] | 487 | name: "sdnc" |
| 488 | port: 8443 |
| 489 | config: |
| 490 | ssl: "redirect" |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 491 | |
toshrajbhardwaj | 72b5f0f | 2018-09-13 02:45:22 +0000 | [diff] [blame] | 492 | #Resource Limit flavor -By Default using small |
| 493 | flavor: small |
| 494 | #segregation for different envionment (Small and Large) |
| 495 | |
| 496 | resources: |
Mandeep Khinda | de04571 | 2018-09-19 18:11:57 +0000 | [diff] [blame] | 497 | small: |
| 498 | limits: |
| 499 | cpu: 2 |
| 500 | memory: 4Gi |
| 501 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 502 | cpu: 1 |
| 503 | memory: 2Gi |
Mandeep Khinda | de04571 | 2018-09-19 18:11:57 +0000 | [diff] [blame] | 504 | large: |
| 505 | limits: |
| 506 | cpu: 4 |
| 507 | memory: 8Gi |
| 508 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 509 | cpu: 2 |
| 510 | memory: 4Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 511 | unlimited: {} |