yangyanyj | b6ad3cb | 2019-05-05 23:54:08 +0800 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefix: 302 |
yangyanyj | b6ad3cb | 2019-05-05 23:54:08 +0800 | [diff] [blame] | 20 | |
Krzysztof Opasiak | 43893f5 | 2020-01-31 14:26:54 +0100 | [diff] [blame] | 21 | persistence: |
| 22 | mountPath: /dockerdata-nfs |
| 23 | |
dengyh | 9cb24cf | 2020-09-01 08:53:59 +0800 | [diff] [blame] | 24 | mariadbGalera: |
Andreas Geissler | 2c1ba29 | 2024-01-10 22:20:05 +0100 | [diff] [blame] | 25 | # flag to enable the DB creation via mariadb-operator |
| 26 | useOperator: true |
Andreas Geissler | f51bbef | 2023-03-31 12:07:23 +0200 | [diff] [blame] | 27 | #This flag allows SO to instantiate its own mariadb-galera cluster |
| 28 | #When changing it to "true", also set "globalCluster: false" |
| 29 | #as the dependency check will not work otherwise (Chart.yaml) |
dengyh | 9cb24cf | 2020-09-01 08:53:59 +0800 | [diff] [blame] | 30 | localCluster: false |
Andreas Geissler | f51bbef | 2023-03-31 12:07:23 +0200 | [diff] [blame] | 31 | globalCluster: true |
Andreas Geissler | 576de2d | 2023-10-24 15:38:01 +0200 | [diff] [blame] | 32 | service: mariadb-galera |
dengyh | 9cb24cf | 2020-09-01 08:53:59 +0800 | [diff] [blame] | 33 | internalPort: 3306 |
| 34 | nameOverride: mariadb-galera |
| 35 | |
Maciej Wereski | 172c086 | 2021-11-15 11:34:06 +0100 | [diff] [blame] | 36 | centralizedLoggingEnabled: true |
| 37 | |
dengyh | 9cb24cf | 2020-09-01 08:53:59 +0800 | [diff] [blame] | 38 | readinessCheck: |
| 39 | wait_for: |
| 40 | msb: |
| 41 | name: msb |
| 42 | containers: |
| 43 | - msb-iag |
| 44 | |
Krzysztof Opasiak | 43893f5 | 2020-01-31 14:26:54 +0100 | [diff] [blame] | 45 | ################################################################# |
Krzysztof Opasiak | 894aafb | 2020-01-31 23:28:25 +0100 | [diff] [blame] | 46 | # Secrets metaconfig |
| 47 | ################################################################# |
| 48 | secrets: |
dengyh | 9cb24cf | 2020-09-01 08:53:59 +0800 | [diff] [blame] | 49 | - uid: modeling-db-secret |
| 50 | name: &dbSecretName '{{ include "common.release" . }}-modeling-db-secret' |
| 51 | type: basicAuth |
| 52 | externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}' |
| 53 | login: '{{ .Values.config.db.userName }}' |
| 54 | password: '{{ .Values.config.db.userPassword }}' |
Krzysztof Opasiak | 894aafb | 2020-01-31 23:28:25 +0100 | [diff] [blame] | 55 | |
| 56 | ################################################################# |
Krzysztof Opasiak | 43893f5 | 2020-01-31 14:26:54 +0100 | [diff] [blame] | 57 | # Dependencies configuration |
| 58 | ################################################################# |
| 59 | |
| 60 | mariadb-galera: |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 61 | db: |
Andreas Geissler | 72caf09 | 2023-12-14 13:37:39 +0100 | [diff] [blame] | 62 | user: &dbUser etsicatalog |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 63 | externalSecret: *dbSecretName |
| 64 | name: &mysqlDbName etsicatalog |
| 65 | nameOverride: &modeling-db modeling-db |
Krzysztof Opasiak | 43893f5 | 2020-01-31 14:26:54 +0100 | [diff] [blame] | 66 | service: |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 67 | name: *modeling-db |
Krzysztof Opasiak | 894aafb | 2020-01-31 23:28:25 +0100 | [diff] [blame] | 68 | internalPort: 3306 |
Krzysztof Opasiak | 43893f5 | 2020-01-31 14:26:54 +0100 | [diff] [blame] | 69 | nfsprovisionerPrefix: modeling |
| 70 | persistence: |
| 71 | mountSubPath: modeling/data |
| 72 | enabled: true |
| 73 | disableNfsProvisioner: true |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 74 | serviceAccount: |
| 75 | nameOverride: *modeling-db |
Andreas Geissler | cfd8434 | 2023-08-16 17:18:49 +0200 | [diff] [blame] | 76 | replicaCount: 1 |
| 77 | mariadbOperator: |
| 78 | galera: |
| 79 | enabled: false |
Krzysztof Opasiak | 43893f5 | 2020-01-31 14:26:54 +0100 | [diff] [blame] | 80 | |
dengyh | 9cb24cf | 2020-09-01 08:53:59 +0800 | [diff] [blame] | 81 | mariadb-init: |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 82 | config: |
| 83 | userCredentialsExternalSecret: *dbSecretName |
| 84 | mysqlDatabase: *mysqlDbName |
dengyh | 9cb24cf | 2020-09-01 08:53:59 +0800 | [diff] [blame] | 85 | # nameOverride should be the same with common.name |
vladimir turok | d804418 | 2023-07-27 16:28:36 +0200 | [diff] [blame] | 86 | nameOverride: etsicatalog-db |
| 87 | serviceAccount: |
| 88 | nameOverride: etsicatalog-db |
dengyh | 9cb24cf | 2020-09-01 08:53:59 +0800 | [diff] [blame] | 89 | |
yangyanyj | b6ad3cb | 2019-05-05 23:54:08 +0800 | [diff] [blame] | 90 | ################################################################# |
| 91 | # Application configuration defaults. |
| 92 | ################################################################# |
dengyh | 9cb24cf | 2020-09-01 08:53:59 +0800 | [diff] [blame] | 93 | config: |
| 94 | #application configuration about msb |
| 95 | ssl_enabled: false |
dengyh | d64fec4 | 2020-10-26 15:23:42 +0800 | [diff] [blame] | 96 | msb_enabled: false |
AndrewLamb | 08eb9fa | 2022-07-06 15:51:19 +0100 | [diff] [blame] | 97 | msbProtocol: http |
dengyh | 9cb24cf | 2020-09-01 08:53:59 +0800 | [diff] [blame] | 98 | msbServiceName: msb-iag |
| 99 | msbPort: 443 |
AndrewLamb | 08eb9fa | 2022-07-06 15:51:19 +0100 | [diff] [blame] | 100 | msbPlainPort: 80 |
| 101 | sdcProtocol: http |
dengyh | d64fec4 | 2020-10-26 15:23:42 +0800 | [diff] [blame] | 102 | sdcServiceName: sdc-be |
| 103 | sdcPort: 8443 |
AndrewLamb | 08eb9fa | 2022-07-06 15:51:19 +0100 | [diff] [blame] | 104 | sdcPlainPort: 8080 |
dengyh | d64fec4 | 2020-10-26 15:23:42 +0800 | [diff] [blame] | 105 | dmaap_enabled: false |
AndrewLamb | 08eb9fa | 2022-07-06 15:51:19 +0100 | [diff] [blame] | 106 | dmaapProtocol: http |
dengyh | d64fec4 | 2020-10-26 15:23:42 +0800 | [diff] [blame] | 107 | dmaapServiceName: message-router-external |
| 108 | dmaapPort: 3905 |
| 109 | |
dengyh | 9cb24cf | 2020-09-01 08:53:59 +0800 | [diff] [blame] | 110 | #application configuration user password about mariadb |
| 111 | db: |
Andreas Geissler | 72caf09 | 2023-12-14 13:37:39 +0100 | [diff] [blame] | 112 | userName: *dbUser |
dengyh | 9cb24cf | 2020-09-01 08:53:59 +0800 | [diff] [blame] | 113 | # userPassword: password |
| 114 | # userCredentialsExternalSecret: some-secret |
| 115 | |
yangyanyj | b6ad3cb | 2019-05-05 23:54:08 +0800 | [diff] [blame] | 116 | # application image |
| 117 | flavor: small |
| 118 | |
dengyh | 8e29134 | 2022-04-13 08:59:48 +0800 | [diff] [blame] | 119 | image: onap/modeling/etsicatalog:1.0.14 |
yangyanyj | b6ad3cb | 2019-05-05 23:54:08 +0800 | [diff] [blame] | 120 | pullPolicy: Always |
| 121 | |
| 122 | #Istio sidecar injection policy |
| 123 | istioSidecar: true |
| 124 | |
| 125 | # flag to enable debugging - application support required |
| 126 | debugEnabled: false |
| 127 | |
yangyanyj | b6ad3cb | 2019-05-05 23:54:08 +0800 | [diff] [blame] | 128 | # default number of instances |
| 129 | replicaCount: 1 |
| 130 | |
| 131 | nodeSelector: {} |
| 132 | |
| 133 | affinity: {} |
| 134 | |
| 135 | # probe configuration parameters |
| 136 | liveness: |
| 137 | initialDelaySeconds: 120 |
| 138 | periodSeconds: 10 |
| 139 | # necessary to disable liveness probe when setting breakpoints |
| 140 | # in debugger so K8s doesn't restart unresponsive container |
| 141 | enabled: true |
| 142 | |
| 143 | readiness: |
| 144 | initialDelaySeconds: 10 |
| 145 | periodSeconds: 10 |
| 146 | |
| 147 | ## Persist data to a persitent volume |
| 148 | persistence: |
| 149 | enabled: true |
| 150 | ## A manually managed Persistent Volume and Claim |
| 151 | ## Requires persistence.enabled: true |
| 152 | ## If defined, PVC must be created manually before volume will be bound |
| 153 | # existingClaim: |
| 154 | volumeReclaimPolicy: Retain |
| 155 | ## database data Persistent Volume Storage Class |
| 156 | ## If defined, storageClassName: <storageClass> |
| 157 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 158 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 159 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 160 | ## GKE, AWS & OpenStack) |
| 161 | ## |
| 162 | # storageClass: "-" |
Sylvain Desbureaux | 3bcc510 | 2019-09-02 15:03:59 +0200 | [diff] [blame] | 163 | accessMode: ReadWriteOnce |
yangyanyj | b6ad3cb | 2019-05-05 23:54:08 +0800 | [diff] [blame] | 164 | size: 2Gi |
| 165 | mountPath: /dockerdata-nfs |
dyh | 7d60445 | 2019-09-23 15:54:48 +0800 | [diff] [blame] | 166 | mountSubPath: modeling/etsicatalog |
yangyanyj | b6ad3cb | 2019-05-05 23:54:08 +0800 | [diff] [blame] | 167 | |
| 168 | service: |
| 169 | type: ClusterIP |
dyh | 7d60445 | 2019-09-23 15:54:48 +0800 | [diff] [blame] | 170 | name: modeling-etsicatalog |
AndrewLamb | 08eb9fa | 2022-07-06 15:51:19 +0100 | [diff] [blame] | 171 | portName: http |
yangyanyj | b6ad3cb | 2019-05-05 23:54:08 +0800 | [diff] [blame] | 172 | externalPort: 8806 |
| 173 | internalPort: 8806 |
| 174 | # nodePort: 30806 |
| 175 | |
| 176 | ingress: |
| 177 | enabled: false |
| 178 | |
| 179 | # Configure resource requests and limits |
| 180 | resources: |
| 181 | small: |
| 182 | limits: |
| 183 | cpu: 200m |
| 184 | memory: 500Mi |
| 185 | requests: |
| 186 | cpu: 100m |
| 187 | memory: 250Mi |
| 188 | large: |
| 189 | limits: |
| 190 | cpu: 400m |
| 191 | memory: 1000Mi |
| 192 | requests: |
| 193 | cpu: 200m |
| 194 | memory: 500Mi |
| 195 | unlimited: {} |
farida azmy | 24f4143 | 2021-10-11 11:45:25 +0200 | [diff] [blame] | 196 | |
| 197 | #Pods Service Account |
| 198 | serviceAccount: |
| 199 | nameOverride: modeling-etsicatalog |
| 200 | roles: |
| 201 | - read |
Maciej Wereski | 172c086 | 2021-11-15 11:34:06 +0100 | [diff] [blame] | 202 | |
| 203 | #Log configuration |
| 204 | log: |
| 205 | path: /var/log/onap |