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

Cleanup dummy defaults in pool, settings and probe when unused #1598

Merged
merged 7 commits into from
Apr 1, 2024

Conversation

akshaysngupta
Copy link
Member

@akshaysngupta akshaysngupta commented Mar 19, 2024

Checklist

  • The title of the PR is clear and informative
  • If applicable, the changes made in the PR have proper test coverage
  • Issues addressed by the PR are mentioned in the description followed by Fixes.

Description

AGIC creates dummy backend pool and backend http settings which are used referenced from request routing rule when linked service doesn't exists.

This PR cleans up these dummy resources by doing a post processing on the generated appgw config and finding the dummy resources which are not used and then removing them.

E2E Tests passing:
image

Fixes

Fixes #1466

@akshaysngupta akshaysngupta changed the title Cleanup unused defaults in pool, settings and probe Cleanup dummy defaults in pool, settings and probe when unused Mar 22, 2024
@akshaysngupta akshaysngupta merged commit 17967aa into master Apr 1, 2024
2 checks passed
@akshaysngupta akshaysngupta deleted the aksgupta/clean-unused branch April 1, 2024 18:18
akshaysngupta added a commit that referenced this pull request Apr 4, 2024
* cleanup unused defaults in pool, settings and probe

* fix test yamls

* compare with resource name instead of suffix

* resource id has resource name

* lower case
akshaysngupta added a commit that referenced this pull request Apr 4, 2024
#1604)

* cleanup unused defaults in pool, settings and probe

* fix test yamls

* compare with resource name instead of suffix

* resource id has resource name

* lower case
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.

Each time "name": "defaulthttpsetting" recreating in GW.
2 participants