Merge "[DCAEMOD] Uses new tpls for repos / images"
[oom.git] / kubernetes / vfc / components / vfc-vnfmgr / values.yaml
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
20   config:
21     ssl_enabled: false
22
23 #################################################################
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 #################################################################
34 # Application configuration defaults.
35 #################################################################
36 # application image
37 flavor: small
38
39 image: onap/vfc/vnfmgr:1.3.9
40 pullPolicy: Always
41
42 #Istio sidecar injection policy
43 istioSidecar: true
44
45 # flag to enable debugging - application support required
46 debugEnabled: false
47
48 # application configuration
49 config:
50   mariadbService: vfc-mariadb
51   mariadbPort: 3306
52   mariadbRootPassword: secretpassword
53   # mariadbRootPasswordExternalSecret: some secret
54
55 # default number of instances
56 replicaCount: 1
57
58 nodeSelector: {}
59
60 affinity: {}
61
62 # probe configuration parameters
63 liveness:
64   initialDelaySeconds: 120
65   periodSeconds: 10
66   # necessary to disable liveness probe when setting breakpoints
67   # in debugger so K8s doesn't restart unresponsive container
68   enabled: true
69
70 readiness:
71   initialDelaySeconds: 10
72   periodSeconds: 10
73
74 service:
75   type: ClusterIP
76   name: vfc-vnfmgr
77   portName: vfc-vnfmgr
78   externalPort: 8803
79   internalPort: 8803
80 #  nodePort: 30803
81
82 ingress:
83   enabled: false
84
85 # Configure resource requests and limits
86 resources:
87   small:
88     limits:
89       cpu: 200m
90       memory: 500Mi
91     requests:
92       cpu: 100m
93       memory: 250Mi
94   large:
95     limits:
96       cpu: 400m
97       memory: 1000Mi
98     requests:
99       cpu: 200m
100       memory: 500Mi
101   unlimited: {}