-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mount key values from json/yaml secret files #169
Comments
Sorry for delay response. I'm not sure I understand your example yaml there. The Considering a secret in secret manager with the contents:
You're looking to have the result of the If so I think we'd want to make the format a bit more like:
This would leave open the possibility of different types of extraction methods depending on the format of the secret (i.e. xml values, yaml secret, etc) and match the current semantics of A downside with this may be that to extract/map multiple keys from a secret to separate files would involve a lot of repetition.
Maybe something with:
where the top level Am I understanding this request correctly? |
Thinking about it now, I believe we had some talk in the community call a few weeks ago about splitting out the cc @manedurphy |
Upvote!! UPDATE: |
Hi, is there any way now where I can directly mount key values from a json/yaml file as individual objects? I guess this will be helpful when mounting values to k8s secrets.
The options that I have right now are
I was wondering if there was any straightforward way to do this.
In other providers(aws) I've seen them use jmespath to get values from json files, can we do something similar.
I guess we can extend this for tls certificates and other usecases too.
Also, I'd be happy to contribute to this.
Thanks.
The text was updated successfully, but these errors were encountered: