Postgres sub-chart routing defaults to localhost instead of necessary service name #23
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/helm-chart#23
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello!
Thank you for your effort maintaining this chart.
I attempted to install the chart, and the api was unable to talk to the database (kept trying to reach out over localhost instead of using kubernetes routing) until I added
VIKUNJA_DATABASE_HOST: project-pym-postgresql
(where project-pym-postgresql is the name of my postgres service) to the env config.Is this something that is a quirk of my distribution? (Vanilla k8s installed with kubespray). Does attempting to use localhost for the database work for other users?
I think at least it would be worth making a documentation update to set that flag in case someone runs into a similar issue in the future. I'm happy to make it! Just wanted to reach out and make sure there wasn't a deeper issue.
localhost is the default of vikunja and will never work in a docker context. Iirc we don't set the value automatically in the chart because the database might be external.
I'd happily accept a PR with a clarification in the docs!