feat(argo-cd): Add ability to use an external redis instance (#1150)
Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
parent
f47bab3acc
commit
58926e3d79
11 changed files with 88 additions and 10 deletions
|
|
@ -0,0 +1,11 @@
|
|||
{{- if and .Values.externalRedis.password (not .Values.externalRedis.existingSecret) }}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ template "argo-cd.redis.fullname" . }}
|
||||
labels:
|
||||
{{- include "argo-cd.labels" (dict "context" $) | nindent 4 }}
|
||||
type: Opaque
|
||||
data:
|
||||
redis-password: {{ .Values.externalRedis.password | b64enc }}
|
||||
{{- end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue