-
Notifications
You must be signed in to change notification settings - Fork 168
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
usage of injector in deployments defined in helm chart #68
Comments
Hi @dbeal-wiser, this should work:
We can add this to the doc! |
@jasonodonnell follow-up question, what if
|
got it working 🎆
|
got the ultimate solution for my use case of creating a secret file like:
to get something like above in
solution
|
I guess annotation for overwriting left, right delimiter would help with this. Can't find then in doc |
I would like to note for anyone else struggling with this and keep getting
In my case, I had to remove the space between the backtick and and the
And the error went away. Not sure if I am doing something different or wrong, but it frustrated me for so long. Thanks for all the helpful comments and examples in here guys. It saved me from struggling even more :) |
Would love to see an annotation to customize left and write delimiters to make this easier to use with Helm! |
I opened a PR that will allow you to define delimiters via annotations. Hopefully this will help with the pains of using a vault template within a helm chart #226 |
This does not work. The injector agent complains with: {
"@level": "error",
"@message": "runtime error encountered",
"@timestamp": "2022-09-25T06:18:27.359853Z",
"error": "template server: (dynamic): parse: template: :1: bad character U+002F '/'"
} |
Works for me |
when defining an injection template annotation within a deployment defined within a helm chart, the following syntax is required due to golang templates using the same syntax (using one of the examples from the website):
this syntax does not seem immediately obvious to me, and I understand it would be difficult to change. Could a documentation example/info be added to cover info about using vault inject templates being used inside a helm chart?
The text was updated successfully, but these errors were encountered: