[Docs] Helm: document standalone DB secret precedence

This commit is contained in:
ben.wangz 2026-05-05 17:04:56 +08:00
parent d5a46747d6
commit 2e102973e6

View file

@ -269,6 +269,13 @@ db:
# instance. See the "postgresql" top level key for additional configuration.
deployStandalone: true
# Optional explicit secret name for DB credentials in standalone mode.
# Precedence used by templates:
# 1) db.dbCredentialsSecretName
# 2) postgresql.auth.existingSecret
# 3) <release fullname>-dbcredentials (chart-managed fallback secret)
# dbCredentialsSecretName: ""
# Lifecycle hooks for the LiteLLM container
# Example:
# lifecycle:
@ -291,8 +298,16 @@ postgresql:
postgres-password: NoTaGrEaTpAsSwOrD
# A secret is created by this chart (litellm-helm) with the credentials that
# the new Postgres instance should use.
# the new Postgres instance should use when neither db.dbCredentialsSecretName
# nor postgresql.auth.existingSecret is set.
# existingSecret: ""
# If you set existingSecret for standalone mode, ensure LiteLLM DB env key names
# match that secret using db.secret.usernameKey / db.secret.passwordKey.
# Example with Bitnami postgres secret shape:
# db:
# secret:
# usernameKey: username
# passwordKey: postgres-password
# secretKeys:
# userPasswordKey: password