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

wait-for waits the full timeout with nonexistent or nonvalid kubeconfig #2413

Open
michaelabix opened this issue Apr 2, 2024 · 1 comment
Labels
bug 🐞 Something isn't working

Comments

@michaelabix
Copy link

Environment

Device and OS: macOS 14.4
App version: v0.32.4
Kubernetes distro being used: none
Other:

Steps to reproduce

  1. Set Kubeconfig to a nonexistent file or a nonvalid kubeconfig file
  2. Run zarf tools wait-for app=test ready -n default

Expected result

Quick return with some error about an nonvalid kubeconfig

Actual Result

Waits the full timeout (default 5 minutes)

Visual Proof (screenshots, videos, text, etc)

nonexistent kubeconfig contrasting kubectl wait vs zarf tools wait-for:
nonexistent kubeconfig
nonvalid kubeconfig contrasting kubectl wait vs zarf tools wait-for:
invalid kubeconfig

@lucasrod16 lucasrod16 added bug 🐞 Something isn't working and removed possible-bug 🐛 labels Apr 9, 2024
@phillebaba
Copy link
Collaborator

This could be fixed if we chose to go forward with #2497

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working
Projects
Status: No status
Status: New
Development

No branches or pull requests

3 participants