mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue Adding more e2e tests for federated namespace cascading deletion and fixing bugs Ref https://github.com/kubernetes/kubernetes/issues/33612 Adding more e2e tests for testing cascading deletion of federated namespace. New tests are now verifying that cascading deletion happen when DeletionOptions.OrphanDependents=false and it does not happen when DeleteOptions.OrphanDependents=true. Also updated deletion helper to always add OrphanFinalizer. generic registry will remove it if DeleteOptions.OrphanDependents=false. Also updated namespace registry to do the same. We need to add the orphan finalizer to keep the orphan by default behavior. We assume that its dependents are going to be orphaned and hence add that finalizer. If user does not want the orphan behavior, he can do so using DeleteOptions and then the registry will remove that finalizer. cc @kubernetes/sig-cluster-federation @caesarxuchao @derekwaynecarr |
||
---|---|---|
.. | ||
federation-apiserver | ||
federation-controller-manager | ||
genfeddocs | ||
kubefed |