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

[RFC] kube play $URL #14955

Closed
vrothberg opened this issue Jul 18, 2022 · 5 comments · Fixed by #15426
Closed

[RFC] kube play $URL #14955

vrothberg opened this issue Jul 18, 2022 · 5 comments · Fixed by #15426
Assignees
Labels
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

@vrothberg
Copy link
Member

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)

/kind feature

Description

Similar to kubectl apply I want podman kube play to read the K8s yaml from a URL, for instance, podman kube play https://k8s.io/examples/application/guestbook/redis-leader-deployment.yaml.

@rhatdan @umohnani8 WDYT?

@openshift-ci openshift-ci bot added the kind/feature Categorizes issue or PR as related to a new feature. label Jul 18, 2022
@rhatdan
Copy link
Member

rhatdan commented Jul 18, 2022

Makes sense to me, as long as we tell users
podman kube down https://k8s.io/examples/application/guestbook/redis-leader-deployment.yaml
Will only work if the yaml file has not changed from the one that was used for podman kube play.

@Luap99
Copy link
Member

Luap99 commented Jul 18, 2022

Sounds like a useful feature but it is important to mention that this is basically the same as bash <(curl -s $URL) from a security point of view. Just like pulling images you should only use this if you can trust the remote server.

@vrothberg
Copy link
Member Author

@nicrowe00, feel free to tackle it if you are interested and find time.

@nicrowe00
Copy link
Collaborator

@vrothberg Sure, I'll take a look.

@vrothberg
Copy link
Member Author

Awesome, thanks! I suggest having a look at the podman import code which is already capable of downloading a file.

@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 18, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
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
Development

Successfully merging a pull request may close this issue.

4 participants