question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Random Helm Output messages

See original GitHub issue

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:

Unexpected characters ().

image

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
thernstigcommented, Apr 26, 2021

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 values.yaml file open. The output is the same as in the original post: Unexpected characters (). (seen in the Output for Helm). The annoying part is that this error actually opens the Output panel automatically, so I have to manually close it every time.

0reactions
Yann-Jcommented, Oct 27, 2022

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:

values.yaml snippet:

configOverrides:
  {}
  # extend_timeout: |
  #    # Extend timeout to allow long running queries.

  #    SUPERSET_WEBSERVER_TIMEOUT = ...
  # enable_oauth: |
...

Was causing this error:

Unexpected characters near "
# extend_timeout: |

# enable_oauth: |
# secret: |".

Removing the empty line has removed the warning…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chart Development Tips and Tricks - Helm
Be Careful with Generating Random Values​​ There are functions in Helm that allow you to generate random data, cryptographic keys, and so on....
Read more >
13 Best Practices for using Helm - Coder Society
Helm functions are used to generate random data, such as passwords, keys, and certificates. Random generation creates new arbitrary values and ...
Read more >
Manage Auto-generated Secrets In Your Helm Charts - ITNEXT
Helm provides a list of random string generation functions that allow us to generate cryptographically secure random strings.
Read more >
k8s-helm/charts_tips_and_tricks.md at master - GitHub
There are functions in Helm that allow you to generate random data, cryptographic keys, and so on. These are fine to use. But...
Read more >
Reuse uuid in helm charts - Stack Overflow
One of its configuration options is an "Erlang cookie", also a random string that needs to be consistent across all replicas and upgrades....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found