Merge "[AAI] Add model-loader tracing config"
[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   mariadbGalera:
23     # flag to enable the DB creation via mariadb-operator
24     useOperator: true
25     localCluster: false
26     service: mariadb-galera
27     internalPort: 3306
28     nameOverride: mariadb-galera
29
30 #################################################################
31 # Secrets metaconfig
32 #################################################################
33 secrets:
34   - 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 }}'
36     type: password
37     password: '{{ index .Values "mariadb-galera" "rootUser" "password" }}'
38     policy: required
39
40 #################################################################
41 # Application configuration defaults.
42 #################################################################
43 # application image
44 flavor: small
45
46 image: onap/vfc/vnfmgr:1.4.1
47 pullPolicy: Always
48
49 #Istio sidecar injection policy
50 istioSidecar: true
51
52 # flag to enable debugging - application support required
53 debugEnabled: false
54
55 # Local mariadb galera instance default name
56 mariadb-galera:
57   rootUser:
58     externalSecret: '{{ include "common.release" . }}-vfc-db-root-pass'
59   nameOverride: vfc-mariadb
60
61 # default number of instances
62 replicaCount: 1
63
64 nodeSelector: {}
65
66 affinity: {}
67
68 # probe configuration parameters
69 liveness:
70   initialDelaySeconds: 120
71   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
76 readiness:
77   initialDelaySeconds: 10
78   periodSeconds: 10
79
80 service:
81   type: ClusterIP
82   name: vfc-vnfmgr
83   portName: http
84   externalPort: 8803
85   internalPort: 8803
86 #  nodePort: 30803
87
88 ingress:
89   enabled: false
90
91 # Configure resource requests and limits
92 resources:
93   small:
94     limits:
95       cpu: "200m"
96       memory: "500Mi"
97     requests:
98       cpu: "100m"
99       memory: "200Mi"
100   large:
101     limits:
102       cpu: "400m"
103       memory: "1Gi"
104     requests:
105       cpu: "200m"
106       memory: "500Mi"
107   unlimited: {}
108
109 # Log configuration
110 log:
111   path: /var/log/onap
112 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'