You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a routing table is tagged as kubernetes.io/cluster/<cluster name>: shared, kops should ignore it when deleting the cluster. Currently if you tag all subnets and NAT gateways as shared this way it ignores the route tables associated with them but still attempts to delete the single route table with the name that matches the cluster no matter how it's tagged.
The text was updated successfully, but these errors were encountered:
Automatic merge from submit-queue.
Respect the shared tag when deleting route tables
Fixes#3828.
Modifies the `buildTrackerForRouteTable` function (used by `ListRouteTables`) to set the `Shared` field of each returned route table resource, based on the presence of the `kubernetes.io/cluster/<clustername>: shared` tag. This prevents route tables with this tag from being deleted.
WIP while I add some more tests.
Kops verison:
1.8.0-beta.1
K8s version:
1.7.x - 1.8.x
If a routing table is tagged as
kubernetes.io/cluster/<cluster name>: shared
, kops should ignore it when deleting the cluster. Currently if you tag all subnets and NAT gateways as shared this way it ignores the route tables associated with them but still attempts to delete the single route table with the name that matches the cluster no matter how it's tagged.The text was updated successfully, but these errors were encountered: