Skip to content

Clean the existing status ancestors after target selector change #6175

@zhaohuabing

Description

@zhaohuabing

We still have another issue: if the selector changes and no targets are selected anymore, the existing status can't be deleted. This is because the current translator ignores the xPolicy without targets and won't update their statuses. This will be addressed in a separate PR.

Originally posted by @zhaohuabing in #6153 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions