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