-
Notifications
You must be signed in to change notification settings - Fork 242
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
Random Helm Output messages #907
Comments
I could only find two locations where that error message can be found: Try looking at your chart name in Chart.yaml. Can you report back which version of the extension you are using? Thanks. |
Chart.yaml is generic, no issues in it that I can see or any
Kubernetes Extension: v1.3.0 |
Hmm... Thanks for the report. I don't know where this error message might be reported from but perhaps other maintainers may know more. https://github.com/Azure/vscode-kubernetes-tools/search?q=unexpected |
That message is coming via the Helm output logger (defined in |
I have seen this issue for a long time, but never reported it. It happens every time I open a repo with Helm where I have the |
I think I know why this is occurring in at least my project. The only place that I have endpoints:
- port: {{ .Values.metrics.name }}
interval: 10s
metricRelabelings:
- sourceLabels: [__name__]
regex: '(Coda_Cryptography.*|Coda_Network_get.*|Coda_Object_lifetime.*|Coda_Scan.*|Coda_Snark.*)'
action: drop EDIT: Actually I completely missed that I have other parentheses in my statefulSet under a container's args: [
"daemon",
"--peer-list-file", "$(PEERLIST_LOCATION)",
"--block-producer-key", "/keystore/my-wallet",
"--generate-genesis-proof", "true",
"--file-log-level", "$(LOG_LEVEL)",
"--metrics-port", {{ .Values.metrics.port | quote }},
"--coinbase-receiver", "$(REWARDS_ADDRESS)"
] |
@bacongobbler Would Helm emit this message under these circumstances? |
It's not an error message I'm familiar with. Usually Helm/Go errors also include some indication what file/line this error was emitted from, so I don't think it's Helm emitting the error. https://github.com/helm/helm/search?q=Unexpected+characters&type= |
@afmsavage I've found out that this was due to some incorrectly formatted YAML. For some reason the YAML parser showed squiggly lines and it was marked red in the scrollbar in VS Code. But it was Helm that gave the error we see in this thread in the Output panel. @bacongobbler is there any strange behavior here with the Helm in the Output panel showing errors due to YAML parsing, that can be avoided so it doesn't look like this extension is responsible? |
Hey just to chime in that I've been facing a similar issue... in my case this was caused by some empty lines in the middle of commented text:
Was causing this error:
Removing the empty line has removed the warning... |
In the VSCode output window, there are sometimes very vague errors from the Helm extension that pop up every time you open up a helm based project. There is no detail around these messages, and I cannot figure out how to turn them off or where the error is coming from. There is no information in
helm lint
nor in the Problems tab. Please provide more information about why these are occuring. Example:The text was updated successfully, but these errors were encountered: