-
Notifications
You must be signed in to change notification settings - Fork 43
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 command to delete an existing olmv1 catalog #219
✨ Add command to delete an existing olmv1 catalog #219
Conversation
d0025b9
to
f64fc36
Compare
f64fc36
to
85a9c09
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
85a9c09
to
d30d85c
Compare
2490933
to
fde6841
Compare
Currently the command is
And I think is too long. I would love it to be as
WDYT? |
I am wondering if we should add an flag
|
Your idea to change the type to be a flag on the command makes the overall command longer. Overall I think we should continue with the syntax we agreed on and used so far. If you feel strongly about this, maybe olmv0 deprecation might be a good occasion to propose a new syntax idea? As part of olmv0 deprecation we might modify the current command 'prefix' - `operator olmv1'. Hope that's fair. |
This PR already includes |
Signed-off-by: Artur Zych <[email protected]>
fde6841
to
27efe6e
Compare
@LalatenduMohanty do you mean treating |
I did not see the --all when I am testing the CLI, my bad. Let me check again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
This adds
delete
command that enables deleting either a single or all existing catalogs (ClusterCatalog
) from the cluster.Signature:
Example walkthrough:
Additionally, does a light refactor of the old helpers, especially the
waitForDeletion
, which does not accept variable number of input objects anymore.Benefits of this are:
There is some overlap with #218 - ie. test helpers, which will be cleaned up once that has been merged- donePart of operator-framework/operator-controller#1815 ; operator-framework/operator-controller#1770