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

ktunnel inject fails #115

Open
artemsalimov opened this issue Jul 11, 2023 · 1 comment
Open

ktunnel inject fails #115

artemsalimov opened this issue Jul 11, 2023 · 1 comment

Comments

@artemsalimov
Copy link

ktunnel inject deployment singlespace-deployment -n sa-dev 8080
INFO[0000] Injecting tunnel sidecar to sa-dev/singlespace-deployment
WARN[0001] docker.io/omrieival/ktunnel:v1.5.3 already injected to the deplyoment
INFO[0001] ProgressDeadlineInSeconds is currently 600s. It may take this long to detect a deployment failure.
INFO[0001] Waiting for deployment to be ready
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x2023b53]

goroutine 9 [running]:
github.com/omrikiei/ktunnel/pkg/k8s.deploymentStatus(0xc00019cf00)
/home/runner/work/ktunnel/ktunnel/pkg/k8s/common.go:404 +0x693
github.com/omrikiei/ktunnel/pkg/k8s.watchForReady.func1()
/home/runner/work/ktunnel/ktunnel/pkg/k8s/common.go:377 +0x385
created by github.com/omrikiei/ktunnel/pkg/k8s.watchForReady
/home/runner/work/ktunnel/ktunnel/pkg/k8s/common.go:331 +0x72

What is wrong

@omrikiei
Copy link
Owner

looks like there's an ungraceful error handling, was there already an injected sidecar of ktunnel to this deployment? is expose a viable alternative?

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

No branches or pull requests

2 participants