ingress-nginx-helm/internal
Emily L Shepherd 3c86f838d4
Sync Hostname and IP address from service to ingress status (#7464)
* Change statusSync.runningAddresses() return type

Previously, this method returning a string slice containing the resolved
IP addresses / FQDNs to sync onto the Ingress. It was then converted
just before use into a slice of LoadBalancerIngresses.

This commit changes this logic so that this method generates
LoadBalancerIngress objects directly, and returns these. This has two
main benefits:
- Future work in syncing _both_ hostname and IP, or any other fields
  that may be used in future (eg Ports), is now supported.
- There is less need to rely on net.ParseIP() to determine if a value is
  an IP address or Hostname, as this can be correctly assigned at
  generation time based on where each value came from.

* Sync both IP and Hostname to Ingress Status

Previously, if the IP address was set on a PublishService's
LoadBalancerIngress entries, only that would be synced. Hostname was
only synced as a fallback when the IP address was missing.

Now, both fields are checked independantly and both are synced if
present.
2021-09-07 10:41:16 -07:00
..
admission/controller Release v1 (#7470) 2021-08-21 13:42:00 -07:00
file Update go version, modules and remove ioutil 2021-08-06 14:15:21 -03:00
ingress Sync Hostname and IP address from service to ingress status (#7464) 2021-09-07 10:41:16 -07:00
k8s Update ingress to go 1.17 (#7521) 2021-08-23 14:25:25 -07:00
net use listen to ensure the port is free (#6990) (#7467) 2021-08-09 05:31:31 -07:00
nginx fix: discover mounted geoip db files (#7228) 2021-08-10 11:24:39 -07:00
runtime Update ingress to go 1.17 (#7521) 2021-08-23 14:25:25 -07:00
sets Refactor isIterable 2019-04-08 10:11:44 -04:00
task remove timestamp when requeuing Element (#7440) 2021-09-06 10:12:28 -07:00
watch Update go version, modules and remove ioutil 2021-08-06 14:15:21 -03:00