Open visheyra opened 1 week ago
@visheyra
Upon checking, we found that not all Ingress Controllers populate the same way. Some populate status.ip and some status.hostname and some none.
I think a reliable way to do this would be to first rely on the status and then fall back to spec if status isn't available.
Thoughts?
Is your feature request related to a problem? Please describe. When using specific ingress controllers (like the tailscale one), the address discovered, is the one defined in the ingress and not the one set in the status. This leads to incorrect url being discovered, while reading from the status field should always grant the correct url as the ingress controller is responsible of managing that field. Kubectl (when using the command kubectl get ing -o wide) is reading address from the status field as well.
Describe the solution you'd like Discover the url from the status field instead of the host / tls field.
Describe alternatives you've considered The current alternative solution is to set the url manually
Additional context Adding screenshot from my kubectl output and my forecastle display