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: |
dyh | a9782e8 | 2020-04-21 15:37:50 +0800 | [diff] [blame] | 26 | ssl_enabled: false |
| 27 | msbProtocol: https |
Krzysztof Opasiak | 43893f5 | 2020-01-31 14:26:54 +0100 | [diff] [blame] | 28 | msbServiceName: msb-iag |
dyh | 3d76c33 | 2020-02-20 10:08:58 +0800 | [diff] [blame] | 29 | msbPort: 443 |
Krzysztof Opasiak | 43893f5 | 2020-01-31 14:26:54 +0100 | [diff] [blame] | 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 | 238a0ea | 2020-05-13 09:11:26 +0800 | [diff] [blame] | 65 | image: onap/modeling/etsicatalog:1.0.6 |
dengyh | b105682 | 2020-07-13 14:30:34 +0800 | [diff] [blame] | 66 | initImage: busybox:latest |
yangyanyj | b6ad3cb | 2019-05-05 23:54:08 +0800 | [diff] [blame] | 67 | pullPolicy: Always |
| 68 | |
| 69 | #Istio sidecar injection policy |
| 70 | istioSidecar: true |
| 71 | |
| 72 | # flag to enable debugging - application support required |
| 73 | debugEnabled: false |
| 74 | |
yangyanyj | b6ad3cb | 2019-05-05 23:54:08 +0800 | [diff] [blame] | 75 | # default number of instances |
| 76 | replicaCount: 1 |
| 77 | |
| 78 | nodeSelector: {} |
| 79 | |
| 80 | affinity: {} |
| 81 | |
| 82 | # probe configuration parameters |
| 83 | liveness: |
| 84 | initialDelaySeconds: 120 |
| 85 | periodSeconds: 10 |
| 86 | # necessary to disable liveness probe when setting breakpoints |
| 87 | # in debugger so K8s doesn't restart unresponsive container |
| 88 | enabled: true |
| 89 | |
| 90 | readiness: |
| 91 | initialDelaySeconds: 10 |
| 92 | periodSeconds: 10 |
| 93 | |
| 94 | ## Persist data to a persitent volume |
| 95 | persistence: |
| 96 | enabled: true |
| 97 | ## A manually managed Persistent Volume and Claim |
| 98 | ## Requires persistence.enabled: true |
| 99 | ## If defined, PVC must be created manually before volume will be bound |
| 100 | # existingClaim: |
| 101 | volumeReclaimPolicy: Retain |
| 102 | ## database data Persistent Volume Storage Class |
| 103 | ## If defined, storageClassName: <storageClass> |
| 104 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 105 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 106 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 107 | ## GKE, AWS & OpenStack) |
| 108 | ## |
| 109 | # storageClass: "-" |
Sylvain Desbureaux | 3bcc510 | 2019-09-02 15:03:59 +0200 | [diff] [blame] | 110 | accessMode: ReadWriteOnce |
yangyanyj | b6ad3cb | 2019-05-05 23:54:08 +0800 | [diff] [blame] | 111 | size: 2Gi |
| 112 | mountPath: /dockerdata-nfs |
dyh | 7d60445 | 2019-09-23 15:54:48 +0800 | [diff] [blame] | 113 | mountSubPath: modeling/etsicatalog |
yangyanyj | b6ad3cb | 2019-05-05 23:54:08 +0800 | [diff] [blame] | 114 | |
| 115 | service: |
| 116 | type: ClusterIP |
dyh | 7d60445 | 2019-09-23 15:54:48 +0800 | [diff] [blame] | 117 | name: modeling-etsicatalog |
| 118 | portName: modeling-etsicatalog |
yangyanyj | b6ad3cb | 2019-05-05 23:54:08 +0800 | [diff] [blame] | 119 | externalPort: 8806 |
| 120 | internalPort: 8806 |
| 121 | # nodePort: 30806 |
| 122 | |
| 123 | ingress: |
| 124 | enabled: false |
| 125 | |
| 126 | # Configure resource requests and limits |
| 127 | resources: |
| 128 | small: |
| 129 | limits: |
| 130 | cpu: 200m |
| 131 | memory: 500Mi |
| 132 | requests: |
| 133 | cpu: 100m |
| 134 | memory: 250Mi |
| 135 | large: |
| 136 | limits: |
| 137 | cpu: 400m |
| 138 | memory: 1000Mi |
| 139 | requests: |
| 140 | cpu: 200m |
| 141 | memory: 500Mi |
| 142 | unlimited: {} |