Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow custom actions to delete resources. #14379

Closed
crenshaw-dev opened this issue Jul 6, 2023 · 1 comment · Fixed by #18124
Closed

Allow custom actions to delete resources. #14379

crenshaw-dev opened this issue Jul 6, 2023 · 1 comment · Fixed by #18124
Labels
enhancement New feature or request

Comments

@crenshaw-dev
Copy link
Collaborator

Summary

Actions can currently either update or create resources. We should add the ability to delete resources.

Motivation

This would let an Argo CD admin create an action to delete an individual Pod without granting the ability to delete other resources or theApplication itself.

Proposal

Similar to how update and create are implemented.

The code should verify that the resource is part of the app which it's to be deleted from.

We should also add code to remove or grey out the standard Delete option when a user does not have RBAC access to delete.

@crenshaw-dev crenshaw-dev added the enhancement New feature or request label Jul 6, 2023
@crenshaw-dev
Copy link
Collaborator Author

Would serve as a workaround for this: #3593

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant