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 |
Dan Timoney | 9e310e7 | 2021-02-23 11:25:39 -0500 | [diff] [blame] | 89 | - uid: aai-truststore-password |
| 90 | type: password |
| 91 | externalSecret: '{{ .Values.config.aaiTruststoreExternalSecret }}' |
| 92 | password: '{{ .Values.config.aaiTruststorePassword }}' |
| 93 | passwordPolicy: required |
| 94 | - uid: ansible-truststore-password |
| 95 | type: password |
| 96 | externalSecret: '{{ .Values.config.ansibleTruststoreExternalSecret }}' |
| 97 | password: '{{ .Values.config.ansibleTruststorePassword }}' |
| 98 | passwordPolicy: required |
| 99 | - uid: truststore-password |
| 100 | type: password |
| 101 | externalSecret: '{{ .Values.config.truststoreExternalSecret }}' |
| 102 | password: '{{ .Values.config.truststorePassword }}' |
| 103 | passwordPolicy: required |
| 104 | - uid: keystore-password |
| 105 | type: password |
| 106 | externalSecret: '{{ .Values.config.keystoreExternalSecret }}' |
| 107 | password: '{{ .Values.config.keystorePassword }}' |
| 108 | passwordPolicy: required |
| 109 | - uid: dmaap-authkey |
| 110 | type: password |
| 111 | externalSecret: '{{ .Values.config.dmaapAuthKeyExternalSecret }}' |
| 112 | password: '{{ .Values.config.dmaapAuthKey }}' |
| 113 | passwordPolicy: required |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 114 | - uid: aai-user-creds |
| 115 | type: basicAuth |
| 116 | externalSecret: '{{ .Values.config.aaiCredsExternalSecret}}' |
| 117 | login: '{{ .Values.config.aaiUser }}' |
| 118 | password: '{{ .Values.config.aaiPassword }}' |
| 119 | passwordPolicy: required |
Dan Timoney | 9e310e7 | 2021-02-23 11:25:39 -0500 | [diff] [blame] | 120 | - uid: so-user-creds |
| 121 | type: basicAuth |
| 122 | externalSecret: '{{ .Values.config.soCredsExternalSecret}}' |
| 123 | login: '{{ .Values.config.soUser }}' |
| 124 | password: '{{ .Values.config.soPassword }}' |
| 125 | passwordPolicy: required |
| 126 | - uid: neng-user-creds |
| 127 | type: basicAuth |
| 128 | externalSecret: '{{ .Values.config.nengCredsExternalSecret}}' |
| 129 | login: '{{ .Values.config.nengUser }}' |
| 130 | password: '{{ .Values.config.nengPassword }}' |
| 131 | passwordPolicy: required |
| 132 | - uid: cds-user-creds |
| 133 | type: basicAuth |
| 134 | externalSecret: '{{ .Values.config.cdsCredsExternalSecret}}' |
| 135 | login: '{{ .Values.config.cdsUser }}' |
| 136 | password: '{{ .Values.config.cdsPassword }}' |
| 137 | passwordPolicy: required |
| 138 | - uid: honeycomb-user-creds |
| 139 | type: basicAuth |
| 140 | externalSecret: '{{ .Values.config.honeycombCredsExternalSecret}}' |
| 141 | login: '{{ .Values.config.honeycombUser }}' |
| 142 | password: '{{ .Values.config.honeycombPassword }}' |
| 143 | passwordPolicy: required |
| 144 | - uid: dmaap-user-creds |
| 145 | type: basicAuth |
| 146 | externalSecret: '{{ .Values.config.dmaapCredsExternalSecret}}' |
| 147 | login: '{{ .Values.config.dmaapUser }}' |
| 148 | password: '{{ .Values.config.dmaapPassword }}' |
| 149 | passwordPolicy: required |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 150 | - uid: modeling-user-creds |
| 151 | type: basicAuth |
| 152 | externalSecret: '{{ .Values.config.modelingCredsExternalSecret}}' |
| 153 | login: '{{ .Values.config.modelingUser }}' |
| 154 | password: '{{ .Values.config.modelingPassword }}' |
| 155 | passwordPolicy: required |
| 156 | - uid: restconf-creds |
| 157 | type: basicAuth |
| 158 | externalSecret: '{{ .Values.config.restconfCredsExternalSecret}}' |
| 159 | login: '{{ .Values.config.restconfUser }}' |
| 160 | password: '{{ .Values.config.restconfPassword }}' |
| 161 | passwordPolicy: required |
| 162 | - uid: ansible-creds |
| 163 | name: &ansibleSecretName '{{ include "common.release" . }}-sdnc-ansible-creds' |
| 164 | type: basicAuth |
| 165 | externalSecret: '{{ .Values.config.ansibleCredsExternalSecret}}' |
| 166 | login: '{{ .Values.config.ansibleUser }}' |
| 167 | password: '{{ .Values.config.ansiblePassword }}' |
| 168 | passwordPolicy: required |
| 169 | - uid: scaleout-creds |
| 170 | type: basicAuth |
| 171 | externalSecret: '{{ .Values.config.scaleoutCredsExternalSecret}}' |
| 172 | login: '{{ .Values.config.scaleoutUser }}' |
| 173 | password: '{{ .Values.config.scaleoutPassword }}' |
| 174 | passwordPolicy: required |
Jan Malkiewicz | 0e53c9f | 2020-12-08 15:08:01 +0100 | [diff] [blame] | 175 | ################################################################# |
| 176 | # Certificates |
| 177 | ################################################################# |
| 178 | certificates: |
Remigiusz Janeczek | 42177a1 | 2020-12-10 13:10:15 +0100 | [diff] [blame] | 179 | - mountPath: /var/custom-certs |
| 180 | commonName: sdnc.simpledemo.onap.org |
Jan Malkiewicz | 0e53c9f | 2020-12-08 15:08:01 +0100 | [diff] [blame] | 181 | dnsNames: |
| 182 | - sdnc.simpledemo.onap.org |
Piotr Marcinkiewicz | 5957101 | 2021-01-12 17:37:08 +0100 | [diff] [blame] | 183 | keystore: |
| 184 | outputType: |
| 185 | - jks |
Jan Malkiewicz | 0e53c9f | 2020-12-08 15:08:01 +0100 | [diff] [blame] | 186 | passwordSecretRef: |
Piotr Marcinkiewicz | 5957101 | 2021-01-12 17:37:08 +0100 | [diff] [blame] | 187 | name: sdnc-cmpv2-keystore-password |
Jan Malkiewicz | 0e53c9f | 2020-12-08 15:08:01 +0100 | [diff] [blame] | 188 | key: password |
Piotr Marcinkiewicz | 5957101 | 2021-01-12 17:37:08 +0100 | [diff] [blame] | 189 | issuer: |
| 190 | group: certmanager.onap.org |
| 191 | kind: CMPv2Issuer |
| 192 | name: cmpv2-issuer-onap |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 193 | ################################################################# |
| 194 | # Application configuration defaults. |
| 195 | ################################################################# |
| 196 | # application images |
Alexander Dehn | 238450f | 2020-10-27 13:03:53 +0000 | [diff] [blame] | 197 | |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 198 | pullPolicy: Always |
Dan Timoney | 9e310e7 | 2021-02-23 11:25:39 -0500 | [diff] [blame] | 199 | image: onap/sdnc-image:2.1.3 |
Timoney, Dan (dt5972) | a3bc1a5 | 2019-06-26 16:16:52 -0400 | [diff] [blame] | 200 | |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 201 | # flag to enable debugging - application support required |
| 202 | debugEnabled: false |
| 203 | |
| 204 | # application configuration |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 205 | config: |
Timoney, Dan (dt5972) | ba4d2eb | 2019-05-07 13:32:42 -0400 | [diff] [blame] | 206 | odlUid: 100 |
| 207 | odlGid: 101 |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 208 | odlUser: admin |
jmac | a68f4cb | 2018-05-10 22:44:19 +0000 | [diff] [blame] | 209 | odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 210 | # odlCredsExternalSecret: some secret |
| 211 | netboxApikey: onceuponatimeiplayedwithnetbox20180814 |
| 212 | # netboxApikeyExternalSecret: some secret |
Dan Timoney | 9e310e7 | 2021-02-23 11:25:39 -0500 | [diff] [blame] | 213 | aaiTruststorePassword: changeit |
| 214 | # aaiTruststoreExternalSecret: some secret |
| 215 | ansibleTruststorePassword: changeit |
| 216 | # ansibleTruststoreExternalSecret: some secret |
| 217 | truststorePassword: adminadmin |
| 218 | # truststoreExternalSecret: some secret |
| 219 | keystorePassword: adminadmin |
| 220 | # keystoreExternalSecret: some secret |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 221 | aaiUser: sdnc@sdnc.onap.org |
| 222 | aaiPassword: demo123456! |
| 223 | # aaiCredsExternalSecret: some secret |
Dan Timoney | 9e310e7 | 2021-02-23 11:25:39 -0500 | [diff] [blame] | 224 | soUser: sdncaBpmn |
| 225 | soPassword: password1$ |
| 226 | # soCredsExternalSecret: some secret |
| 227 | nengUser: ccsdkapps |
| 228 | nengPassword: ccsdkapps |
| 229 | # nengCredsExternalSecret: some secret |
| 230 | cdsUser: ccsdkapps |
| 231 | cdsPassword: ccsdkapps |
| 232 | # cdsCredsExternalSecret: some secret |
| 233 | honeycombUser: admin |
| 234 | honeycombPassword: admin |
| 235 | # honeycombCredsExternalSecret: some secret |
| 236 | dmaapUser: admin |
| 237 | dmaapPassword: admin |
| 238 | dmaapAuthKey: "fs20cKwalJ6ry4kX:7Hqm6BDZK47IKxGRkOPFk33qMYs=" |
| 239 | # dmaapCredsExternalSecret: some secret |
| 240 | # dmaapAuthKeyExternalSecret: some secret |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 241 | modelingUser: ccsdkapps |
| 242 | modelingPassword: ccsdkapps |
| 243 | # modelingCredsExternalSecret: some secret |
| 244 | restconfUser: admin |
| 245 | restconfPassword: admin |
| 246 | # restconfCredsExternalSecret: some secret |
| 247 | scaleoutUser: admin |
| 248 | scaleoutPassword: admin |
| 249 | # scaleoutExternalSecret: some secret |
| 250 | ansibleUser: sdnc |
| 251 | ansiblePassword: sdnc |
| 252 | # ansibleCredsExternalSecret: some secret |
| 253 | dbSdnctlDatabase: &sdncDbName sdnctl |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 254 | enableClustering: true |
Timoney, Dan (dt5972) | a3bc1a5 | 2019-06-26 16:16:52 -0400 | [diff] [blame] | 255 | sdncHome: /opt/onap/sdnc |
jmac | a68f4cb | 2018-05-10 22:44:19 +0000 | [diff] [blame] | 256 | binDir: /opt/onap/sdnc/bin |
Timoney, Dan (dt5972) | a3bc1a5 | 2019-06-26 16:16:52 -0400 | [diff] [blame] | 257 | etcDir: /opt/onap/sdnc/data |
Trevor Tait | 567ff1e | 2018-05-01 16:20:54 -0400 | [diff] [blame] | 258 | geoEnabled: false |
Neha Jain | 7b0d6c6 | 2018-05-17 14:34:49 -0400 | [diff] [blame] | 259 | # 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] | 260 | # if geoEnabled is set to true the following 3 values must be set to their proper values |
| 261 | myODLCluster: 127.0.0.1 |
| 262 | peerODLCluster: 127.0.0.1 |
Mohammadreza Pasandideh | b642ee5 | 2018-06-19 15:19:53 -0400 | [diff] [blame] | 263 | isPrimaryCluster: true |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 264 | configDir: /opt/onap/sdnc/data/properties |
Konrad Bańka | 5ea1db3 | 2020-04-06 14:32:46 +0200 | [diff] [blame] | 265 | ccsdkConfigDir: /opt/onap/ccsdk/data/properties |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 266 | dmaapTopic: SUCCESS |
jmac | a68f4cb | 2018-05-10 22:44:19 +0000 | [diff] [blame] | 267 | dmaapPort: 3904 |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 268 | logstashServiceName: log-ls |
| 269 | logstashPort: 5044 |
jmac | 7c43467 | 2018-05-11 20:14:17 +0000 | [diff] [blame] | 270 | ansibleServiceName: sdnc-ansible-server |
| 271 | ansiblePort: 8000 |
Dan Timoney | a98765b | 2020-09-14 11:57:55 -0400 | [diff] [blame] | 272 | javaHome: /opt/java/openjdk |
jmac | 7c43467 | 2018-05-11 20:14:17 +0000 | [diff] [blame] | 273 | |
Timoney, Dan (dt5972) | 5877477 | 2019-08-21 16:50:54 -0400 | [diff] [blame] | 274 | odl: |
| 275 | etcDir: /opt/opendaylight/etc |
| 276 | binDir: /opt/opendaylight/bin |
Dan Timoney | a98765b | 2020-09-14 11:57:55 -0400 | [diff] [blame] | 277 | gcLogDir: /opt/opendaylight/data/log |
Timoney, Dan (dt5972) | 5877477 | 2019-08-21 16:50:54 -0400 | [diff] [blame] | 278 | salConfigDir: /opt/opendaylight/system/org/opendaylight/controller/sal-clustering-config |
Dan Timoney | 9520e7c | 2021-01-12 11:10:58 -0500 | [diff] [blame] | 279 | salConfigVersion: 1.10.4 |
Timoney, Dan (dt5972) | 5877477 | 2019-08-21 16:50:54 -0400 | [diff] [blame] | 280 | akka: |
| 281 | seedNodeTimeout: 15s |
| 282 | circuitBreaker: |
| 283 | maxFailures: 10 |
| 284 | callTimeout: 90s |
| 285 | resetTimeout: 30s |
| 286 | recoveryEventTimeout: 90s |
| 287 | datastore: |
| 288 | persistentActorRestartMinBackoffInSeconds: 10 |
| 289 | persistentActorRestartMaxBackoffInSeconds: 40 |
| 290 | persistentActorRestartResetBackoffInSeconds: 20 |
| 291 | shardTransactionCommitTimeoutInSeconds: 120 |
| 292 | shardIsolatedLeaderCheckIntervalInMillis: 30000 |
| 293 | operationTimeoutInSeconds: 120 |
| 294 | javaOptions: |
| 295 | maxGCPauseMillis: 100 |
| 296 | parallelGCThreads : 3 |
Dan Timoney | a98765b | 2020-09-14 11:57:55 -0400 | [diff] [blame] | 297 | numberGCLogFiles: 10 |
| 298 | minMemory: 512m |
| 299 | maxMemory: 2048m |
| 300 | gcLogOptions: "" |
| 301 | # Next line enables gc logging |
| 302 | # 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] | 303 | # enables sdnr functionality |
| 304 | sdnr: |
Alexander Dehn | 5c1105e | 2020-09-14 20:55:56 +0000 | [diff] [blame] | 305 | enabled: true |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 306 | # mode: web - SDNC contains device manager only plus dedicated webserver service for ODLUX (default), |
| 307 | # mode: dm - SDNC contains sdnr device manager + ODLUX components |
| 308 | mode: dm |
| 309 | # sdnronly: true starts sdnc container with odl and sdnrwt features only |
| 310 | sdnronly: false |
| 311 | sdnrdbTrustAllCerts: true |
| 312 | mountpointRegistrarEnabled: false |
| 313 | mountpointStateProviderEnabled: false |
demskeq8 | 9d26b33 | 2021-01-14 16:45:28 +0100 | [diff] [blame] | 314 | # enable and set dmaap-proxy for mountpointRegistrar |
| 315 | dmaapProxy: |
| 316 | enabled: false |
| 317 | usepwd: true |
| 318 | user: addUserHere |
| 319 | password: addPasswordHere |
| 320 | url: addProxyUrlHere |
| 321 | |
| 322 | |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 323 | |
| 324 | |
Timoney, Dan (dt5972) | 5877477 | 2019-08-21 16:50:54 -0400 | [diff] [blame] | 325 | |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 326 | # dependency / sub-chart configuration |
Krzysztof Opasiak | 8ab4547 | 2020-05-12 12:53:50 +0200 | [diff] [blame] | 327 | certInitializer: |
| 328 | nameOverride: sdnc-cert-initializer |
Jozsef Csongvai | 9d4d5af | 2020-07-13 11:10:25 -0400 | [diff] [blame] | 329 | truststoreMountpath: /opt/onap/sdnc/data/stores |
Krzysztof Opasiak | 6bab0cc | 2020-04-29 00:55:47 +0200 | [diff] [blame] | 330 | fqdn: "sdnc" |
| 331 | app_ns: "org.osaaf.aaf" |
| 332 | fqi: "sdnc@sdnc.onap.org" |
| 333 | fqi_namespace: org.onap.sdnc |
| 334 | public_fqdn: "sdnc.onap.org" |
| 335 | aafDeployFqi: "deployer@people.osaaf.org" |
| 336 | aafDeployPass: demo123456! |
| 337 | cadi_latitude: "38.0" |
| 338 | cadi_longitude: "-72.0" |
Krzysztof Opasiak | 6bab0cc | 2020-04-29 00:55:47 +0200 | [diff] [blame] | 339 | credsPath: /opt/app/osaaf/local |
Krzysztof Opasiak | 8ab4547 | 2020-05-12 12:53:50 +0200 | [diff] [blame] | 340 | aaf_add_config: > |
| 341 | cd /opt/app/osaaf/local; |
| 342 | /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] | 343 | |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 344 | # dependency / sub-chart configuration |
| 345 | network-name-gen: |
| 346 | enabled: true |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 347 | mariadb-galera: &mariadbGalera |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 348 | nameOverride: &sdnc-db sdnc-db |
Konrad Bańka | a9d4403 | 2020-03-19 18:31:34 +0100 | [diff] [blame] | 349 | config: &mariadbGaleraConfig |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 350 | rootPasswordExternalSecret: *rootDbSecret |
| 351 | userName: &dbUser sdnctl |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 352 | userCredentialsExternalSecret: *dbSecretName |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 353 | rootUser: |
| 354 | externalSecret: *rootDbSecret |
| 355 | db: |
| 356 | user: *dbUser |
| 357 | externalSecret: *dbSecretName |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 358 | service: |
| 359 | name: sdnc-dbhost |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 360 | sdnctlPrefix: sdnc |
| 361 | persistence: |
Mahendra Raghuwanshi | b76cb28 | 2019-04-09 10:13:07 +0000 | [diff] [blame] | 362 | mountSubPath: sdnc/mariadb-galera |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 363 | enabled: true |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 364 | replicaCount: 1 |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 365 | serviceAccount: |
| 366 | nameOverride: *sdnc-db |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 367 | |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 368 | cds: |
| 369 | enabled: false |
| 370 | |
| 371 | dmaap-listener: |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 372 | enabled: true |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 373 | nameOverride: sdnc-dmaap-listener |
| 374 | mariadb-galera: |
Konrad Bańka | a9d4403 | 2020-03-19 18:31:34 +0100 | [diff] [blame] | 375 | <<: *mariadbGalera |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 376 | config: |
Konrad Bańka | a9d4403 | 2020-03-19 18:31:34 +0100 | [diff] [blame] | 377 | <<: *mariadbGaleraConfig |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 378 | mysqlDatabase: *sdncDbName |
| 379 | config: |
| 380 | sdncChartName: sdnc |
| 381 | dmaapPort: 3904 |
| 382 | sdncPort: 8282 |
| 383 | configDir: /opt/onap/sdnc/data/properties |
| 384 | odlCredsExternalSecret: *odlCredsSecretName |
| 385 | |
| 386 | ueb-listener: |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 387 | enabled: true |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 388 | mariadb-galera: |
Konrad Bańka | a9d4403 | 2020-03-19 18:31:34 +0100 | [diff] [blame] | 389 | <<: *mariadbGalera |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 390 | config: |
Konrad Bańka | a9d4403 | 2020-03-19 18:31:34 +0100 | [diff] [blame] | 391 | <<: *mariadbGaleraConfig |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 392 | mysqlDatabase: *sdncDbName |
| 393 | nameOverride: sdnc-ueb-listener |
| 394 | config: |
| 395 | sdncPort: 8282 |
| 396 | sdncChartName: sdnc |
| 397 | configDir: /opt/onap/sdnc/data/properties |
| 398 | odlCredsExternalSecret: *odlCredsSecretName |
| 399 | |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 400 | sdnc-ansible-server: |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 401 | enabled: true |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 402 | config: |
| 403 | restCredsExternalSecret: *ansibleSecretName |
| 404 | mariadb-galera: |
Konrad Bańka | a9d4403 | 2020-03-19 18:31:34 +0100 | [diff] [blame] | 405 | <<: *mariadbGalera |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 406 | config: |
Konrad Bańka | a9d4403 | 2020-03-19 18:31:34 +0100 | [diff] [blame] | 407 | <<: *mariadbGaleraConfig |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 408 | mysqlDatabase: ansible |
| 409 | service: |
| 410 | name: sdnc-ansible-server |
| 411 | internalPort: 8000 |
| 412 | |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 413 | dgbuilder: |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 414 | enabled: true |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 415 | nameOverride: sdnc-dgbuilder |
Dan Timoney | cb0a81f | 2020-07-15 17:31:43 -0400 | [diff] [blame] | 416 | certInitializer: |
| 417 | nameOverride: sdnc-dgbuilder-cert-initializer |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 418 | config: |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 419 | db: |
| 420 | dbName: *sdncDbName |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 421 | rootPasswordExternalSecret: '{{ .Values.global.mariadbGalera.localCluster | |
| 422 | ternary |
| 423 | (printf "%s-sdnc-db-root-password" (include "common.release" .)) |
| 424 | (include "common.mariadb.secret.rootPassSecretName" |
| 425 | (dict "dot" . "chartName" "mariadb-galera")) }}' |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 426 | userCredentialsExternalSecret: *dbSecretName |
Mahendra Raghuwanshi | b76cb28 | 2019-04-09 10:13:07 +0000 | [diff] [blame] | 427 | dbPodName: mariadb-galera |
| 428 | dbServiceName: mariadb-galera |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 429 | # This should be revisited and changed to plain text |
jmac | 70863e1 | 2018-05-16 14:53:03 +0000 | [diff] [blame] | 430 | dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5 |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 431 | mariadb-galera: |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 432 | service: |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 433 | name: sdnc-dgbuilder |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 434 | nodePort: "03" |
| 435 | |
Sylvain Desbureaux | e54644e | 2020-05-04 11:45:16 +0200 | [diff] [blame] | 436 | ingress: |
| 437 | enabled: false |
| 438 | service: |
| 439 | - baseaddr: "sdnc-dgbuilder" |
| 440 | name: "sdnc-dgbuilder" |
| 441 | port: 3000 |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 442 | - baseaddr: "sdnc-web-service" |
| 443 | name: "sdnc-web-service" |
| 444 | port: 8443 |
Sylvain Desbureaux | e54644e | 2020-05-04 11:45:16 +0200 | [diff] [blame] | 445 | config: |
| 446 | ssl: "redirect" |
| 447 | |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 448 | |
| 449 | |
Alexander Dehn | ab86ec1 | 2020-02-05 14:38:54 +0000 | [diff] [blame] | 450 | # local elasticsearch cluster |
| 451 | localElasticCluster: true |
| 452 | elasticsearch: |
Sylvain Desbureaux | 829344b | 2020-11-19 17:07:26 +0100 | [diff] [blame] | 453 | nameOverride: &elasticSearchName sdnrdb |
Alexander Dehn | ab86ec1 | 2020-02-05 14:38:54 +0000 | [diff] [blame] | 454 | name: sdnrdb-cluster |
Krzysztof Opasiak | c6152ce | 2020-05-09 01:43:08 +0200 | [diff] [blame] | 455 | certInitializer: |
Alexander Dehn | ab86ec1 | 2020-02-05 14:38:54 +0000 | [diff] [blame] | 456 | fqdn: "sdnc" |
| 457 | fqi_namespace: org.onap.sdnc |
| 458 | fqi: "sdnc@sdnc.onap.org" |
| 459 | service: |
Sylvain Desbureaux | 829344b | 2020-11-19 17:07:26 +0100 | [diff] [blame] | 460 | name: *elasticSearchName |
Alexander Dehn | ab86ec1 | 2020-02-05 14:38:54 +0000 | [diff] [blame] | 461 | master: |
| 462 | replicaCount: 3 |
| 463 | # dedicatednode: "yes" |
| 464 | # working as master node only, in this case increase replicaCount for elasticsearch-data |
| 465 | # dedicatednode: "no" |
| 466 | # handles master and data node functionality |
| 467 | dedicatednode: "no" |
Sylvain Desbureaux | 829344b | 2020-11-19 17:07:26 +0100 | [diff] [blame] | 468 | nameOverride: *elasticSearchName |
demskeq8 | eb56da7 | 2021-02-19 12:11:48 +0100 | [diff] [blame] | 469 | cluster_name: sdnrdb-cluster |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 470 | # enable |
| 471 | sdnc-web: |
Alexander Dehn | 8789a72 | 2020-10-16 14:29:05 +0000 | [diff] [blame] | 472 | enabled: true |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 473 | # default number of instances |
| 474 | replicaCount: 1 |
| 475 | |
| 476 | nodeSelector: {} |
| 477 | |
| 478 | affinity: {} |
| 479 | |
| 480 | # probe configuration parameters |
| 481 | liveness: |
| 482 | initialDelaySeconds: 10 |
| 483 | periodSeconds: 10 |
| 484 | # necessary to disable liveness probe when setting breakpoints |
| 485 | # in debugger so K8s doesn't restart unresponsive container |
| 486 | enabled: true |
| 487 | |
| 488 | readiness: |
| 489 | initialDelaySeconds: 10 |
| 490 | periodSeconds: 10 |
| 491 | |
| 492 | service: |
| 493 | type: NodePort |
| 494 | name: sdnc |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 495 | portName: sdnc |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 496 | internalPort: 8181 |
| 497 | internalPort2: 8101 |
| 498 | internalPort3: 8080 |
Timoney, Dan (dt5972) | c6de269 | 2019-08-14 14:22:37 -0400 | [diff] [blame] | 499 | internalPort4: 8443 |
Mohammadreza Pasandideh | b756fb7 | 2018-04-03 10:06:45 -0400 | [diff] [blame] | 500 | |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 501 | #port |
| 502 | externalPort: 8282 |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 503 | |
| 504 | externalPort2: 8202 |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 505 | |
| 506 | externalPort3: 8280 |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 507 | |
jmac | a68f4cb | 2018-05-10 22:44:19 +0000 | [diff] [blame] | 508 | externalPort4: 8443 |
| 509 | nodePort4: 67 |
| 510 | |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 511 | clusterPort: 2550 |
Mohammadreza Pasandideh | b756fb7 | 2018-04-03 10:06:45 -0400 | [diff] [blame] | 512 | clusterPort2: 2650 |
| 513 | clusterPort3: 2681 |
| 514 | |
| 515 | geoNodePort1: 61 |
| 516 | geoNodePort2: 62 |
| 517 | geoNodePort3: 63 |
| 518 | geoNodePort4: 64 |
| 519 | geoNodePort5: 65 |
| 520 | geoNodePort6: 66 |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 521 | |
jmac | 8d6dc96 | 2018-04-26 14:26:55 +0000 | [diff] [blame] | 522 | ## Persist data to a persitent volume |
| 523 | persistence: |
| 524 | enabled: true |
| 525 | |
| 526 | ## A manually managed Persistent Volume and Claim |
| 527 | ## Requires persistence.enabled: true |
| 528 | ## If defined, PVC must be created manually before volume will be bound |
| 529 | # existingClaim: |
| 530 | volumeReclaimPolicy: Retain |
| 531 | |
| 532 | ## database data Persistent Volume Storage Class |
| 533 | ## If defined, storageClassName: <storageClass> |
| 534 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 535 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 536 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 537 | ## GKE, AWS & OpenStack) |
| 538 | accessMode: ReadWriteOnce |
| 539 | size: 1Gi |
| 540 | mountPath: /dockerdata-nfs |
| 541 | mountSubPath: sdnc/mdsal |
Dan Timoney | 2ee28a5 | 2021-01-15 16:39:50 -0500 | [diff] [blame] | 542 | mdsalPath: /opt/opendaylight/mdsal |
demskeq8 | a86300a | 2021-02-10 09:53:33 +0100 | [diff] [blame] | 543 | daeximPath: /opt/opendaylight/mdsal/daexim |
Dan Timoney | 2ee28a5 | 2021-01-15 16:39:50 -0500 | [diff] [blame] | 544 | journalPath: /opt/opendaylight/journal |
| 545 | snapshotsPath: /opt/opendaylight/snapshots |
jmac | 8d6dc96 | 2018-04-26 14:26:55 +0000 | [diff] [blame] | 546 | |
egernug | 2757833 | 2020-03-26 10:27:55 +0000 | [diff] [blame] | 547 | certpersistence: |
| 548 | enabled: true |
| 549 | |
| 550 | ## A manually managed Persistent Volume and Claim |
| 551 | ## Requires persistence.enabled: true |
| 552 | ## If defined, PVC must be created manually before volume will be bound |
| 553 | # existingClaim: |
| 554 | |
| 555 | volumeReclaimPolicy: Retain |
| 556 | accessMode: ReadWriteOnce |
| 557 | size: 50Mi |
| 558 | mountPath: /dockerdata-nfs |
| 559 | mountSubPath: sdnc/certs |
| 560 | certPath: /opt/app/osaaf |
| 561 | ##storageClass: "manual" |
| 562 | |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 563 | ingress: |
| 564 | enabled: false |
Lucjan Bryndza | 0844840 | 2019-11-27 14:26:54 +0100 | [diff] [blame] | 565 | service: |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame] | 566 | - baseaddr: "sdnc.api" |
Lucjan Bryndza | 0844840 | 2019-11-27 14:26:54 +0100 | [diff] [blame] | 567 | name: "sdnc" |
| 568 | port: 8443 |
| 569 | config: |
| 570 | ssl: "redirect" |
jmac | 065e2ce | 2018-03-29 01:18:02 +0000 | [diff] [blame] | 571 | |
toshrajbhardwaj | 72b5f0f | 2018-09-13 02:45:22 +0000 | [diff] [blame] | 572 | #Resource Limit flavor -By Default using small |
| 573 | flavor: small |
| 574 | #segregation for different envionment (Small and Large) |
| 575 | |
| 576 | resources: |
Mandeep Khinda | de04571 | 2018-09-19 18:11:57 +0000 | [diff] [blame] | 577 | small: |
| 578 | limits: |
| 579 | cpu: 2 |
| 580 | memory: 4Gi |
| 581 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 582 | cpu: 1 |
| 583 | memory: 2Gi |
Mandeep Khinda | de04571 | 2018-09-19 18:11:57 +0000 | [diff] [blame] | 584 | large: |
| 585 | limits: |
| 586 | cpu: 4 |
| 587 | memory: 8Gi |
| 588 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 589 | cpu: 2 |
| 590 | memory: 4Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 591 | unlimited: {} |