Skip to content

[backport v2.13] DownstreamResources don't work for the local cluster #4575

@rancherbot

Description

@rancherbot

This is a backport issue for #4559, automatically created via GitHub Actions workflow initiated by @0xavi0

Original issue body:

There is a problem when copying Downstream Resources into the local cluster, because DeepCopy() is being used, which also copies the metadata (including the UID).

When calling CreateOrUpdate, the function does not return any error, but internally Kubernetes is not performing the copy because a resource with the same ID already exists.

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions