feat: add support for passing redis - sentinel credentials
Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>
This commit is contained in:
parent
c25c83b0db
commit
568627aa2b
6 changed files with 39 additions and 3 deletions
|
@ -3,7 +3,7 @@ appVersion: v2.10.0
|
||||||
kubeVersion: ">=1.23.0-0"
|
kubeVersion: ">=1.23.0-0"
|
||||||
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||||
name: argo-cd
|
name: argo-cd
|
||||||
version: 6.0.5
|
version: 6.1.0
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||||
sources:
|
sources:
|
||||||
|
|
|
@ -1256,7 +1256,7 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
|
||||||
|
|
||||||
| Key | Type | Default | Description |
|
| Key | Type | Default | Description |
|
||||||
|-----|------|---------|-------------|
|
|-----|------|---------|-------------|
|
||||||
| externalRedis.existingSecret | string | `""` | The name of an existing secret with Redis credentials (must contain key `redis-password`). When it's set, the `externalRedis.password` parameter is ignored |
|
| externalRedis.existingSecret | string | `""` | The name of an existing secret with Redis (must contain key `redis-password`) and Sentinel credentials. When it's set, the `externalRedis.password` parameter is ignored |
|
||||||
| externalRedis.host | string | `""` | External Redis server host |
|
| externalRedis.host | string | `""` | External Redis server host |
|
||||||
| externalRedis.password | string | `""` | External Redis password |
|
| externalRedis.password | string | `""` | External Redis password |
|
||||||
| externalRedis.port | int | `6379` | External Redis server port |
|
| externalRedis.port | int | `6379` | External Redis server port |
|
||||||
|
|
|
@ -203,6 +203,18 @@ spec:
|
||||||
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
|
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
|
||||||
key: redis-password
|
key: redis-password
|
||||||
optional: true
|
optional: true
|
||||||
|
- name: REDIS_SENTINEL_USERNAME
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
|
||||||
|
key: redis-sentinel-username
|
||||||
|
optional: true
|
||||||
|
- name: REDIS_SENTINEL_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
|
||||||
|
key: redis-sentinel-password
|
||||||
|
optional: true
|
||||||
- name: ARGOCD_DEFAULT_CACHE_EXPIRATION
|
- name: ARGOCD_DEFAULT_CACHE_EXPIRATION
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
|
|
|
@ -181,6 +181,18 @@ spec:
|
||||||
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
|
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
|
||||||
key: redis-password
|
key: redis-password
|
||||||
optional: true
|
optional: true
|
||||||
|
- name: REDIS_SENTINEL_USERNAME
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
|
||||||
|
key: redis-sentinel-username
|
||||||
|
optional: true
|
||||||
|
- name: REDIS_SENTINEL_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
|
||||||
|
key: redis-sentinel-password
|
||||||
|
optional: true
|
||||||
- name: ARGOCD_DEFAULT_CACHE_EXPIRATION
|
- name: ARGOCD_DEFAULT_CACHE_EXPIRATION
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
|
|
|
@ -249,6 +249,18 @@ spec:
|
||||||
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
|
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
|
||||||
key: redis-password
|
key: redis-password
|
||||||
optional: true
|
optional: true
|
||||||
|
- name: REDIS_SENTINEL_USERNAME
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
|
||||||
|
key: redis-sentinel-username
|
||||||
|
optional: true
|
||||||
|
- name: REDIS_SENTINEL_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
|
||||||
|
key: redis-sentinel-password
|
||||||
|
optional: true
|
||||||
- name: ARGOCD_DEFAULT_CACHE_EXPIRATION
|
- name: ARGOCD_DEFAULT_CACHE_EXPIRATION
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
|
|
|
@ -1516,7 +1516,7 @@ externalRedis:
|
||||||
password: ""
|
password: ""
|
||||||
# -- External Redis server port
|
# -- External Redis server port
|
||||||
port: 6379
|
port: 6379
|
||||||
# -- The name of an existing secret with Redis credentials (must contain key `redis-password`).
|
# -- The name of an existing secret with Redis (must contain key `redis-password`) and Sentinel credentials.
|
||||||
# When it's set, the `externalRedis.password` parameter is ignored
|
# When it's set, the `externalRedis.password` parameter is ignored
|
||||||
existingSecret: ""
|
existingSecret: ""
|
||||||
# -- External Redis Secret annotations
|
# -- External Redis Secret annotations
|
||||||
|
|
Loading…
Reference in a new issue