Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/redis-ha/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ keywords:
- redis
- keyvalue
- database
version: 4.35.7
version: 4.35.8
appVersion: 8.2.2
description: This Helm chart provides a highly available Redis implementation with a master/slave configuration and uses Sentinel sidecars for failover management
icon: https://img.icons8.com/external-tal-revivo-shadow-tal-revivo/24/external-redis-an-in-memory-data-structure-project-implementing-a-distributed-logo-shadow-tal-revivo.png
Expand Down
1 change: 1 addition & 0 deletions charts/redis-ha/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ The following table lists the configurable parameters of the Redis chart and the
| `haproxy.emptyDir` | Configuration of `emptyDir` | object | `{}` |
| `haproxy.enabled` | Enabled HAProxy LoadBalancing/Proxy | bool | `false` |
| `haproxy.extraConfig` | Allows to place any additional configuration section to add to the default config-haproxy.cfg | string | `nil` |
| `haproxy.globalConfig` | Allows to place HAProxy global section configuration. Inserted before defaults section. | string | `nil` |
| `haproxy.hardAntiAffinity` | Whether the haproxy pods should be forced to run on separate nodes. | bool | `true` |
| `haproxy.image.pullPolicy` | HAProxy Image PullPolicy | string | `"IfNotPresent"` |
| `haproxy.image.repository` | HAProxy Image Repository | string | `"public.ecr.aws/docker/library/haproxy"` |
Expand Down
4 changes: 4 additions & 0 deletions charts/redis-ha/templates/_configs.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,10 @@
{{- if .Values.haproxy.customConfig }}
{{ tpl .Values.haproxy.customConfig . | indent 4 }}
{{- else }}
{{- if .Values.haproxy.globalConfig }}
# Global configuration
{{ tpl .Values.haproxy.globalConfig . | indent 4 }}
{{- end }}
defaults REDIS
mode tcp
timeout connect {{ .Values.haproxy.timeout.connect }}
Expand Down
9 changes: 9 additions & 0 deletions charts/redis-ha/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,15 @@ haproxy:
# customConfig: |-
# Define configuration here

## Global HAProxy configuration section. This is inserted before the 'defaults' section.
## Use this to configure global HAProxy settings like logging, performance tuning, etc.
# -- (string) Allows to place HAProxy global section configuration. Inserted before defaults section.
globalConfig: ~
# globalConfig: |-
# global
# log stdout format raw local0
# maxconn 4096

## Place any additional configuration section to add to the default config-haproxy.cfg
# -- (string) Allows to place any additional configuration section to add to the default config-haproxy.cfg
extraConfig: ~
Expand Down
Loading