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