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