[DCAEMOD] Uses new tpls for repos / images
[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     server: true
39     data_dir: '/consul/data'
40     ports:
41       http: 8500
42       https: -1
43
44   vault:
45     storage:
46       consul:
47         address: localhost:8500
48         path: smsvault
49     listener:
50       tcp:
51         address: '[::]:8200'
52         tls_disable: true
53     disable_mlock: true
54
55 # default number of instances
56 replicaCount: 1
57
58 nodeSelector: {}
59
60 affinity: {}
61
62 # probe configuration parameters
63 liveness:
64   initialDelaySeconds: 10
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 persistence:
75   enabled: true
76   volumeReclaimPolicy: Retain
77   accessMode: ReadWriteOnce
78   size: 2Gi
79   mountPath: /dockerdata-nfs
80   mountSubPath: sms/consul/data
81
82 service:
83   type: ClusterIP
84   name: aaf-sms-db
85   portName: aaf-sms-db
86   internalPort: 8200
87   externalPort: 8200
88
89 ingress:
90   enabled: false
91
92 flavor: small
93
94 # Configure resource requests and limits
95 resources:
96   small:
97     limits:
98       cpu: 40m
99       memory: 40Mi
100     requests:
101       cpu: 10m
102       memory: 25Mi
103   large:
104     limits:
105       cpu: 400m
106       memory: 700Mi
107     requests:
108       cpu: 10m
109       memory: 100Mi
110   unlimited: {}