-
Notifications
You must be signed in to change notification settings - Fork 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
build(deps): bump github.com/hashicorp/consul-template from 0.25.2 to 0.28.0 #12187
build(deps): bump github.com/hashicorp/consul-template from 0.25.2 to 0.28.0 #12187
Conversation
Bumps [github.com/hashicorp/consul-template](https://github.com/hashicorp/consul-template) from 0.25.2 to 0.28.0. - [Release notes](https://github.com/hashicorp/consul-template/releases) - [Changelog](https://github.com/hashicorp/consul-template/blob/master/CHANGELOG.md) - [Commits](hashicorp/consul-template@v0.25.2...v0.28.0) --- updated-dependencies: - dependency-name: github.com/hashicorp/consul-template dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
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.
We need to ensure that the new writeToFile
function honors the sandbox_path
before merging this.
Unassigned myself. Not sure why dependabot threw me under that bus. |
consul-template 0.28.0 does not appear to honor SandboxPath, so we can't merge it as-is. Even more worrying is that the function chowns and chmods which seems ripe for a setuid-style attack. Luckily it appears the mode is masked which prevents that. My inclination is to disable |
I could perhaps offer one: When trying to deploy a MongoDB Cluster via Nomad, the Being able to simply add UID/GID would overcome this blocker:
When setting setting to Which is counter-intuitive on the surface. Mongod is telling us that 'I can't read the file' because it's using the user |
@ip-sf Thanks for sharing your use case! Setting the owner and permissions of rendered templates is covered by #5020. We do peek at reaction emoji, so please vote on whatever issues are a priority for you. |
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
@schmichael Thank you for the quick response and info! I understand the reasoning for the actions being taken. A question: If I am understanding this comment correctly:
I assume this is saying: We (royal) will disable this by default for , but if someone was so inclined they could set their own denylist and override the default, effectively re-enabling it and accepting any potential security implications? If my understanding is correct, then thank you and that should serve as an appropriate workaround for my use case. In any event, thank you personally for all you have done for the community! |
@ip-sf Sounds about right. It can be overridden here: https://www.nomadproject.io/docs/configuration/client#function_denylist= |
Ha, yes, I suppose I can just say
Yes, @3nprob is right. I want to make Nomad secure-by-default but configurable. |
I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions. |
Bumps github.com/hashicorp/consul-template from 0.25.2 to 0.28.0.
Changelog
Sourced from github.com/hashicorp/consul-template's changelog.
... (truncated)
Commits
ae2bbca
Release v0.28.01dd876f
changelog and version updates for 0.28.0be5fcd8
support command lists14a926e
Allow the child to be provided a custom logger.2bf43d8
made timing based tests a bit more lenientf9dd3bb
Merge branch 'phemmer-template-error-fatal'1f3d98f
Merge branch 'template-error-fatal' of github.com:phemmer/consul-template int...3ea7d99
bumping consul/vault version for CId874405
Merge pull request #1531 from deblasis/template_output_pragmatic_chownfc22b48
Merge pull request #1516 from lawliet89/http-token-fileDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)