-
Notifications
You must be signed in to change notification settings - Fork 39k
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
'kubectl delete istag/$ISTAG --dry-run=server' is unexpectedly deleting the object from the server #125623
Comments
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/sig cli api-machinery |
I think that there is nothing can be done in kubernetes. /close |
@ardaguclu: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Hello @ardaguclu , Could you please help me to understand the exact working of
As it says that using |
What happened?
'kubectl delete istag/$ISTAG --dry-run=server' is unexpectedly deleting the object from the server this is not expected behavior.
istag
resource object by using thedry-run=server
option. However, the object(image) was actually deleted from the server.dry-run=server
parameter to other resources, they remained intact and were not deleted.What did you expect to happen?
After deleting the
istag
using the--dry-run=server
option with the server strategy, theistag
object should still remain on the server.How can we reproduce it (as minimally and precisely as possible)?
Try deleting the
istag
resource using the--dry-run=server
option with the server strategy.Steps to Reproduce:
istage
object using the--dry-run
option withclient
strategyclient
strategy is actually removed or notistage
object using the--dry-run
option withserver
strategyserver
strategy is actually removed or notsecret
using the--dry-run
option withclient
strategyclient
strategy is actually removed or notsecret
using the--dry-run
option withserver
strategyserver
strategy is actually removed or notAnything else we need to know?
No response
Kubernetes version
Cloud provider
OS version
Install tools
Container runtime (CRI) and version (if applicable)
Related plugins (CNI, CSI, ...) and versions (if applicable)
The text was updated successfully, but these errors were encountered: