Skip to content

RemoveControllerReference in controllerutil bug.  #2594

@troy0820

Description

@troy0820

In pull request #2509 when using the RemoveControllerReference the function checks if ann owner exists but only removes the owner passed in which may not be the owner reference with controlled = true.

Update the function to ensure that the owner is in fact the controller reference to be removed.

/kind bug
/assign @troy0820

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions