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 |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame^] | 20 | readinessImage: onap/oom/readiness:3.0.1 |
yangyanyj | b6ad3cb | 2019-05-05 23:54:08 +0800 | [diff] [blame] | 21 | loggingRepository: docker.elastic.co |
| 22 | loggingImage: beats/filebeat:5.5.0 |
| 23 | |
Krzysztof Opasiak | 43893f5 | 2020-01-31 14:26:54 +0100 | [diff] [blame] | 24 | config: |
dyh | a9782e8 | 2020-04-21 15:37:50 +0800 | [diff] [blame] | 25 | ssl_enabled: false |
| 26 | msbProtocol: https |
Krzysztof Opasiak | 43893f5 | 2020-01-31 14:26:54 +0100 | [diff] [blame] | 27 | msbServiceName: msb-iag |
dyh | 3d76c33 | 2020-02-20 10:08:58 +0800 | [diff] [blame] | 28 | msbPort: 443 |
Krzysztof Opasiak | 43893f5 | 2020-01-31 14:26:54 +0100 | [diff] [blame] | 29 | |
| 30 | persistence: |
| 31 | mountPath: /dockerdata-nfs |
| 32 | |
| 33 | ################################################################# |
Krzysztof Opasiak | 894aafb | 2020-01-31 23:28:25 +0100 | [diff] [blame] | 34 | # Secrets metaconfig |
| 35 | ################################################################# |
| 36 | secrets: |
| 37 | - uid: "db-root-pass" |
| 38 | externalSecret: '{{- include "common.mariadb.secret.rootPassSecretName" (dict "dot" . "chartName" (index .Values "mariadb-galera" "nameOverride")) }}' |
| 39 | type: password |
| 40 | |
| 41 | ################################################################# |
Krzysztof Opasiak | 43893f5 | 2020-01-31 14:26:54 +0100 | [diff] [blame] | 42 | # Dependencies configuration |
| 43 | ################################################################# |
| 44 | |
| 45 | mariadb-galera: |
Krzysztof Opasiak | 43893f5 | 2020-01-31 14:26:54 +0100 | [diff] [blame] | 46 | nameOverride: modeling-mariadb |
| 47 | service: |
| 48 | name: modeling-db |
| 49 | portName: modeling-db |
Krzysztof Opasiak | 894aafb | 2020-01-31 23:28:25 +0100 | [diff] [blame] | 50 | internalPort: 3306 |
Krzysztof Opasiak | 43893f5 | 2020-01-31 14:26:54 +0100 | [diff] [blame] | 51 | nfsprovisionerPrefix: modeling |
| 52 | persistence: |
| 53 | mountSubPath: modeling/data |
| 54 | enabled: true |
| 55 | disableNfsProvisioner: true |
| 56 | |
yangyanyj | b6ad3cb | 2019-05-05 23:54:08 +0800 | [diff] [blame] | 57 | ################################################################# |
| 58 | # Application configuration defaults. |
| 59 | ################################################################# |
| 60 | # application image |
| 61 | flavor: small |
| 62 | |
| 63 | repository: nexus3.onap.org:10001 |
dyh | 238a0ea | 2020-05-13 09:11:26 +0800 | [diff] [blame] | 64 | image: onap/modeling/etsicatalog:1.0.6 |
dengyh | b105682 | 2020-07-13 14:30:34 +0800 | [diff] [blame] | 65 | initImage: busybox:latest |
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: {} |