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

remove_kubernetes_pods does not accept a yaml specifying the resources to delete #168

Open
krucod3 opened this issue Sep 12, 2023 · 0 comments
Labels
C-bug Category: issue or a bug

Comments

@krucod3
Copy link

krucod3 commented Sep 12, 2023

Podman play kube requires a yaml file specifying the resources to create (or delete when called with --down).

The delete method supported by podman-api remove_kubernetes_pods does not accept a yaml specifying what to delete.
This is probably caused by the misleading documentation of the Podman REST API: containers/podman#19945

Additionally the remove_kubernetes_pods name is misleading (also in the Podman documentation) as it removes also other resources and not only pods. remove_kubernetes_yaml would probably fit better.

  • Crate version: 0.10.0
  • OS:
  • Output of running podman version on the command line:
Client:       Podman Engine
Version:      4.5.0
API Version:  4.5.0
Go Version:   go1.20.4
Git Commit:   75e3c12579d391b81d871fd1cded6cf0d043550a-dirty
Built:        Sun May 14 22:11:42 2023
OS/Arch:      linux/amd64
@krucod3 krucod3 added the C-bug Category: issue or a bug label Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: issue or a bug
Projects
None yet
Development

No branches or pull requests

1 participant