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

"podman play kube" pipe input #8996

Closed
ADIX7 opened this issue Jan 17, 2021 · 3 comments · Fixed by #9420
Closed

"podman play kube" pipe input #8996

ADIX7 opened this issue Jan 17, 2021 · 3 comments · Fixed by #9420
Labels
Good First Issue This issue would be a good issue for a first time contributor to undertake. kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@ADIX7
Copy link

ADIX7 commented Jan 17, 2021

/kind feature

It would be great if podman play kube could use input from pipe. I try to use kustomize with podman and would like to do something like kustomize build my-overlay | podman play kube.

@openshift-ci-robot openshift-ci-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Jan 17, 2021
@rhatdan
Copy link
Member

rhatdan commented Jan 18, 2021

Seams reasonable, interested in opening a PR?

kustomize build my-overlay | podman play kube -

Would be potential syntax.

Then have podman play kube use the - to read from stdin, create a temporary file and go to down.

@rhatdan rhatdan added the Good First Issue This issue would be a good issue for a first time contributor to undertake. label Jan 18, 2021
@ADIX7
Copy link
Author

ADIX7 commented Jan 18, 2021

Unfortunately I'm a not a GO developer, I use mostly C# and JS. Nevertheless, I will try it.

ADIX7 added a commit to ADIX7/podman that referenced this issue Jan 23, 2021
Closes containers#8996

Similar to `cat pod.json | kubectl apply -f -` this commit adds support
for input from shell pipe (ex `cat pod.json | podman play kube -`).
To use input form pipe one may use '-' as file name, the same way as
`kubectl apply -f -`

Signed-off-by: Ádám Kovács <[email protected]>
@github-actions
Copy link

A friendly reminder that this issue had no activity for 30 days.

rhatdan added a commit to rhatdan/podman that referenced this issue Feb 19, 2021
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 22, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Good First Issue This issue would be a good issue for a first time contributor to undertake. kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
3 participants