GoogleCloudPlatform / GoogleCloudPlatform/cloud-sql-proxy

Sign released images with sigstore/cosign

Abierto
#1,267 3 comentarios 4 reacciones 1 asignado Asignado a @hessjcg Ver en GitHub
priority: p2 type: feature request
Lenguaje dominante
Go
Estrellas
1.4k
Forks
352
Merge medio
14 h 54 min
PR fusionados (30 d)
5

Descripción

## 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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.