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

k8s-libsonnet: Text block's first line must start with whitespace #308

Open
JaquelineP opened this issue Apr 24, 2023 · 1 comment
Open

Comments

@JaquelineP
Copy link

Hi,

I'll try to run the k8s-libsonnet sample from the documentation: https://jsonnet-libs.github.io/k8s-libsonnet/
When executing `tk show environments/qa' to render the yaml which will be applied, the following error occurs:

$ tk show environments/qa/
Error: evaluating jsonnet: RUNTIME ERROR: C:\DEV\projects\eip-1427\vendor\github.com\jsonnet-libs\k8s-libsonnet\1.26\_custom\core.libsonnet:42:29 Text block's first line must start with whitespace
        C:\DEV\projects\eip-1427\vendor\github.com\jsonnet-libs\k8s-libsonnet\1.26\main.libsonnet:1:145-176     $
        C:\DEV\projects\eip-1427\environments\qa\main.jsonnet:2:14-80   object <anonymous>
        C:\DEV\projects\eip-1427\environments\qa\main.jsonnet:3:8-9
        Field "foo"
        During manifestation

Any help is appreciated!

@Duologic
Copy link
Member

Duologic commented Apr 28, 2023

Looks like the rendered docsonnet docstrings are not 100% correct, but I don't see how you reach this part of the code, can you share a minimally reproducible example so we can test and eventually fix this issue?

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

No branches or pull requests

3 participants