Fix DBAAS helm charts timeout flag
[ric-plt/ric-dep.git] / helm / dbaas / values.yaml
1 ################################################################################
2 #   Copyright (c) 2020 AT&T Intellectual Property.                             #
3 #   Copyright (c) 2020 Nokia.                                                  #
4 #                                                                              #
5 #   Licensed under the Apache License, Version 2.0 (the "License");            #
6 #   you may not use this file except in compliance with the License.           #
7 #   You may obtain a copy of the License at                                    #
8 #                                                                              #
9 #       http://www.apache.org/licenses/LICENSE-2.0                             #
10 #                                                                              #
11 #   Unless required by applicable law or agreed to in writing, software        #
12 #   distributed under the License is distributed on an "AS IS" BASIS,          #
13 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   #
14 #   See the License for the specific language governing permissions and        #
15 #   limitations under the License.                                             #
16 ################################################################################
17
18 dbaas:
19   image:
20     registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
21     name: ric-plt-dbaas
22     tag: 0.5.1
23   imagePullPolicy: IfNotPresent
24   enableHighAvailability: false
25   enablePodAntiAffinity: false
26   terminationGracePeriodSeconds: 5
27
28   redis:
29     masterGroupName: dbaasmaster
30     sa_config:
31       ## For /data/conf/redis.conf
32       protected-mode: "no"
33       loadmodule: "/usr/local/libexec/redismodule/libredismodule.so"
34       bind: 0.0.0.0
35     ha_config:
36       ## For /data/conf/redis.conf
37       min-slaves-to-write: 1
38       min-slaves-max-lag: 5
39       maxmemory: "0"
40       maxmemory-policy: "volatile-lru"
41       protected-mode: "no"
42       loadmodule: "/usr/local/libexec/redismodule/libredismodule.so"
43
44   sentinel:
45     quorum: 2
46     protected-mode: "no"
47     config:
48       ## For /data/conf/sentinel.conf
49       down-after-milliseconds: 5000
50       failover-timeout: 60000
51       parallel-syncs: 1
52
53   saReplicas: 1
54   haReplicas: 3
55   #Timeout command below requires -t flag if installed DBAAS image is older than
56   #0.5.0. Reason is that DBAAS image version 0.5.0 and newer ones are based on
57   #newer Alpine 3.11 OS version and in this Alpine version timeout command
58   #doesn't have -t flag anymore.
59   probeTimeoutCommand: "timeout"
60   #probeTimeoutCommand: "timeout -t"
61   probeTimeout: 10