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) #1604

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

akshaysngupta
Copy link
Member

@akshaysngupta akshaysngupta commented Apr 4, 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

* 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 akshaysngupta merged commit 3f62f1a into release/1.7 Apr 4, 2024
2 checks passed
@akshaysngupta akshaysngupta deleted the aksgupta/cp branch April 4, 2024 17:49
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.

2 participants