Escaping a regex in jsonnet
i am trying to get a literal regex ”^sl1.([a-z0-9_-]+).([a-z0-9_-]+).(data)+$” 1:1 from jsonnet to the kubernetes-manifest.
How to return a local object from a function in jsonnet?
I am working with jsonnet for the first time today.
My IDE is Visual Studio Code 1.91.1, and I have the extension Jsonnet Language Server v0.6.1 from Grafana installed.
How to apply jsonnet’s local-var rule?
Please help me understand the local-var rule from jsonnet’s specification:
How can I nest Jsonnet object comprehensions and run the inner loop a different number of times?
I’m trying to figure out how to nest/chain an object comprehension to do something other than a ‘full product’ and have the inner loop iterate a different amount, but can’t figure it out.