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