[DMAAP] DMaaP ServiceMesh compatibility
[oom.git] / kubernetes / vfc / components / vfc-nslcm / 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     localCluster: false
24     service: mariadb-galera
25     internalPort: 3306
26     nameOverride: mariadb-galera
27
28 #################################################################
29 # Secrets metaconfig
30 #################################################################
31 secrets:
32   - 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 }}'
34     type: password
35     password: '{{ index .Values "mariadb-galera" "rootUser" "password" }}'
36     policy: required
37
38 #################################################################
39 # Application configuration defaults.
40 #################################################################
41 # application image
42 flavor: small
43
44 image: onap/vfc/nslcm:1.4.4
45 pullPolicy: Always
46
47 #Istio sidecar injection policy
48 istioSidecar: true
49
50 # flag to enable debugging - application support required
51 debugEnabled: false
52
53 # Local mariadb galera instance default name
54 mariadb-galera:
55   rootUser:
56     externalSecret: '{{ include "common.release" . }}-vfc-db-root-pass'
57   nameOverride: vfc-mariadb
58
59 # default number of instances
60 replicaCount: 1
61
62 nodeSelector: {}
63
64 affinity: {}
65
66 # probe configuration parameters
67 liveness:
68   initialDelaySeconds: 120
69   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
74 readiness:
75   initialDelaySeconds: 10
76   periodSeconds: 10
77
78 service:
79   type: ClusterIP
80   name: vfc-nslcm
81   portName: vfc-nslcm
82   externalPort: 8403
83   internalPort: 8403
84 #  nodePort: 30403
85
86 ingress:
87   enabled: false
88
89
90 # Configure resource requests and limits
91 resources:
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
106   unlimited: {}
107
108 # Log configuration
109 log:
110   path: /var/log/onap
111 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'