Skip to content

Ignore Owner References #11972

@spjmurray

Description

@spjmurray

Summary

Provide a way to ignore owner references, and force ArgoCD to delete things.

Motivation

Related to kubernetes-sigs/cluster-api#7913. What we are seeing here is cluster-api adding its own owner references to resources managed by Argo. When it comes to deletion, it's not generated by the Helm template any more, but Argo thinks it's an implicitly created by cluster-api because of the owner references CAPI has added. Basically I cannot delete things unless I do it manually.

Proposal

One idea to handle naughty apps is to have Argo spot the tracking ID, and the fact there is no requested resource any more, and just ignore owners, it created it and has all the power here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions