Skip to content

Commit

Permalink
fix: 文档已更新 CI 测试也已更新
Browse files Browse the repository at this point in the history
Signed-off-by: chisaato <[email protected]>
  • Loading branch information
chisaato committed May 22, 2024
1 parent 997fc6a commit a06435d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/dragonfly/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -359,14 +359,14 @@ helm delete dragonfly --namespace dragonfly-system
| externalMysql.password | string | `"dragonfly"` | External mysql password. |
| externalMysql.port | int | `3306` | External mysql port. |
| externalMysql.username | string | `"dragonfly"` | External mysql username. |
| externalRedis.addrs | list | `["redis.example.com:6379"]` | External redis server addresses. |
| externalPostgresql.database | string | `"manager"` | External postgresql database name. |
| externalPostgresql.host | string | `nil` | External postgresql hostname. |
| externalPostgresql.migrate | bool | `false` | Running GORM migration. |
| externalPostgresql.password | string | `"dragonfly"` | External postgresql password. |
| 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 @@ -50,10 +50,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 a06435d

Please sign in to comment.