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:
parent
07bad79489
commit
5b43e57efa
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue