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

fix(kubectl): Allow port-forwarding if there is nothing to deploy #9497

Closed
wants to merge 2 commits into from

Conversation

idsulik
Copy link
Contributor

@idsulik idsulik commented Aug 14, 2024

Fixes: #9496

Description
If there is nothing to deploy, we can use skaffold for port-forwarding so there is no need to return error if there is nothing to deploy

Signed-off-by: Suleiman Dibirov <[email protected]>
Copy link

@johannespfrang johannespfrang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WFM.

@menahyouyeah
Copy link
Contributor

This would unfortunately for the majority of users mean that they may not realize their configs are misconfigured and they aren't actually deploying anything. I would suggest 2 options instead 1) a shell script to run kubectl for port forwarding or 2) setting up a separate command in Skaffold that would only set up port forwarding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

skaffold.yaml with only portForward errors out with "nothing to deploy"
3 participants