Mike Elliott | 6ba69cd | 2018-04-03 16:37:06 -0400 | [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 |
Mike Elliott | 6ba69cd | 2018-04-03 16:37:06 -0400 | [diff] [blame] | 21 | loggingRepository: docker.elastic.co |
| 22 | loggingImage: beats/filebeat:5.5.0 |
| 23 | |
| 24 | ################################################################# |
Krzysztof Opasiak | a9010db | 2020-02-26 23:36:22 +0100 | [diff] [blame] | 25 | # Secrets metaconfig |
| 26 | ################################################################# |
| 27 | secrets: |
| 28 | - uid: "db-root-pass" |
| 29 | externalSecret: '{{ tpl (default "" .Values.config.mariadbRootPasswordExternalSecret) . }}' |
| 30 | type: password |
| 31 | password: '{{ .Values.config.mariadbRootPassword }}' |
| 32 | policy: required |
| 33 | |
| 34 | ################################################################# |
Mike Elliott | 6ba69cd | 2018-04-03 16:37:06 -0400 | [diff] [blame] | 35 | # Application configuration defaults. |
| 36 | ################################################################# |
| 37 | # application image |
GregSulek | 5fb3bc6 | 2018-09-20 08:51:37 -0400 | [diff] [blame] | 38 | flavor: small |
| 39 | |
Mike Elliott | 6ba69cd | 2018-04-03 16:37:06 -0400 | [diff] [blame] | 40 | repository: nexus3.onap.org:10001 |
dengyh | 428f605 | 2020-09-23 15:31:26 +0800 | [diff] [blame] | 41 | image: onap/vfc/vnflcm:1.4.0 |
Mike Elliott | 6ba69cd | 2018-04-03 16:37:06 -0400 | [diff] [blame] | 42 | pullPolicy: Always |
| 43 | |
Huabing Zhao | c171ac2 | 2018-07-31 06:49:03 +0000 | [diff] [blame] | 44 | #Istio sidecar injection policy |
| 45 | istioSidecar: true |
| 46 | |
Mike Elliott | 6ba69cd | 2018-04-03 16:37:06 -0400 | [diff] [blame] | 47 | # flag to enable debugging - application support required |
| 48 | debugEnabled: false |
| 49 | |
| 50 | # application configuration |
Krzysztof Opasiak | a9010db | 2020-02-26 23:36:22 +0100 | [diff] [blame] | 51 | config: |
| 52 | mariadbService: vfc-mariadb |
| 53 | mariadbPort: 3306 |
| 54 | # mariadbRootPassword: secretpassword |
| 55 | # mariadbRootPasswordExternalSecret: some secret |
| 56 | |
Mike Elliott | 6ba69cd | 2018-04-03 16:37:06 -0400 | [diff] [blame] | 57 | |
| 58 | # default number of instances |
| 59 | replicaCount: 1 |
| 60 | |
| 61 | nodeSelector: {} |
| 62 | |
| 63 | affinity: {} |
| 64 | |
| 65 | # probe configuration parameters |
| 66 | liveness: |
yangyan | d08e6dc | 2018-08-17 13:28:00 +0800 | [diff] [blame] | 67 | initialDelaySeconds: 120 |
Mike Elliott | 6ba69cd | 2018-04-03 16:37:06 -0400 | [diff] [blame] | 68 | periodSeconds: 10 |
| 69 | # necessary to disable liveness probe when setting breakpoints |
| 70 | # in debugger so K8s doesn't restart unresponsive container |
| 71 | enabled: true |
| 72 | |
| 73 | readiness: |
| 74 | initialDelaySeconds: 10 |
| 75 | periodSeconds: 10 |
| 76 | |
| 77 | service: |
| 78 | type: ClusterIP |
| 79 | name: vfc-vnflcm |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 80 | portName: vfc-vnflcm |
Mike Elliott | 6ba69cd | 2018-04-03 16:37:06 -0400 | [diff] [blame] | 81 | externalPort: 8801 |
| 82 | internalPort: 8801 |
| 83 | # nodePort: 30801 |
| 84 | |
| 85 | ingress: |
| 86 | enabled: false |
| 87 | |
GregSulek | 5fb3bc6 | 2018-09-20 08:51:37 -0400 | [diff] [blame] | 88 | |
| 89 | # Configure resource requests and limits |
| 90 | resources: |
| 91 | small: |
| 92 | limits: |
| 93 | cpu: 200m |
| 94 | memory: 500Mi |
| 95 | requests: |
| 96 | cpu: 100m |
| 97 | memory: 250Mi |
| 98 | large: |
| 99 | limits: |
| 100 | cpu: 400m |
| 101 | memory: 1000Mi |
| 102 | requests: |
| 103 | cpu: 200m |
| 104 | memory: 500Mi |
Krzysztof Opasiak | a9010db | 2020-02-26 23:36:22 +0100 | [diff] [blame] | 105 | unlimited: {} |