]> go.fuhry.dev Git - runtime.git/commit
[sd] add SRVHost option
authorDan Fuhry <dan@fuhry.com>
Fri, 25 Oct 2024 15:43:29 +0000 (11:43 -0400)
committerDan Fuhry <dan@fuhry.com>
Fri, 25 Oct 2024 15:43:29 +0000 (11:43 -0400)
commit110d56983d5ebc3f2ee880aa3c8ccc0ed7be74f5
treef25b25f198bb5d4341dcc12684a7dc98a7765d15
parentc039df3457a8d9c2b2bcfd6406ee0f9a414ee53e
[sd] add SRVHost option

Kubernetes support, commit 2 of 3: publish `pod-name.service.<SDDomain>` as the name in the SRV record when Kubernetes is detected. Preserve legacy behavior by defaulting to `AdvertiseHost` if configured, or our FQDN if not.
sd/publish.go