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
@none0nfg Hey! I build vals because I wanted a way to inject secrets into a yaml file without templating. So, I won't add support for templating.
However, a way to parse a string to an object would be a good addition to vals!
Maybe it could be a per-ref-url option, something like &as=object or more generic &fn=parse_json.
Is it possible to parse JSON secrets from vault, and use JSON as an object in values files?
Now vals can parse json, but only 1 key (can't parse whole json secret), also parsed json pastes as a string.
Examples
That is vault's secret data
Here is values.yaml
It will work. And the tag value would be like
map[myData:[qwerty]]
of the type String.But it would be great to have an opportunity to process that data in templates.
Or maybe there is a way to parse a string to an object ?
The text was updated successfully, but these errors were encountered: