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

Backport of populate Nomad token for task runner update hooks into release/1.4.x #16268

Conversation

hc-github-team-nomad-core
Copy link
Contributor

Backport

This PR is auto-generated from #16266 to be assessed for backporting due to the inclusion of the label backport/1.4.x.

The below text is copied from the body of the original PR.


Fixes #16259

The TaskUpdateRequest struct we send to task runner update hooks was not populating the Nomad token that we get from the task runner (which we do for the Vault token). This results in task runner hooks like the template hook overwriting the Nomad token with the zero value for the token. This causes in-place updates of a task to break templates (but not other uses that rely on identity but don't currently bother to update it, like the identity hook).

@hc-github-team-nomad-core hc-github-team-nomad-core force-pushed the backport/task-update-nomad-token/currently-warm-kit branch from 4ad9064 to 27865b6 Compare February 27, 2023 15:48
@hc-github-team-nomad-core hc-github-team-nomad-core merged commit 3b64a0c into release/1.4.x Feb 27, 2023
@hc-github-team-nomad-core hc-github-team-nomad-core deleted the backport/task-update-nomad-token/currently-warm-kit branch February 27, 2023 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants