Skip to content
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

client: consul hook not called for templates #19490

Merged
merged 10 commits into from
Dec 15, 2023

Conversation

pkazmierczak
Copy link
Contributor

Due to some refactoring mishap, task-level Consul hook was never triggered and thus never wrote any secrets in task secret dirs.

Fixes #19488

@pkazmierczak pkazmierczak self-assigned this Dec 15, 2023
@pkazmierczak pkazmierczak changed the title client: consul hook wasn't being called for templates client: consul hook notcalled for templates Dec 15, 2023
@pkazmierczak pkazmierczak changed the title client: consul hook notcalled for templates client: consul hook not called for templates Dec 15, 2023
.changelog/19490.txt Outdated Show resolved Hide resolved
client/allocrunner/taskrunner/consul_hook.go Outdated Show resolved Hide resolved
Copy link
Member

@tgross tgross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM once the one item I've called out is fixed (or dismissed)

client/allocrunner/taskrunner/task_runner_hooks.go Outdated Show resolved Hide resolved
@pkazmierczak pkazmierczak merged commit f1fb514 into main Dec 15, 2023
19 checks passed
@pkazmierczak pkazmierczak deleted the b-consul-wi-consul_hook_task_doesn_get_called branch December 15, 2023 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consul token not being exposed to the task with workload identity
2 participants