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

variables: fix access to variables for poststop tasks #19270

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

tgross
Copy link
Member

@tgross tgross commented Dec 1, 2023

In the recent auth refactor, we accidentally fixed a bug where poststop tasks would not get access to Variables. Fix this same bug for backports by ensuring that we use client-terminal status and not server-terminal status to enforce access.

Note this is a backport-only PR.

Ref: #16886

In the recent auth refactor, we accidentally fixed a bug where poststop tasks
would not get access to Variables. Fix this same bug for backports by ensuring
that we use client-terminal status and not server-terminal status to enforce
access.
@tgross tgross merged commit 5a7c4cd into release/1.6.x Dec 1, 2023
28 checks passed
@tgross tgross deleted the b-nomad-claim-for-poststop branch December 1, 2023 18:01
tgross added a commit that referenced this pull request Dec 1, 2023
In the recent auth refactor, we accidentally fixed a bug where poststop tasks
would not get access to Variables. Fix this same bug for backports by ensuring
that we use client-terminal status and not server-terminal status to enforce
access.
@tgross
Copy link
Member Author

tgross commented Dec 1, 2023

Backported to 1.5.x as well.

tgross added a commit that referenced this pull request Dec 1, 2023
In #18754 we accidentally fixed a bug that prevented poststop tasks from getting
access to Variables. This was fixed in the 1.6.x branch in #19270, at which
point we discovered the fix had been done in main already as part of the auth
refactor. Add a changelog entry for it.
tgross added a commit that referenced this pull request Dec 1, 2023
In #18754 we accidentally fixed a bug that prevented poststop tasks from getting
access to Variables. This was fixed in the 1.6.x branch in #19270, at which
point we discovered the fix had been done in main already as part of the auth
refactor. Add a changelog entry for it.
nvanthao pushed a commit to nvanthao/nomad that referenced this pull request Mar 1, 2024
…corp#19275)

In hashicorp#18754 we accidentally fixed a bug that prevented poststop tasks from getting
access to Variables. This was fixed in the 1.6.x branch in hashicorp#19270, at which
point we discovered the fix had been done in main already as part of the auth
refactor. Add a changelog entry for it.
nvanthao pushed a commit to nvanthao/nomad that referenced this pull request Mar 1, 2024
…corp#19275)

In hashicorp#18754 we accidentally fixed a bug that prevented poststop tasks from getting
access to Variables. This was fixed in the 1.6.x branch in hashicorp#19270, at which
point we discovered the fix had been done in main already as part of the auth
refactor. Add a changelog entry for it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants