fluxcd-flux2/pkg/bootstrap
Hidde Beydals e6ac1390d0
Migrate bootstrap signing to generic Signer
Bumps fluxcd/pkg/git to v0.52.0, which exposes the generic
signature.Signer interface and the NewOpenPGPSigner / NewSSHSigner
constructors, and migrates pkg/bootstrap's two WithSigner call sites
accordingly. Refs fluxcd/pkg#398[1].

Adds a parallel WithSSHCommitSigning option alongside the existing
WithGitCommitSigning so callers can sign commits with an SSH private
key. PlainGitBootstrapper now dispatches through a new resolveSigner
helper that returns either an OpenPGP or SSH signer; the
repository.WithSigner option is appended conditionally to avoid the
typed-nil interface hazard the new generic field introduces.

The bootstrap path's OpenPGP entity selector is renamed and exported
as SelectOpenPGPSigningEntity so the flux CLI's pre-flight (introduced
later in this branch) can call it directly instead of carrying a
duplicate.

[1]: https://github.com/fluxcd/pkg/issues/398

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2026-06-18 14:40:30 +02:00
..
provider feat: add gitea bootstrapper 2023-11-01 15:46:42 +01:00
bootstrap.go Update CLI to OCIRepository v1 (GA) 2025-05-28 15:12:17 +03:00
bootstrap_plain_git.go Migrate bootstrap signing to generic Signer 2026-06-18 14:40:30 +02:00
bootstrap_provider.go Introduce visibility flag for bootstrap gitlab 2024-07-17 20:22:25 +02:00
bootstrap_test.go Update toolkit components 2025-09-15 17:33:20 +01:00
options.go Migrate bootstrap signing to generic Signer 2026-06-18 14:40:30 +02:00