jfelten / gitea-helm-chart

MIT License
76 stars 66 forks source link

Add POSTGRES_USERNAME env variable and substitution in app.ini. #87

Closed ameyp closed 2 years ago

ameyp commented 2 years ago

Rather than using static database credentials, I would like to use dynamic database credentials from Hashicorp Vault. POSTGRESQL_PASSWORD is already being read from an environment variable; this PR reads POSTGRESQL_USERNAME from the environment too. The environment variable is set by reading the secret gitea-db.

ameyp commented 2 years ago

Disregard - this needs more work. I'll open an issue to discuss the work needed.