blob: 31b5a66fd0a6195e01689e8056d4024f6beb6f6e [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:
Andreas Geissler2c1ba292024-01-10 22:20:05 +010023 # flag to enable the DB creation via mariadb-operator
24 useOperator: true
Mahmoud Abdelhamida74326f2021-09-24 17:28:28 +020025 localCluster: false
Andreas Geissler576de2d2023-10-24 15:38:01 +020026 service: mariadb-galera
Mahmoud Abdelhamida74326f2021-09-24 17:28:28 +020027 internalPort: 3306
28 nameOverride: mariadb-galera
Mike Elliott6ba69cd2018-04-03 16:37:06 -040029
30#################################################################
Krzysztof Opasiaka9010db2020-02-26 23:36:22 +010031# Secrets metaconfig
32#################################################################
33secrets:
Mahmoud Abdelhamida74326f2021-09-24 17:28:28 +020034 - uid: db-root-pass
35 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 +010036 type: password
Mahmoud Abdelhamida74326f2021-09-24 17:28:28 +020037 password: '{{ index .Values "mariadb-galera" "rootUser" "password" }}'
Krzysztof Opasiaka9010db2020-02-26 23:36:22 +010038 policy: required
39
40#################################################################
Mike Elliott6ba69cd2018-04-03 16:37:06 -040041# Application configuration defaults.
42#################################################################
43# application image
GregSulek5fb3bc62018-09-20 08:51:37 -040044flavor: small
45
dyhde205f62021-10-08 17:17:30 +080046image: onap/vfc/vnfmgr:1.4.1
Mike Elliott6ba69cd2018-04-03 16:37:06 -040047pullPolicy: Always
48
Huabing Zhaoc171ac22018-07-31 06:49:03 +000049#Istio sidecar injection policy
50istioSidecar: true
51
Mike Elliott6ba69cd2018-04-03 16:37:06 -040052# flag to enable debugging - application support required
53debugEnabled: false
54
Mahmoud Abdelhamida74326f2021-09-24 17:28:28 +020055# Local mariadb galera instance default name
56mariadb-galera:
57 rootUser:
58 externalSecret: '{{ include "common.release" . }}-vfc-db-root-pass'
59 nameOverride: vfc-mariadb
Mike Elliott6ba69cd2018-04-03 16:37:06 -040060
61# default number of instances
62replicaCount: 1
63
64nodeSelector: {}
65
66affinity: {}
67
68# probe configuration parameters
69liveness:
yangyand08e6dc2018-08-17 13:28:00 +080070 initialDelaySeconds: 120
Mike Elliott6ba69cd2018-04-03 16:37:06 -040071 periodSeconds: 10
72 # necessary to disable liveness probe when setting breakpoints
73 # in debugger so K8s doesn't restart unresponsive container
74 enabled: true
75
76readiness:
77 initialDelaySeconds: 10
78 periodSeconds: 10
79
80service:
81 type: ClusterIP
82 name: vfc-vnfmgr
AndrewLambce8a39c2022-07-14 12:51:55 +010083 portName: http
Mike Elliott6ba69cd2018-04-03 16:37:06 -040084 externalPort: 8803
85 internalPort: 8803
86# nodePort: 30803
87
88ingress:
89 enabled: false
90
GregSulek5fb3bc62018-09-20 08:51:37 -040091# Configure resource requests and limits
92resources:
93 small:
94 limits:
Andreas Geissler47537432024-02-27 08:55:23 +010095 cpu: "200m"
Andreas Geissler8cbb3d92024-03-12 16:44:56 +010096 memory: "500Mi"
GregSulek5fb3bc62018-09-20 08:51:37 -040097 requests:
Andreas Geissler47537432024-02-27 08:55:23 +010098 cpu: "100m"
Andreas Geissler8cbb3d92024-03-12 16:44:56 +010099 memory: "200Mi"
GregSulek5fb3bc62018-09-20 08:51:37 -0400100 large:
101 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100102 cpu: "400m"
103 memory: "1Gi"
GregSulek5fb3bc62018-09-20 08:51:37 -0400104 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100105 cpu: "200m"
Andreas Geissler8cbb3d92024-03-12 16:44:56 +0100106 memory: "500Mi"
Krzysztof Opasiaka9010db2020-02-26 23:36:22 +0100107 unlimited: {}
Maciej Wereski857687a2021-11-18 16:28:05 +0100108
109# Log configuration
110log:
111 path: /var/log/onap
112logConfigMapNamePrefix: '{{ include "common.fullname" . }}'