Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Mar 15, 2023

Conversation

lion7
Copy link
Contributor

@lion7 lion7 commented Dec 19, 2022

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.

Copy link
Member

@Embraser01 Embraser01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure in which case you would have the caddy ingress controller on a service without any load balancer/svc access but your changes doesn't break anything

@Embraser01 Embraser01 merged commit 3b5306d into caddyserver:master Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants