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

WI: use parent job ID for subject claim #23902

Merged
merged 1 commit into from
Sep 3, 2024
Merged

Conversation

tgross
Copy link
Member

@tgross tgross commented Sep 3, 2024

When we use the job ID in creating the subject claim (sub) for workload identities, we forgot to use the parent job ID when that's available. Child job IDs have a random component that makes them unsuitable for the subject field.

Ref: #23817 (comment)
Ref: https://hashicorp.atlassian.net/browse/NET-10714

When we use the job ID in creating the subject claim (`sub`) for workload
identities, we forgot to use the parent job ID when that's available. Child job
IDs have a random component that makes them unsuitable for the subject field.

Ref: #23817 (comment)
Ref: https://hashicorp.atlassian.net/browse/NET-10714
@tgross tgross force-pushed the workload-id-subject-parent-id branch from cdd6fae to d6ee425 Compare September 3, 2024 18:08
@tgross tgross added this to the 1.8.4 milestone Sep 3, 2024
@tgross tgross added the theme/batch Issues related to batch jobs and scheduling label Sep 3, 2024
@tgross tgross marked this pull request as ready for review September 3, 2024 18:27
@tgross tgross requested review from gulducat, schmichael, jrasell and Juanadelacuesta and removed request for schmichael September 3, 2024 18:27
Copy link
Member

@gulducat gulducat left a comment

Choose a reason for hiding this comment

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

lgtm!

@tgross tgross added the backport/1.8.x backport to 1.8.x release line label Sep 3, 2024
@tgross tgross merged commit 60284ad into main Sep 3, 2024
31 checks passed
@tgross tgross deleted the workload-id-subject-parent-id branch September 3, 2024 20:33
Copy link

github-actions bot commented Jan 2, 2025

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.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport/1.8.x backport to 1.8.x release line theme/batch Issues related to batch jobs and scheduling theme/workload-identity type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants