fix: set Host header on paperclip health probes to bypass hostname guard #107

Merged
unkinben merged 1 commits from benvin/paperclip_live_probe into main 2026-05-02 23:01:59 +10:00
Owner

The privateHostnameGuard middleware blocks requests where the Host header
is not in the allowlist. Kubelet httpGet probes use the pod IP as the
Host header, which is never in the allowlist. Setting Host: localhost
ensures probes are always permitted.

The privateHostnameGuard middleware blocks requests where the Host header is not in the allowlist. Kubelet httpGet probes use the pod IP as the Host header, which is never in the allowlist. Setting Host: localhost ensures probes are always permitted.
unkinben added 1 commit 2026-05-02 22:59:25 +10:00
fix: set Host header on paperclip health probes to bypass hostname guard
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful
926f3b34ba
The privateHostnameGuard middleware blocks requests where the Host header
is not in the allowlist. Kubelet httpGet probes use the pod IP as the
Host header, which is never in the allowlist. Setting Host: localhost
ensures probes are always permitted.
unkinben merged commit 156b545249 into main 2026-05-02 23:01:59 +10:00
unkinben deleted branch benvin/paperclip_live_probe 2026-05-02 23:01:59 +10:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/argocd-apps#107