-
Notifications
You must be signed in to change notification settings - Fork 164
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
std.thisFile returning empty string #623
Comments
Did you try it with plain jsonnet? |
Right (doh), I just did and it seems I only get blank strings when using tanka (I'm currently using latest release v0.18.1) Using the attached launcher.jsonnet I ran:
Which yielded respectively:
and:
|
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apologies if this issue is best served in the upstream jsonnet repo.
I believe I'm hitting a bug where
std.thisFile
is returning an empty string, I can't intantiate helm correctly due to this behavior.the following snippet:
is producing:
Any idea why this might occur and if it's related to tanka?
The rest of my snippet for reference
launcher.jsonnet.txt
Actually trying to use the instantiated helm to template results in an error code:
Error: evaluating jsonnet: RUNTIME ERROR: helmTemplate: 'opts.calledFrom' is unset or empty.
I'm currently working around this by manually writing the filepath to the current file, it works flawlessly.
The text was updated successfully, but these errors were encountered: