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
When trying to call pkl's read() function on a file, moon errors (even with a working pkl eval:
Error: config::pkl::failed
× Failed to evaluate Pkl file ~/.../moon.pkl.
╰─▶ –– Pkl Error ––
Refusing to read resource `file:Chart.yaml` because it does not match any entry in the resource allowlist (`--allowed-resources`).
156 | c = read("file:Chart.yaml")
Steps to reproduce
In a moon.pkl file, add a read call to a nearby file then attempt a moon cli command.
Expected behavior
The file to be read in via pkl (for parsing and further work like generating tasks based on another file)
Additional context
From an attempt at debugging, it seems like rpkl may require a custom PklResourceReader for the file: scheme to be used with the EvaluatorOptions but I'm not entirely sure
The text was updated successfully, but these errors were encountered:
Describe the bug
When trying to call pkl's
read()
function on a file, moon errors (even with a workingpkl eval
:Steps to reproduce
In a
moon.pkl
file, add a read call to a nearby file then attempt a moon cli command.Expected behavior
The file to be read in via pkl (for parsing and further work like generating tasks based on another file)
Additional context
From an attempt at debugging, it seems like rpkl may require a custom PklResourceReader for the
file:
scheme to be used with theEvaluatorOptions
but I'm not entirely sureThe text was updated successfully, but these errors were encountered: