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