You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 17, 2021. It is now read-only.
kubecfg --tla-code env="(import 'env.json') + {custom: 'value'}" show test.jsonnet
I get:
ERROR Error reading test.jsonnet: RUNTIME ERROR: Could not get candidate URLs for when importing env.json (imported from <top-level-arg:env>): Invalid import dir "<top-level-arg:env>": parse "<top-level-arg:env>": first path segment in URL cannot contain colon
<top-level-arg:env>:1:2-19 $
file:///tmp/test.jsonnet:1:15-18 function <anonymous>
Top-level function
The text was updated successfully, but these errors were encountered:
irizzant
changed the title
Import with --tla-code not working
Import external file with --tla-code not working
Apr 2, 2021
irizzant
changed the title
Import external file with --tla-code not working
Import external json file with --tla-code not working
Apr 2, 2021
I have the following scenario.
Let's consider the simplest test.jsonnet file containing:
And the following env.json file:
If I invoke the following:
I get:
If I invoke the following:
I get:
The text was updated successfully, but these errors were encountered: