Sign release images (cosign keyless) like the operator, pgbouncer and postgres images

Aperta
#1,215 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, go
Ambito
release, security

Direzione di ricerca

Start by reading the release workflow for the operator, which the issue identifies as the signing example, and compare it with this repository’s release workflow. Update the release process so both plugin images are signed with cosign keyless; SBOMs are a requested extra. Check the published images with cosign tree and gh attestation verify to confirm the signatures and any generated SBOMs or attestations.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

The CloudNativePG operator, postgresql and pgbouncer images are signed with cosign (keyless, GitHub Actions), but plugin-barman-cloud and plugin-barman-cloud-sidecar are not. cosign tree on v0.15.1 (ghcr.io/cloudnative-pg/plugin-barman-cloud@sha256:c75acad19a36e8176cfe2885761ff1b836c6ef977d7257e298c99a28b5c302ef, ghcr.io/cloudnative-pg/plugin-barman-cloud-sidecar@sha256:2287a793a804db751edd0d07d44cd549e357677e98a800eb12e2cf7c0d53f9b0) shows no signatures, SBOMs or attestations, and gh attestation verify returns 404.

The sidecar runs inside every PostgreSQL instance pod with access to the data directory, so users who enforce signature verification at admission have to make an exception for it.

Could the release workflow sign both images (and ideally attach an SBOM), the same way the operator's release workflow does? Happy to test.

Lingua principale
Go
Stelle
207
Fork
88
Merge medio
2g 1h
PR unite (30g)
42

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cloudnative-pg/plugin-barman-cloud

Tutte le issue di cloudnative-pg/plugin-barman-cloud

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.