-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Respect the shared tag when deleting route tables #3887
Respect the shared tag when deleting route tables #3887
Conversation
/ok-to-test |
I've tested with a few different scenarios (shared VPC, public/private topologies) and the route table no longer gets deleted when the shared tag is present, so hopefully this is good to go. |
/lgtm Awesome work @georgebuckerfield - and with tests as well :-) |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: justinsb The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/test all [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue. |
Is this going to be released only with 1.8? Currently using 1.7.1 and having this issue. |
Fixes #3828.
Modifies the
buildTrackerForRouteTable
function (used byListRouteTables
) to set theShared
field of each returned route table resource, based on the presence of thekubernetes.io/cluster/<clustername>: shared
tag. This prevents route tables with this tag from being deleted.WIP while I add some more tests.