Skip to content

Allowing the option to delete Statefulset/Deployment resources with "--cascade=false" #5368

@bruce-y

Description

@bruce-y

Summary

Add the option to set deletion of certain resources with the "--cascade=false" option.

Motivation

We are currently trying to delete our deployment objects without the pods also getting deleted via ArgoCD. This doesn't seem like it's currently possible. This might be useful in cases where a deployment/statefulset is moved from one Application to another or updating the deployment/statefulset object's immutable fields without having to worry about downtime.

Proposal

In addition to force deletes in the dialog box for deleting resources, we can also expose the cascade option as well.

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