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

Add force, noprune option to PurgeImages GQL API #3988

Open
jopemachine opened this issue Mar 13, 2025 · 0 comments · May be fixed by #3987
Open

Add force, noprune option to PurgeImages GQL API #3988

jopemachine opened this issue Mar 13, 2025 · 0 comments · May be fixed by #3987

Comments

@jopemachine
Copy link
Member

jopemachine commented Mar 13, 2025

Motivation  

When the administrator runs "purge images," there may be cases where certain options need to be used.

Required Features

The purge images CLI command and GQL arguments will include the force and noprune options.

Impact  

The administrator will be able to modify these options when running the purge images command.

Testing Scenarios  

For example, when calling purge images on an image that is currently in use, an error occurs because the default value of the force option is False, preventing the image from being deleted.

Check that when the force option is set to True, the error does not occur and the in-use image is deleted immediately.

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

Successfully merging a pull request may close this issue.

1 participant