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 |
Mahmoud Abdelhamid | a74326f | 2021-09-24 17:28:28 +0200 | [diff] [blame] | 22 | mariadbGalera: |
| 23 | localCluster: false |
| 24 | service: mariadb-galera |
| 25 | internalPort: 3306 |
| 26 | nameOverride: mariadb-galera |
Mike Elliott | 6ba69cd | 2018-04-03 16:37:06 -0400 | [diff] [blame] | 27 | |
| 28 | ################################################################# |
Krzysztof Opasiak | a9010db | 2020-02-26 23:36:22 +0100 | [diff] [blame] | 29 | # Secrets metaconfig |
| 30 | ################################################################# |
| 31 | secrets: |
Mahmoud Abdelhamid | a74326f | 2021-09-24 17:28:28 +0200 | [diff] [blame] | 32 | - uid: db-root-pass |
| 33 | externalSecret: '{{ ternary (index .Values "mariadb-galera" "rootUser" "externalSecret") (include "common.mariadb.secret.rootPassSecretName" (dict "dot" . "chartName" (default "mariadb-galera" .Values.global.mariadbGalera.nameOverride))) .Values.global.mariadbGalera.localCluster }}' |
Krzysztof Opasiak | a9010db | 2020-02-26 23:36:22 +0100 | [diff] [blame] | 34 | type: password |
Mahmoud Abdelhamid | a74326f | 2021-09-24 17:28:28 +0200 | [diff] [blame] | 35 | password: '{{ index .Values "mariadb-galera" "rootUser" "password" }}' |
Krzysztof Opasiak | a9010db | 2020-02-26 23:36:22 +0100 | [diff] [blame] | 36 | policy: required |
| 37 | |
| 38 | ################################################################# |
Mike Elliott | 6ba69cd | 2018-04-03 16:37:06 -0400 | [diff] [blame] | 39 | # Application configuration defaults. |
| 40 | ################################################################# |
| 41 | # application image |
GregSulek | 5fb3bc6 | 2018-09-20 08:51:37 -0400 | [diff] [blame] | 42 | flavor: small |
| 43 | |
dyh | de205f6 | 2021-10-08 17:17:30 +0800 | [diff] [blame] | 44 | image: onap/vfc/vnfmgr:1.4.1 |
Mike Elliott | 6ba69cd | 2018-04-03 16:37:06 -0400 | [diff] [blame] | 45 | pullPolicy: Always |
| 46 | |
Huabing Zhao | c171ac2 | 2018-07-31 06:49:03 +0000 | [diff] [blame] | 47 | #Istio sidecar injection policy |
| 48 | istioSidecar: true |
| 49 | |
Mike Elliott | 6ba69cd | 2018-04-03 16:37:06 -0400 | [diff] [blame] | 50 | # flag to enable debugging - application support required |
| 51 | debugEnabled: false |
| 52 | |
Mahmoud Abdelhamid | a74326f | 2021-09-24 17:28:28 +0200 | [diff] [blame] | 53 | # Local mariadb galera instance default name |
| 54 | mariadb-galera: |
| 55 | rootUser: |
| 56 | externalSecret: '{{ include "common.release" . }}-vfc-db-root-pass' |
| 57 | nameOverride: vfc-mariadb |
Mike Elliott | 6ba69cd | 2018-04-03 16:37:06 -0400 | [diff] [blame] | 58 | |
| 59 | # default number of instances |
| 60 | replicaCount: 1 |
| 61 | |
| 62 | nodeSelector: {} |
| 63 | |
| 64 | affinity: {} |
| 65 | |
| 66 | # probe configuration parameters |
| 67 | liveness: |
yangyan | d08e6dc | 2018-08-17 13:28:00 +0800 | [diff] [blame] | 68 | initialDelaySeconds: 120 |
Mike Elliott | 6ba69cd | 2018-04-03 16:37:06 -0400 | [diff] [blame] | 69 | periodSeconds: 10 |
| 70 | # necessary to disable liveness probe when setting breakpoints |
| 71 | # in debugger so K8s doesn't restart unresponsive container |
| 72 | enabled: true |
| 73 | |
| 74 | readiness: |
| 75 | initialDelaySeconds: 10 |
| 76 | periodSeconds: 10 |
| 77 | |
| 78 | service: |
| 79 | type: ClusterIP |
| 80 | name: vfc-vnfmgr |
AndrewLamb | ce8a39c | 2022-07-14 12:51:55 +0100 | [diff] [blame] | 81 | portName: http |
Mike Elliott | 6ba69cd | 2018-04-03 16:37:06 -0400 | [diff] [blame] | 82 | externalPort: 8803 |
| 83 | internalPort: 8803 |
| 84 | # nodePort: 30803 |
| 85 | |
| 86 | ingress: |
| 87 | enabled: false |
| 88 | |
GregSulek | 5fb3bc6 | 2018-09-20 08:51:37 -0400 | [diff] [blame] | 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: {} |
Maciej Wereski | 857687a | 2021-11-18 16:28:05 +0100 | [diff] [blame] | 106 | |
| 107 | # Log configuration |
| 108 | log: |
| 109 | path: /var/log/onap |
| 110 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |