Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
name: pgdog
version: v0.85
version: v0.86
appVersion: "v0.1.60"
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ users:
password: "hunter2" # See ExternalSecrets for secure storage
```

Set `authType` on a user to override the general `authType` setting. It accepts
the same values and renders as `auth_type` in `users.toml`.

**⚠️ For production**: Use ExternalSecrets instead of plain text
passwords (see ExternalSecrets section below).

Expand Down
3 changes: 3 additions & 0 deletions templates/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
[[users]]
name = {{ .name | quote }}
database = {{ .database | quote }}
{{- if hasKey . "authType" }}
auth_type = {{ .authType | quote }}
{{- end }}
{{- if .identity }}
identity = {{ .identity | quote }}
{{- end }}
Expand Down
1 change: 1 addition & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ databases: []
# Supports all arguments from users.toml. Arguments are named in
# camelCase format.
# Set identity on a user to match the identity in its client TLS certificate.
# Set authType on a user to override the general authType setting.
users: []

# mirrors contains a list of databases to replicate traffic from/to.
Expand Down
Loading