fix: replace hardcoded IP with DNS name in k8s-semaphore #39

Open
opened 2026-05-14 03:01:35 +00:00 by mconway · 0 comments
Owner

ansible/roles/k8s-semaphore/defaults/main.yml:5 sets postgresql_login_host to the hardcoded IP 10.43.151.15.

All other roles use postgresql.database.svc.cluster.local. If the postgres pod reschedules and gets a new ClusterIP, semaphore will break.

Replace with postgresql.database.svc.cluster.local to match every other role.

`ansible/roles/k8s-semaphore/defaults/main.yml:5` sets `postgresql_login_host` to the hardcoded IP `10.43.151.15`. All other roles use `postgresql.database.svc.cluster.local`. If the postgres pod reschedules and gets a new ClusterIP, semaphore will break. Replace with `postgresql.database.svc.cluster.local` to match every other role.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mconway/Homelab#39
No description provided.