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

Ouverte
#1,215 0 commentaires 1 réaction 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
68/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
github-actions, go
Domaine
release, security

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
Go
Étoiles
207
Forks
88
Merge moyen
2 j 16 h
PR mergées (30 j)
45

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de cloudnative-pg/plugin-barman-cloud

Toutes les issues de cloudnative-pg/plugin-barman-cloud

Issues similaires

Plus d'issues Go

Recevez les nouvelles issues par e-mail

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