From 556a9d51846d1e72c721f4307792c00b383a3532 Mon Sep 17 00:00:00 2001 From: chisaato Date: Wed, 22 May 2024 17:44:59 +0800 Subject: [PATCH] fix: update docs and CI lints Signed-off-by: chisaato --- charts/dragonfly/README.md | 1 + charts/dragonfly/templates/manager/manager-configmap.yaml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/dragonfly/README.md b/charts/dragonfly/README.md index e1f36880..757bcec1 100644 --- a/charts/dragonfly/README.md +++ b/charts/dragonfly/README.md @@ -242,6 +242,7 @@ helm delete dragonfly --namespace dragonfly-system | externalPostgresql.port | int | `5432` | External postgresql port. | | externalPostgresql.sslMode | string | `"disable"` | External postgresql ssl mode. | | externalPostgresql.username | string | `"dragonfly"` | External postgresql username. | +| externalRedis.addrs | list | `["redis.example.com:6379"]` | External redis server addresses. | | externalRedis.backendDB | int | `2` | External redis backend db. | | externalRedis.brokerDB | int | `1` | External redis broker db. | | externalRedis.db | int | `0` | External redis db. | diff --git a/charts/dragonfly/templates/manager/manager-configmap.yaml b/charts/dragonfly/templates/manager/manager-configmap.yaml index 7984027a..b7e41e34 100644 --- a/charts/dragonfly/templates/manager/manager-configmap.yaml +++ b/charts/dragonfly/templates/manager/manager-configmap.yaml @@ -51,10 +51,10 @@ data: migrate: {{ .Values.externalMysql.migrate }} {{- end }} {{- end }} - {{- if or .Values.postgresql.enable .Values.externalPostgresql.host}} + {{- if or .Values.postgresql.enable .Values.externalPostgresql.host }} type: postgres postgres: - {{- if and .Values.postgresql.enable (empty .Values.externalPostgresql.host)}} + {{- if and .Values.postgresql.enable (empty .Values.externalPostgresql.host) }} user: {{ .Values.postgresql.auth.username }} password: {{ .Values.postgresql.auth.password }} host: {{ .Release.Name }}-{{ default "postgresql" .Values.postgresql.fullname }}.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}