fluxcd-flux2/pkg
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
..
bootstrap Migrate bootstrap signing to generic Signer 2026-06-18 14:40:30 +02:00
log Add discard logger 2022-10-12 11:55:00 +02:00
manifestgen Support specifing sparseCheckout in flux bootstrap 2026-06-16 20:33:11 +09:00
plugin Make plugin types public 2026-04-14 00:46:29 +03:00
printers misc: simplify row append 2023-10-17 14:08:06 +02:00
status bootstrap: provide better error message on timeout 2023-12-08 19:00:01 +05:30
uninstall Remove ArtifactGenerators during uninstall 2025-09-23 14:41:50 +03:00