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
|
|
@ -47,6 +47,9 @@ spec:
|
|||
{{- if or (and .Values.redis.enabled (not $redisHa.enabled)) (and $redisHa.enabled $redisHa.haproxy.enabled) }}
|
||||
- --redis
|
||||
- {{ template "argo-cd.redis.fullname" . }}:{{ .Values.redis.servicePort }}
|
||||
{{- else if and .Values.externalRedis.host .Values.externalRedis.port }}
|
||||
- --redis
|
||||
- {{ .Values.externalRedis.host }}:{{ .Values.externalRedis.port }}
|
||||
{{- end }}
|
||||
- --logformat
|
||||
- {{ .Values.repoServer.logFormat }}
|
||||
|
|
@ -65,9 +68,10 @@ spec:
|
|||
value: /helm-working-dir
|
||||
- name: HELM_DATA_HOME
|
||||
value: /helm-working-dir
|
||||
{{- if .Values.repoServer.env }}
|
||||
{{- toYaml .Values.repoServer.env | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- include "argo-cd.redisPasswordEnv" . | nindent 8 }}
|
||||
{{- with .Values.repoServer.env }}
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.openshift.enabled }}
|
||||
- name: USER_NAME
|
||||
value: argocd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue