actualbudget: use internal ClusterIP for http-api server URL

The http-api sidecar was connecting to the public URL
(https://budget-*.viktorbarzin.me) which goes through Traefik/Authentik.
When pods got rescheduled to different nodes, this caused ETIMEDOUT errors.

Changed to internal service URL (http://budget-*.actualbudget.svc.cluster.local)
which is fast and reliable regardless of pod placement.
This commit is contained in:
Viktor Barzin 2026-04-06 12:22:57 +03:00
parent 07bad79489
commit 5b43e57efa

View file

@ -192,7 +192,7 @@ resource "kubernetes_deployment" "actualbudget-http-api" {
}
env {
name = "ACTUAL_SERVER_URL"
value = "https://budget-${var.name}.viktorbarzin.me"
value = "http://budget-${var.name}.actualbudget.svc.cluster.local"
}
env {
name = "ACTUAL_SERVER_PASSWORD"