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

Offen
#1,215 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
68/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
github-actions, go
Bereich
release, security

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Go
Sterne
207
Forks
88
Ø Merge
2 T. 16 Std.
Gemergte PRs (30 T.)
45

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus cloudnative-pg/plugin-barman-cloud

Alle Issues in cloudnative-pg/plugin-barman-cloud

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.