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
feat: add "deploy to kubernetes" button for compose group #3295
Conversation
I've checked with a docker engine, then as generateKub is not possible there is a silent error so like for containers if engine is not of type 'podman' we should not add this action l3G3O57LKK.mp4 |
You're right. I had forgotten to hide that action if Docker is detected, it should only show for Podman similar to the current container / pod actions. Updated the PR, it will appear hidden now for Docker! |
6c58082
to
d90df20
Compare
PR has been rebased and ready for review 💯 |
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.
tested and works fine
IdzyA2RqiR.mp4
### What does this PR do? * Adds button to Deploy to Kubernetes for a Compose group * Utilizes DeployPodToKube same code, but added a "compose" type * Adds a new function for listSimpleContainersByLabel for an easier way to find containers by label that you only need the name / id of. ### Screenshot/screencast of this PR <!-- Please include a screenshot or a screencast explaining what is doing this PR --> ### What issues does this PR fix or reference? <!-- Please include any related issue from Podman Desktop repository (or from another issue tracker). --> Closes containers#3104 ### How to test this PR? 1. Deploy a Docker Compose example 2. Click on the "hamburger" button to bring up the Deploy To Kubernetes button. 3. Deploy to Kubernetes and make sure it's deployed correctly. <!-- Please explain steps to reproduce --> Signed-off-by: Charlie Drage <charlie@charliedrage.com>
Signed-off-by: Charlie Drage <charlie@charliedrage.com>
feat: add "deploy to kubernetes" button for compose group
What does this PR do?
to find containers by label that you only need the name / id of.
Screenshot/screencast of this PR
Screen.Recording.2023-07-20.at.2.11.58.PM.mov
What issues does this PR fix or reference?
Closes #3104
How to test this PR?
button.
Signed-off-by: Charlie Drage charlie@charliedrage.com