I am deploying Helm charts through Jenkins. We store all our credentials in Vault. When we were running the helm command manually, we were first running this command to pull our values from vault and store them in a yaml file on our local:
dockcmd vault get-secrets --vault-addr https://vault --set TargetEnv=prod --input-file secret-values.yaml
The command comes from: https://github.com/boxboat/dockcmd
For obvious reason, this is not secure. When I do this in Jenkins, it stores the file in the workspace. What would be the best way to pull values from Vault and deploy them in a Helm Chart? I am looking at using a different command that doesn't generate the file but inject values in kubenertes