helm-ssm icon indicating copy to clipboard operation
helm-ssm copied to clipboard

There is no support for nested values

Open tnimni opened this issue 5 years ago • 1 comments

Hi,

I have something like this because I'm using sub charts

global: db: service_1: {{ssm /path/to/secret1 region}}

the secret is resolved, however, the --set command is not able to interpret it, since it should be --set global.db.service_1 and not as a yaml

I noticed ansible templating just overwrite the file with the values retrieved for the duration of the job, it is a good security idea to delete the workspace after

would you consider to implement such a change?

I can open a pull request with this change if you feel it's a good idea

tnimni avatar Apr 04 '19 09:04 tnimni

I'm not sure i understand... Do you set the value using a --set flag or through a values file? The script itself is pretty basic, it doesnt coalesce the values like i understand ansible does. If you can, i would be happy to consider the pr :)

amitlt avatar Apr 21 '19 10:04 amitlt