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

populate Nomad token for task runner update hooks #16266

Merged
merged 1 commit into from
Feb 27, 2023
Merged

Commits on Feb 27, 2023

  1. populate Nomad token for task runner update hooks

    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).
    tgross committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    9d8a7dd View commit details
    Browse the repository at this point in the history