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