Skip to content

Commit 18bb03e

Browse files
[stable/redis-ha] fix: Automount service account token for haproxy (#322) (#323)
* fix: Automount service account token for haproxy (#322) Closes #322 It's needed by haproxy pods to start, at least when used with Argo CD. Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com> * Update Chart & README Signed-off-by: Aaron Layfield <aaron.layfield@gmail.com> --------- Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com> Signed-off-by: Aaron Layfield <aaron.layfield@gmail.com> Co-authored-by: Aaron Layfield <aaron.layfield@gmail.com>
1 parent 99fb393 commit 18bb03e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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.5
8+
version: 4.33.6
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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ The following table lists the configurable parameters of the Redis chart and the
165165
| `schedulerName` | Use an alternate scheduler, e.g. "stork". ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/ | string | `""` |
166166
| `securityContext` | Security context to be added to the Redis StatefulSet. | object | `{"fsGroup":1000,"runAsNonRoot":true,"runAsUser":1000}` |
167167
| `serviceAccount.annotations` | Annotations to be added to the service account for the redis statefulset | object | `{}` |
168-
| `serviceAccount.automountToken` | opt in/out of automounting API credentials into container. Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ | bool | `false` |
168+
| `serviceAccount.automountToken` | opt in/out of automounting API credentials into container. Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ | bool | `true` |
169169
| `serviceAccount.create` | Specifies whether a ServiceAccount should be created | bool | `true` |
170170
| `serviceAccount.name` | The name of the ServiceAccount to use. If not set and create is true, a name is generated using the redis-ha.fullname template | string | `""` |
171171
| `serviceLabels` | Custom labels for redis service | object | `{}` |

charts/redis-ha/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ haproxy:
185185
serviceAccount:
186186
# -- Specifies whether a ServiceAccount should be created
187187
create: true
188-
automountToken: false
188+
automountToken: true
189189

190190
## Official HAProxy embedded prometheus metrics settings.
191191
## Ref: https://github.com/haproxy/haproxy/tree/master/contrib/prometheus-exporter

0 commit comments

Comments
 (0)