-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
skaffold debug command cause panic: reflect.Value.Interface #7225
Comments
@beastpu Can you please point us to your skaffold file or a small reproduction case? |
/cc @aaron-prindle I see a bunch of TODO regarding errors Vs panic. Maybe this issue is exercising that code. |
skaffold.yaml
skaffold debug -p debug I commented the profile code
run
|
Got the same error. also for me, after commenting out the profiles section, it works fine. |
I was able to reproduce this building off of skaffold/example/templated-fields and adding a profile and then running: The only change I made was to modify the skaffold.yaml there to look like the following:
When I attempted the simple fix of removing the logic that is currently panicking (the if statement with full logs for panic log snippet
This panic is less obvious to me what might be happening, I don't think it is related to |
@aaron-prindle If I cherry-pick your change in #7276 on HEAD, I'm able to launch |
Thanks @briandealwis for the investigation. I have confirmed I also see this is fixed using my changes from HEAD. We will merge #7276 once tests pass and this should be resolved |
Information
Steps to reproduce the behavior
skaffold debug command causes panic when deploy helm charts. if i use skaffold with
v1.35
version it works well. I tested other commands like skaffold deploy, and no errors were reported.The text was updated successfully, but these errors were encountered: