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