-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Description
The Feature
Allow to configure the database host from secrets in the same way we can configure credentials.
e.g.,
litellm/deploy/charts/litellm-helm/values.yaml
Lines 148 to 151 in 61d7704
| secret: | |
| name: postgres | |
| usernameKey: username | |
| passwordKey: password |
At the moment, if we want to do this, we need to update environmentSecrets (or another similar configuration) with the desired secret (that contains the host, DATABASE_HOST for instance), and set db.endpoint=$(DATABASE_HOST). However, the problem is that secrets in environmentSecrets are not injected into the migration job, which makes Kubelet use the literal value since there is nothing to replace (no DATABASE_HOST env var) during startup.
Motivation, pitch
This will make the configuration easier since we will use the same pattern we already use for credentials.
Are you a ML Ops Team?
Yes
Twitter / LinkedIn details
No response