Merge "[DMAAP] DMaaP ServiceMesh compatibility"
[oom.git] / kubernetes / aaf / components / aaf-sms / components / aaf-sms-vault / values.yaml
1 # Copyright 2018 Intel Corporation, Inc
2 # Modifications © 2020 AT&T
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 #################################################################
17 # Global configuration defaults.
18 #################################################################
19 global:
20   persistence: {}
21
22 # application image
23 image:
24   consul: library/consul:1.7.1
25   vault: library/vault:1.3.3
26 pullPolicy: Always
27
28 # flag to enable debugging - application support required
29 debugEnabled: false
30
31 #################################################################
32 # Application configuration defaults.
33 #################################################################
34 config:
35   consul:
36     server: true
37     log_level: INFO
38     data_dir: '/consul/data'
39     ports:
40       http: 8500
41       https: -1
42
43   vault:
44     storage:
45       consul:
46         address: localhost:8500
47         path: smsvault
48     listener:
49       tcp:
50         address: '[::]:8200'
51         tls_disable: true
52     disable_mlock: true
53
54 # default number of instances
55 replicaCount: 1
56
57 nodeSelector: {}
58
59 affinity: {}
60
61 # probe configuration parameters
62 liveness:
63   initialDelaySeconds: 10
64   periodSeconds: 10
65   # necessary to disable liveness probe when setting breakpoints
66   # in debugger so K8s doesn't restart unresponsive container
67   enabled: true
68
69 readiness:
70   initialDelaySeconds: 10
71   periodSeconds: 10
72
73 persistence:
74   enabled: true
75   volumeReclaimPolicy: Retain
76   accessMode: ReadWriteOnce
77   size: 2Gi
78   mountPath: /dockerdata-nfs
79   mountSubPath: sms/consul/data
80
81 service:
82   type: ClusterIP
83   name: aaf-sms-db
84   portName: aaf-sms-db
85   internalPort: 8200
86   externalPort: 8200
87
88 ingress:
89   enabled: false
90
91 flavor: small
92
93 # Configure resource requests and limits
94 resources:
95   small:
96     limits:
97       cpu: 400m
98       memory: 80Mi
99     requests:
100       cpu: 40m
101       memory: 40Mi
102   large:
103     limits:
104       cpu: 400m
105       memory: 700Mi
106     requests:
107       cpu: 40m
108       memory: 100Mi
109   unlimited: {}