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