blob: 35aa0aacd0a6beb788c012ddd93c13cf07af413c [file] [log] [blame]
Mike Elliott6ba69cd2018-04-03 16:37:06 -04001# 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#################################################################
18global:
19 nodePortPrefix: 302
Sylvain Desbureaux0cd5fee2020-11-19 17:35:56 +010020 config:
21 ssl_enabled: false
Mahmoud Abdelhamida74326f2021-09-24 17:28:28 +020022 mariadbGalera:
23 localCluster: false
24 service: mariadb-galera
25 internalPort: 3306
26 nameOverride: mariadb-galera
Mike Elliott6ba69cd2018-04-03 16:37:06 -040027
28#################################################################
Krzysztof Opasiaka9010db2020-02-26 23:36:22 +010029# Secrets metaconfig
30#################################################################
31secrets:
Mahmoud Abdelhamida74326f2021-09-24 17:28:28 +020032 - 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 Opasiaka9010db2020-02-26 23:36:22 +010034 type: password
Mahmoud Abdelhamida74326f2021-09-24 17:28:28 +020035 password: '{{ index .Values "mariadb-galera" "rootUser" "password" }}'
Krzysztof Opasiaka9010db2020-02-26 23:36:22 +010036 policy: required
37
38#################################################################
Mike Elliott6ba69cd2018-04-03 16:37:06 -040039# Application configuration defaults.
40#################################################################
41# application image
GregSulek5fb3bc62018-09-20 08:51:37 -040042flavor: small
43
dyh130393a2021-03-25 10:12:16 +080044image: onap/vfc/vnfmgr:1.4.0
Mike Elliott6ba69cd2018-04-03 16:37:06 -040045pullPolicy: Always
46
Huabing Zhaoc171ac22018-07-31 06:49:03 +000047#Istio sidecar injection policy
48istioSidecar: true
49
Mike Elliott6ba69cd2018-04-03 16:37:06 -040050# flag to enable debugging - application support required
51debugEnabled: false
52
Mahmoud Abdelhamida74326f2021-09-24 17:28:28 +020053# Local mariadb galera instance default name
54mariadb-galera:
55 rootUser:
56 externalSecret: '{{ include "common.release" . }}-vfc-db-root-pass'
57 nameOverride: vfc-mariadb
Mike Elliott6ba69cd2018-04-03 16:37:06 -040058
59# default number of instances
60replicaCount: 1
61
62nodeSelector: {}
63
64affinity: {}
65
66# probe configuration parameters
67liveness:
yangyand08e6dc2018-08-17 13:28:00 +080068 initialDelaySeconds: 120
Mike Elliott6ba69cd2018-04-03 16:37:06 -040069 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
74readiness:
75 initialDelaySeconds: 10
76 periodSeconds: 10
77
78service:
79 type: ClusterIP
80 name: vfc-vnfmgr
BorislavG1ffbd992018-04-24 07:56:27 +000081 portName: vfc-vnfmgr
Mike Elliott6ba69cd2018-04-03 16:37:06 -040082 externalPort: 8803
83 internalPort: 8803
84# nodePort: 30803
85
86ingress:
87 enabled: false
88
GregSulek5fb3bc62018-09-20 08:51:37 -040089# Configure resource requests and limits
90resources:
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 Opasiaka9010db2020-02-26 23:36:22 +0100105 unlimited: {}