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 |
| 20 | readinessRepository: oomk8s |
| 21 | readinessImage: readiness-check:2.0.0 |
| 22 | loggingRepository: docker.elastic.co |
| 23 | loggingImage: beats/filebeat:5.5.0 |
| 24 | |
Krzysztof Opasiak | 43893f5 | 2020-01-31 14:26:54 +0100 | [diff] [blame] | 25 | config: |
| 26 | msbServiceName: msb-iag |
dyh | 3d76c33 | 2020-02-20 10:08:58 +0800 | [diff] [blame] | 27 | msbPort: 443 |
Krzysztof Opasiak | 43893f5 | 2020-01-31 14:26:54 +0100 | [diff] [blame] | 28 | |
| 29 | persistence: |
| 30 | mountPath: /dockerdata-nfs |
| 31 | |
| 32 | ################################################################# |
Krzysztof Opasiak | 894aafb | 2020-01-31 23:28:25 +0100 | [diff] [blame] | 33 | # Secrets metaconfig |
| 34 | ################################################################# |
| 35 | secrets: |
| 36 | - uid: "db-root-pass" |
| 37 | externalSecret: '{{- include "common.mariadb.secret.rootPassSecretName" (dict "dot" . "chartName" (index .Values "mariadb-galera" "nameOverride")) }}' |
| 38 | type: password |
| 39 | |
| 40 | ################################################################# |
Krzysztof Opasiak | 43893f5 | 2020-01-31 14:26:54 +0100 | [diff] [blame] | 41 | # Dependencies configuration |
| 42 | ################################################################# |
| 43 | |
| 44 | mariadb-galera: |
Krzysztof Opasiak | 43893f5 | 2020-01-31 14:26:54 +0100 | [diff] [blame] | 45 | nameOverride: modeling-mariadb |
| 46 | service: |
| 47 | name: modeling-db |
| 48 | portName: modeling-db |
Krzysztof Opasiak | 894aafb | 2020-01-31 23:28:25 +0100 | [diff] [blame] | 49 | internalPort: 3306 |
Krzysztof Opasiak | 43893f5 | 2020-01-31 14:26:54 +0100 | [diff] [blame] | 50 | nfsprovisionerPrefix: modeling |
| 51 | persistence: |
| 52 | mountSubPath: modeling/data |
| 53 | enabled: true |
| 54 | disableNfsProvisioner: true |
| 55 | |
yangyanyj | b6ad3cb | 2019-05-05 23:54:08 +0800 | [diff] [blame] | 56 | ################################################################# |
| 57 | # Application configuration defaults. |
| 58 | ################################################################# |
| 59 | # application image |
| 60 | flavor: small |
| 61 | |
| 62 | repository: nexus3.onap.org:10001 |
dyh | ba5669d | 2020-03-31 16:38:07 +0800 | [diff] [blame^] | 63 | image: onap/modeling/etsicatalog:1.0.5 |
yangyanyj | b6ad3cb | 2019-05-05 23:54:08 +0800 | [diff] [blame] | 64 | pullPolicy: Always |
| 65 | |
| 66 | #Istio sidecar injection policy |
| 67 | istioSidecar: true |
| 68 | |
| 69 | # flag to enable debugging - application support required |
| 70 | debugEnabled: false |
| 71 | |
yangyanyj | b6ad3cb | 2019-05-05 23:54:08 +0800 | [diff] [blame] | 72 | # default number of instances |
| 73 | replicaCount: 1 |
| 74 | |
| 75 | nodeSelector: {} |
| 76 | |
| 77 | affinity: {} |
| 78 | |
| 79 | # probe configuration parameters |
| 80 | liveness: |
| 81 | initialDelaySeconds: 120 |
| 82 | periodSeconds: 10 |
| 83 | # necessary to disable liveness probe when setting breakpoints |
| 84 | # in debugger so K8s doesn't restart unresponsive container |
| 85 | enabled: true |
| 86 | |
| 87 | readiness: |
| 88 | initialDelaySeconds: 10 |
| 89 | periodSeconds: 10 |
| 90 | |
| 91 | ## Persist data to a persitent volume |
| 92 | persistence: |
| 93 | enabled: true |
| 94 | ## A manually managed Persistent Volume and Claim |
| 95 | ## Requires persistence.enabled: true |
| 96 | ## If defined, PVC must be created manually before volume will be bound |
| 97 | # existingClaim: |
| 98 | volumeReclaimPolicy: Retain |
| 99 | ## database data Persistent Volume Storage Class |
| 100 | ## If defined, storageClassName: <storageClass> |
| 101 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 102 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 103 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 104 | ## GKE, AWS & OpenStack) |
| 105 | ## |
| 106 | # storageClass: "-" |
Sylvain Desbureaux | 3bcc510 | 2019-09-02 15:03:59 +0200 | [diff] [blame] | 107 | accessMode: ReadWriteOnce |
yangyanyj | b6ad3cb | 2019-05-05 23:54:08 +0800 | [diff] [blame] | 108 | size: 2Gi |
| 109 | mountPath: /dockerdata-nfs |
dyh | 7d60445 | 2019-09-23 15:54:48 +0800 | [diff] [blame] | 110 | mountSubPath: modeling/etsicatalog |
yangyanyj | b6ad3cb | 2019-05-05 23:54:08 +0800 | [diff] [blame] | 111 | |
| 112 | service: |
| 113 | type: ClusterIP |
dyh | 7d60445 | 2019-09-23 15:54:48 +0800 | [diff] [blame] | 114 | name: modeling-etsicatalog |
| 115 | portName: modeling-etsicatalog |
yangyanyj | b6ad3cb | 2019-05-05 23:54:08 +0800 | [diff] [blame] | 116 | externalPort: 8806 |
| 117 | internalPort: 8806 |
| 118 | # nodePort: 30806 |
| 119 | |
| 120 | ingress: |
| 121 | enabled: false |
| 122 | |
| 123 | # Configure resource requests and limits |
| 124 | resources: |
| 125 | small: |
| 126 | limits: |
| 127 | cpu: 200m |
| 128 | memory: 500Mi |
| 129 | requests: |
| 130 | cpu: 100m |
| 131 | memory: 250Mi |
| 132 | large: |
| 133 | limits: |
| 134 | cpu: 400m |
| 135 | memory: 1000Mi |
| 136 | requests: |
| 137 | cpu: 200m |
| 138 | memory: 500Mi |
| 139 | unlimited: {} |