k8s
k8s copied to clipboard
k8s-libsonnet: Text block's first line must start with whitespace
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!
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?
Didn't get a response, closing.