Skip to content

Commit 666b28c

Browse files
[stable/redis-ha] feat: Add support for .Values.haproxy.deploymentAnnotations (#335)
* feat: Add support for `.Values.haproxy.deploymentAnnotations` Signed-off-by: Pravin Dahal <[email protected]> * Trigger action --------- Signed-off-by: Pravin Dahal <[email protected]> Co-authored-by: Aaron Layfield <[email protected]>
1 parent 963435f commit 666b28c

File tree

5 files changed

+13
-1
lines changed

5 files changed

+13
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
### Charts for numerous projects. Migrated from `helm/stable` due to deprecation timeline.
44

55
Charts are deployed via Github Actions to the `gh-pages` branch.
6+

charts/redis-ha/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ keywords:
55
- redis
66
- keyvalue
77
- database
8-
version: 4.33.8
8+
version: 4.34.0
99
appVersion: 7.2.7
1010
description: This Helm chart provides a highly available Redis implementation with a master/slave configuration and uses Sentinel sidecars for failover management
1111
icon: https://upload.wikimedia.org/wikipedia/en/thumb/6/6b/Redis_Logo.svg/1200px-Redis_Logo.svg.png

charts/redis-ha/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ The following table lists the configurable parameters of the Redis chart and the
241241
| `haproxy.containerPort` | Modify HAProxy deployment container port | int | `6379` |
242242
| `haproxy.containerSecurityContext` | Security context to be added to the HAProxy containers. | object | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}` |
243243
| `haproxy.customConfig` | Allows for custom config-haproxy.cfg file to be applied. If this is used then default config will be overwriten | string | `nil` |
244+
| `haproxy.deploymentAnnotations` | HAProxy template deployment annotations | object | `{}` |
244245
| `haproxy.deploymentStrategy` | Deployment strategy for the haproxy deployment | object | `{"type":"RollingUpdate"}` |
245246
| `haproxy.emptyDir` | Configuration of `emptyDir` | object | `{}` |
246247
| `haproxy.enabled` | Enabled HAProxy LoadBalancing/Proxy | bool | `false` |

charts/redis-ha/templates/redis-haproxy-deployment.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ metadata:
99
{{- range $key, $value := .Values.extraLabels }}
1010
{{ $key }}: {{ $value | quote }}
1111
{{- end }}
12+
{{- if .Values.haproxy.deploymentAnnotations }}
13+
annotations:
14+
{{- range $key, $value := .Values.haproxy.deploymentAnnotations }}
15+
{{ $key }}: {{ $value | quote }}
16+
{{- end }}
17+
{{- end }}
1218
spec:
1319
{{- with .Values.haproxy.deploymentStrategy }}
1420
strategy:

charts/redis-ha/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,10 @@ haproxy:
141141

142142
# -- HAProxy template annotations
143143
annotations: {}
144+
145+
# -- HAProxy deployment annotations
146+
deploymentAnnotations: {}
147+
144148
# -- HAProxy resources
145149
resources: {}
146150
# -- Configuration of `emptyDir`

0 commit comments

Comments
 (0)