Skip to content

Commit

Permalink
fix: update docs and CI lints
Browse files Browse the repository at this point in the history
Signed-off-by: chisaato <[email protected]>
  • Loading branch information
chisaato committed Aug 12, 2024
1 parent c6a7a0a commit 556a9d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions charts/dragonfly/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down
4 changes: 2 additions & 2 deletions charts/dragonfly/templates/manager/manager-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 556a9d5

Please sign in to comment.