Fix DBAAS write error
[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.6.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       # For now DBAAS has no discs, that's why disable AOF and RDB file snapshot saving
33       appendonly: "no"
34       save: ""
35       protected-mode: "no"
36       loadmodule: "/usr/local/libexec/redismodule/libredismodule.so"
37       bind: 0.0.0.0
38     ha_config:
39       ## For /data/conf/redis.conf
40       # For now DBAAS has no discs, that's why disable AOF and RDB file snapshot saving
41       appendonly: "no"
42       save: ""
43       min-slaves-to-write: 1
44       min-slaves-max-lag: 5
45       maxmemory: "0"
46       maxmemory-policy: "volatile-lru"
47       protected-mode: "no"
48       loadmodule: "/usr/local/libexec/redismodule/libredismodule.so"
49
50   sentinel:
51     quorum: 2
52     protected-mode: "no"
53     config:
54       ## For /data/conf/sentinel.conf
55       down-after-milliseconds: 5000
56       failover-timeout: 60000
57       parallel-syncs: 1
58
59   saReplicas: 1
60   haReplicas: 3
61   #Timeout command below requires -t flag if installed DBAAS image is older than
62   #0.5.0. Reason is that DBAAS image version 0.5.0 and newer ones are based on
63   #newer Alpine 3.11 OS version and in this Alpine version timeout command
64   #doesn't have -t flag anymore.
65   probeTimeoutCommand: "timeout"
66   #probeTimeoutCommand: "timeout -t"
67   probeTimeout: 10