Skip to content

ConfigMapPropagation deletes all OwnerReferences when abandoning a copy #2437

@grantr

Description

@grantr

Describe the bug
When a copy ConfigMap is no longer labeled as a copy, the ConfigMapPropagation controller deletes all owner references from the ConfigMap.

Expected behavior
The ConfigMapPropagation controller deletes only the CMP owner reference from the ConfigMap.

To Reproduce
Steps to reproduce the behavior.

Knative release version
HEAD

Additional context
I expect this to be a very rare case. Hitting this seems like it would require unusual user behavior: manually adding an owner reference to a copy ConfigMap, or manually adding a copy label to an owned ConfigMap.

/cc @grac3gao

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