GoogleCloudPlatform / GoogleCloudPlatform/cloud-sql-proxy

Sign released images with sigstore/cosign

Ouverte
#1,267 3 commentaires 4 réactions 1 personne assignée Assignée à @hessjcg Voir sur GitHub
priority: p2 type: feature request
Langage dominant
Go
Étoiles
1.4k
Forks
352
Merge moyen
14 h 54 min
PR mergées (30 j)
5

Description

## Feature Description
Start to sign the published OCI images using a documented identity.

It looks like you are using Google Cloud Build to publish your images, which @dlorenc added support for to get the `distroless` images signed, e.g.
https://github.com/GoogleContainerTools/distroless/blob/db2d69aa294c7ff414ae12c6ffe578254745a4ca/cloudbuild.yaml#L75

Currently, we inject these sidecars alongside a few of our images, and we'd love to be able to author policies stating that the images we pull down must be signed by your release process, e.g. `keyless@cloudsql-docker.iam.gserviceaccount.com`

## Alternatives Considered
N/A

## Additional Context

If you use Github actions for your releases this is even easier, and I could probably just send a PR, but either way an admin will have to do a bit of IAM setup to support this.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.