Mavenized image creation for readiness-check
[oom.git] / kubernetes / aaf / charts / aaf-sms / charts / aaf-sms-vault / values.yaml
1 # Copyright 2018 Intel Corporation, Inc
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   persistence: {}
21
22 # application image
23 repository: nexus3.onap.org:10001
24 image:
25   consul: library/consul:1.0.6
26   vault: library/vault:0.10.0
27 pullPolicy: Always
28
29 # flag to enable debugging - application support required
30 debugEnabled: false
31
32 #################################################################
33 # Application configuration defaults.
34 #################################################################
35 config:
36   consul:
37     server: true
38     log_level: INFO
39     server: true
40     data_dir: '/consul/data'
41     ports:
42       http: 8500
43       https: -1
44
45   vault:
46     storage:
47       consul:
48         address: localhost:8500
49         path: smsvault
50     listener:
51       tcp:
52         address: '[::]:8200'
53         tls_disable: true
54     disable_mlock: true
55
56 # default number of instances
57 replicaCount: 1
58
59 nodeSelector: {}
60
61 affinity: {}
62
63 # probe configuration parameters
64 liveness:
65   initialDelaySeconds: 10
66   periodSeconds: 10
67   # necessary to disable liveness probe when setting breakpoints
68   # in debugger so K8s doesn't restart unresponsive container
69   enabled: true
70
71 readiness:
72   initialDelaySeconds: 10
73   periodSeconds: 10
74
75 persistence:
76   enabled: true
77   volumeReclaimPolicy: Retain
78   accessMode: ReadWriteOnce
79   size: 2Gi
80   mountPath: /dockerdata-nfs
81   mountSubPath: sms/consul/data
82
83 service:
84   type: ClusterIP
85   name: aaf-sms-db
86   portName: aaf-sms-db
87   internalPort: 8200
88   externalPort: 8200
89
90 ingress:
91   enabled: false
92
93 flavor: small
94
95 # Configure resource requests and limits
96 resources:
97   small:
98     limits:
99       cpu: 200m
100       memory: 500Mi
101     requests:
102       cpu: 10m
103       memory: 10Mi
104   large:
105     limits:
106       cpu: 400m
107       memory: 700Mi
108     requests:
109       cpu: 10m
110       memory: 100Mi
111   unlimited: {}