mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-08-16 04:06:06 +00:00
* Fix ResourceDeletionStatusTracker key Kind mismatch in terminating-namespace wait (#9987) EnsureNamespaceExistsAndIsReady wrote the tracker key with namespace.Kind (getNamespace() sets Kind=Namespace) but read it with clusterNS.Kind (client.Get strips TypeMeta -> Kind=empty). The keys never matched, so the skip-path never fired and every item in a terminating namespace paid the full --terminating-resource-timeout wait (per-resource instead of per-namespace). Use the passed-in namespace object for Contains so Add/Contains keys match. Add a regression test that reproduces the production Kind divergence. Signed-off-by: Shashank1306s <shashasingh@microsoft.com> Co-authored-by: Shashank1306s <shashasingh@microsoft.com> Co-authored-by: Priyansh Choudhary <im1706@gmail.com> (cherry picked from commitde32d93b8e) * Rename changelog to match backport PR number 10163 hack/changelog-check.sh requires changelogs/unreleased/<current PR number>-*, so the backport needs the backport PR's number rather than the original PR's (#9987). Signed-off-by: Shashank1306s <shashasingh@microsoft.com> * Pin e2e third-party clones to reviewed commits Pin bitnami/containers and distributed-data-generator to fixed SHAs instead of building default-branch HEAD, and add a minimal permissions block. Signed-off-by: chlins <chlins.zhang@gmail.com> (cherry picked from commit02fe822860) * bump the setup kind action update kind setup action to helm/kind-action@v1 and use FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true to suppress warning. Also set cluster_name: "kind" (helm/kind-action defaults to "chart-testing"), matching the follow-up made on main. Signed-off-by: Adam Zhang <adam.zhang@broadcom.com> (cherry picked from commit7627223d0f) --------- Signed-off-by: Shashank1306s <shashasingh@microsoft.com> Signed-off-by: chlins <chlins.zhang@gmail.com> Signed-off-by: Adam Zhang <adam.zhang@broadcom.com> Co-authored-by: Shashank1306s <shashasingh@microsoft.com> Co-authored-by: Priyansh Choudhary <im1706@gmail.com> Co-authored-by: chlins <chlins.zhang@gmail.com> Co-authored-by: Adam Zhang <adam.zhang@broadcom.com>