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

Fix tracking and partial parsing of spec.backend #653

Merged
merged 2 commits into from
Aug 31, 2020
Merged

Conversation

jcmoraisjr
Copy link
Owner

Most of the tracking stuff was missing on Ingress.Spec.Backend, resulting in an inconsistent state and sometimes a broken config. Hosts.defaultHost pointer was also removed, now the default * host is part of the Hosts.items map and inherits all the Hosts' partial parsing implementation, eg RemoveAll, ItemsAdd and Shrink.

Most of the tracking stuff was missing on Ingress.Spec.Backend, resulting in an inconsistent state and sometimes a broken config. Hosts.defaultHost pointer was also removed, now the default `*` host is part of the Hosts.items map and inherits all the Hosts' partial parsing implementation, eg RemoveAll, ItemsAdd and Shrink.
Use a string const instead of a magic string literal to represent the internal identifier of the default host. The const value is also used to log changing hostnames.
@jcmoraisjr jcmoraisjr merged commit 9830c26 into master Aug 31, 2020
@jcmoraisjr jcmoraisjr deleted the jm-sync-default branch August 31, 2020 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant