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
// Maintain a cache of namespaces that have been verified to already exist.
776
776
// Nb. This prevents us from making repetitive (and expensive) calls in listing all namespaces to ensure a namespace exists before creating a resource.
777
-
ensuredNamespaces:=sets.New[string]()
777
+
existingNamespaces:=sets.New[string]()
778
778
for_, nodeToCreate:=rangegroup {
779
779
// Creates the Kubernetes object corresponding to the nodeToCreate.
780
780
// Nb. The operation is wrapped in a retry loop to make move more resilient to unexpected conditions.
// createTargetObject creates the Kubernetes object in the target Management cluster corresponding to the object graph node, taking care of restoring the OwnerReference with the owner nodes, if any.
0 commit comments