Why does the Kubernetes Operator have "sprig" functionality, while the CLI doesn't?
See: Infisical/infisical#4398
and associated PR: Infisical/kubernetes-operator#12
I need a way to fetch secrets and parse them into a specific config file structure that my applications require - ideally through a single command.
If I wanted to do something like, as simple as:
❯ cat template.tpl
{{$secrets := secret "<id>" "<env>" "<path>"}}
{{- $myDict := dict "foo" "bar" "hello" "world" }}
{{- $myDict }}
❯ infisical export --template=./template.tpl
error: template: template.tpl:2: function "dict" not defined
I'm not able to. This doesn't just apply to dict but other "sprig" functions, like "split" and more.
Version:
❯ infisical --version
infisical version 0.43.49
Am I missing something here?
Why does the Kubernetes Operator have "sprig" functionality, while the CLI doesn't?
See: Infisical/infisical#4398
and associated PR: Infisical/kubernetes-operator#12
I need a way to fetch secrets and parse them into a specific config file structure that my applications require - ideally through a single command.
If I wanted to do something like, as simple as:
I'm not able to. This doesn't just apply to
dictbut other "sprig" functions, like "split" and more.Version:
Am I missing something here?