-
Notifications
You must be signed in to change notification settings - Fork 734
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
Cannot delete gateways and hosts from VirtualService generated by Canary when enable Canary delegation #1464
Comments
I had the same issue when you have an existing virtual service that contains gateway and hostname information, applying a new virtual service change for delegation by flagger; it did not clean up gateway and hostname value. |
if Lines 296 to 300 in 9a0c6e7
Line 333 in 9a0c6e7
[MEMO] Code of the relevant part Lines 325 to 364 in 9a0c6e7
|
Describe the bug
Delegation was enabled for applications that have Flagger deployed.
The delegation is now enabled, but I think the VirtualService created by Canary is displayed incorrectly.
When enabling the delegation for Canary, which has already been created, I also deleted the gateways and hosts.
The gateways and hosts of Canary were deleted, but the gateways and hosts of the VirtualService created by Canary remain on the surface.
Flagger log(only this)
To Reproduce
When I check annotations, they appear to have been deleted.
Workaround?
I found that deleting Gateways and hosts from the VirtualService created by Canary.
Delete
spec.service.retries
from canary, Gateways and hosts are deleted from the VirtualService.Expected behavior
Delete Gateways and Hosts from the VirtualService created by Canary.
Additional context
The text was updated successfully, but these errors were encountered: