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 ingress update to an existing backend #847

Merged
merged 1 commit into from
Aug 30, 2021
Merged

Conversation

jcmoraisjr
Copy link
Owner

Resource tracking is used to identify resources that should be parsed due to a configuration change. Resources directly or indirectly related with what was changed is removed and recreated to ensure that old behavior doesn't survive in the new state. A new ingress is already tracked to ensure that the referenced hosts and backends are removed, but this wasn't happening with existent ingress that reference a new backend that was already referenced elsewhere - such hosts and backends was being properly tracked for future updates, but would be missing some new configurations provided by the ingress that started to reference them.

Resource tracking is used to identify resources that should be parsed
due to a configuration change. Resources directly or indirectly related
with what was changed is removed and recreated to ensure that old
behavior doesn't survive in the new state. A new ingress is already
tracked to ensure that the referenced hosts and backends are removed,
but this wasn't happening with existent ingress that reference a new
backend that was already referenced elsewhere - such hosts and backends
was being properly tracked for future updates, but would be missing
some new configurations provided by the ingress that started to
reference them.
@jcmoraisjr jcmoraisjr merged commit 58eac35 into master Aug 30, 2021
@jcmoraisjr jcmoraisjr deleted the jm-fix-ing-update branch August 30, 2021 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant