blob: 023ec591048405ae4140113d5995a09f5ef907e8 [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
Mike Elliott6ba69cd2018-04-03 16:37:06 -040020 readinessRepository: oomk8s
BorislavG3d6f9372018-04-15 11:55:39 +000021 readinessImage: readiness-check:2.0.0
Mike Elliott6ba69cd2018-04-03 16:37:06 -040022 loggingRepository: docker.elastic.co
23 loggingImage: beats/filebeat:5.5.0
24
25#################################################################
Krzysztof Opasiaka9010db2020-02-26 23:36:22 +010026# Secrets metaconfig
27#################################################################
28secrets:
29 - uid: "db-root-pass"
30 externalSecret: '{{ tpl (default "" .Values.config.mariadbRootPasswordExternalSecret) . }}'
31 type: password
32 password: '{{ .Values.config.mariadbRootPassword }}'
33 policy: required
34
35#################################################################
Mike Elliott6ba69cd2018-04-03 16:37:06 -040036# Application configuration defaults.
37#################################################################
38# application image
GregSulek5fb3bc62018-09-20 08:51:37 -040039flavor: small
40
Mike Elliott6ba69cd2018-04-03 16:37:06 -040041repository: nexus3.onap.org:10001
yangyan4fa2e492020-03-26 21:12:26 +080042image: onap/vfc/nslcm:1.3.8
Mike Elliott6ba69cd2018-04-03 16:37:06 -040043pullPolicy: Always
44
Huabing Zhaoc171ac22018-07-31 06:49:03 +000045#Istio sidecar injection policy
46istioSidecar: true
47
Mike Elliott6ba69cd2018-04-03 16:37:06 -040048# flag to enable debugging - application support required
49debugEnabled: false
50
51# application configuration
Krzysztof Opasiaka9010db2020-02-26 23:36:22 +010052config:
53 mariadbService: vfc-mariadb
54 mariadbPort: 3306
55 # mariadbRootPassword: secretpassword
56 # mariadbRootPasswordExternalSecret: some secret
57
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-nslcm
BorislavG1ffbd992018-04-24 07:56:27 +000081 portName: vfc-nslcm
Mike Elliott6ba69cd2018-04-03 16:37:06 -040082 externalPort: 8403
83 internalPort: 8403
84# nodePort: 30403
85
86ingress:
87 enabled: false
88
GregSulek5fb3bc62018-09-20 08:51:37 -040089
90# Configure resource requests and limits
91resources:
92 small:
93 limits:
94 cpu: 200m
95 memory: 500Mi
96 requests:
97 cpu: 100m
98 memory: 250Mi
99 large:
100 limits:
101 cpu: 400m
102 memory: 1000Mi
103 requests:
104 cpu: 200m
105 memory: 500Mi
Krzysztof Opasiaka9010db2020-02-26 23:36:22 +0100106 unlimited: {}