Skip to content

ClusterResources::delete_orphaned_resources also deletes objects that are not owned directly by it #861

Closed
@nightkr

Description

@nightkr

For example:

  • user creates kafka stacklet
  • kafka-op creates kafka listener (which is managed by kafka-op)
  • list-op creates kafka listener service (which is managed by list-op), but propagates labels from the listener
  • kafka-op sees its ownership labels on the listener service and tries to delete it, starting a tug of war with list-op
  • list-op sees that the service was deleted, recreates it
  • rinse, repeat, ad infinitum

Arguably, this is actually two separate bugs that should both be resolved separately:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions