caddyserver / ingress

WIP Caddy 2 ingress controller for Kubernetes
Apache License 2.0
660 stars 70 forks source link

Take into account that the ClusterIP can be "None" #114

Closed lion7 closed 1 year ago

lion7 commented 1 year ago

Some services in Kubernetes can have a ClusterIP with the string "None", indicating that it is a virtual service. For more details, see https://kubernetes.io/docs/concepts/services-networking/service/#headless-services.

This PR ensures that Caddy does not set "None" as the hostname inside the Ingress LB status.