-
Notifications
You must be signed in to change notification settings - Fork 875
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
How can I replace left and right delimiters #348
Comments
Vault K8s doesn't allow you to configure delimiters using annotations yet. We'll be adding this feature in the future. A work around for now is to mount a custom Here's an example of mounting a custom configmap: https://www.vaultproject.io/docs/platform/k8s/injector/examples#configmap-example You can define the delimiters in the
Hope that helps! |
Is there any chance we can re-open this? The functionality wasn't actually added, so I think something to track it would be great. |
+1 |
Still no way to handle custom delimiters via agent injector without using configmaps? |
I actually use the latest version of the injector, and with the exact same config, with 2 templates in it, one with custom delimiters, and the other without custom delimiters, it's not working with the custom ones, but it's working with default ones... Did you really managed to use custom delimiters with a custom config with custom delimiters like "[[" "]]" @jasonodonnell ? EDIT: I managed to make it work with [[ and ]] in fact, but wasn't able with ${ and } as delimiters for unknown reasons |
Hello,
I have recently installed vault-helm chart in ha mode with consul backend.
I am attempting to use vault to securely inject secrets in argo workflow. My workflow has the following annotations where
"{{workflow.parameters.vault-gitcreds-secret}}" & "{{workflow.parameters.vault-auth-role}}" are go templates that argo replaces on runtime based on the workflow parameters vault-gitcreds-secret and vault-auth-role
The "{{workflow.parameters.vault-gitcreds-secret}}" under inject-template however is not getting rendered by argo since it is enclosed by another template.
Is it possible to override default delimiters and specify different delimiters for vault template so that I can use something like${ and }$ so that argo workflow replace logic can work?
P.S. - I have also created this issue in argo github hoping that probably there is some workaround for this that I have overlooked
The text was updated successfully, but these errors were encountered: