-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Upgrade hashicorp/consul-template dependency #15092
Conversation
tomhjp
commented
Apr 19, 2022
- Includes sprig template functions
- Includes improvements to writeTo template function
- Adds new test case for sprig functions and slightly improves the error reporting when the test fails
* Includes sprig template functions * Includes improvements to writeTo template function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding the test against sprig!
Looks like the tests are failing because vault/command/agent/config/config_test.go Line 678 in 99e2132
And apparently Command is deprecated in favor of Exec now.
|
Edit, nevermind, something like this seems to work: Command: []string{"restart service foo"} |
* Includes sprig template functions * Includes improvements to writeTo template function * Add sprig functions test, improve failure message
* Includes sprig template functions * Includes improvements to writeTo template function * Add sprig functions test, improve failure message
* Includes sprig template functions * Includes improvements to writeTo template function * Add sprig functions test, improve failure message