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