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

DT-1108: Use workload identity for GCR SA in cherry pick action #1874

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

snf2ye
Copy link
Contributor

@snf2ye snf2ye commented Dec 17, 2024

Jira ticket: https://broadworkbench.atlassian.net/browse/DT-1108

Addresses

Where possible, we should use workload identity rather than rotating service account keys. We hope to get rid of this action soon, but this was a relatively easy change and a proof of concept for other workload identity work. We also were not rotating the keys for this SA, so it will be safer.

Summary of changes

  • Followed these instructions
  • Switch from authenticating as the GCR service account via key stored in github action secret to instead using workload identity.

Merge order

Testing Strategy

Successful test run: https://github.com/DataBiosphere/jade-data-repo/actions/runs/12379744534/job/34554576957

@snf2ye snf2ye changed the title DT-1108: use workload identity for GCR SA DT-1108: use workload identity for GCR SA in cherry pick action Dec 17, 2024
@snf2ye snf2ye changed the title DT-1108: use workload identity for GCR SA in cherry pick action DT-1108: Use workload identity for GCR SA in cherry pick action Dec 17, 2024
@snf2ye snf2ye marked this pull request as ready for review December 17, 2024 19:10
@snf2ye snf2ye requested a review from a team as a code owner December 17, 2024 19:10
@snf2ye snf2ye requested review from pshapiro4broad and fboulnois and removed request for a team December 17, 2024 19:10
Copy link
Contributor

@rushtong rushtong left a comment

Choose a reason for hiding this comment

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

👍🏽

Copy link
Contributor

@fboulnois fboulnois left a comment

Choose a reason for hiding this comment

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

👍

@snf2ye snf2ye merged commit 217201a into develop Dec 17, 2024
15 checks passed
@snf2ye snf2ye deleted the sh/DT-1108 branch December 17, 2024 20:50
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.

4 participants