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

Grant TUF SA access to modify storage objects #947

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

haydentherapper
Copy link
Contributor

Needed to use the TUF SA on GitHub Actions workflows.

Summary

Release Note

Documentation

Needed to use the TUF SA on GitHub Actions workflows.

Signed-off-by: Hayden Blauzvern <[email protected]>
Copy link
Member

@jku jku left a comment

Choose a reason for hiding this comment

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

Looks correct.

For completeness (assuming we don't try to find another solution) we're also going to need roles/compute.loadBalancerAdmin or more specifically compute.urlMaps.invalidateCache permission but that is not really related to the bucket so this change seems good to me.

Copy link
Member

@cpanato cpanato left a comment

Choose a reason for hiding this comment

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

lgtm

member = format("serviceAccount:%s@%s.iam.gserviceaccount.com", var.tuf_service_account_name, var.project_id)

depends_on = [google_storage_bucket.tuf_preprod, google_service_account.tuf-sa]
}
Copy link
Member

Choose a reason for hiding this comment

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

nit: new line

@haydentherapper
Copy link
Contributor Author

For completeness (assuming we don't try to find another solution) we're also going to need roles/compute.loadBalancerAdmin or more specifically compute.urlMaps.invalidateCache permission but that is not really related to the bucket so this change seems good to me.

Planning to grant that in the private repo since the load balancer configuration isn't in scaffolding.

@haydentherapper haydentherapper merged commit 242e139 into sigstore:main Jan 19, 2024
9 checks passed
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.

3 participants