Repository navigation
Allow signing commits using SSH key - #5920
Conversation
|
@hiddeco can you please incorporate these changes in this PR https://github.com/fluxcd/flux2/pull/5930/changes |
|
@hiddeco We start the controller releases on Monday, I'd love to get this PR in before that if possible 🙏 |
02ee573 to
8d23f40
Compare
|
@stefanprodan @matheuscscp fluxcd/image-automation-controller#1035 and this PR have both been updated. |
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]: fluxcd/pkg#398 Signed-off-by: Hidde Beydals <[email protected]>
Adds two layers of coverage for the SSH commit-signing path that the previous commit wires through PlainGitBootstrapper. TestPlainGitBootstrapper_resolveSigner exercises every branch of the new dispatcher: nil configuration, GPG-only, SSH-only, encrypted-SSH- without-passphrase failure, and the documented GPG-wins-when-both- set precedence. TestPlainGitBootstrapper_sshSignerProducesVerifiableCommit drives an end-to-end roundtrip: resolveSigner returns an SSH signer, the signer plugs into repository.WithSigner, gogit.Client.Commit produces a commit object, and signature.VerifySSHSignature cryptographically verifies the gpgsig header against the matching authorized_key. Catches regressions in the SSH-signing wiring that the dispatcher unit tests would miss. Signed-off-by: Hidde Beydals <[email protected]>
Introduces four new persistent flags on flux bootstrap: --ssh-signing-key-file, --ssh-signing-password, the hidden alias --ssh-signing-passphrase, and the reuse boolean --ssh-signing-reuse-private-key. They sit next to the existing --gpg-key-ring / --gpg-passphrase / --gpg-key-id surface. bootstrapValidate pre-flights the configured signing key for the explicit GPG and SSH paths so malformed PEM, wrong passphrases, and unsupported SSH algorithms surface before any clone runs. The GPG pre-flight calls the now-exported SelectOpenPGPSigningEntity from pkg/bootstrap directly, so the pre-flight cannot drift from the bootstrap commit path. The reuse path's pre-flight runs inside each subcommand's RunE (where the subcommand-local SSH transport password is in scope) and lands with the wiring commits that follow. A small effectiveSshSigningPassword helper resolves the --ssh-signing-passphrase alias purely (returning the resolved value or a mutual-exclusion error) instead of mutating the package-scoped bootstrapArgs singleton inside bootstrapValidate. Mutual exclusion is enforced between the GPG and SSH groups, and between --ssh-signing-key-file and --ssh-signing-reuse-private-key. --ssh-signing-reuse-private-key requires --private-key-file; --ssh-signing-password requires --ssh-signing-key-file. The --ssh-signing-passphrase alias is hidden in --help. Signed-off-by: Hidde Beydals <[email protected]>
Reads --ssh-signing-key-file when set, decodes the file contents, resolves the effective signing passphrase, and appends bootstrap.WithSSHCommitSigning to the bootstrap options. When --ssh-signing-reuse-private-key is set, reads the transport --private-key-file, pre-flights it against the subcommand-local gitArgs.password, and reuses the same bytes + passphrase for signing. The reuse-path pre-flight lives in this subcommand's RunE because bootstrapValidate does not have access to the transport password. Mutual exclusion with --gpg-* and explicit-path key-parse validation are enforced upstream in bootstrapValidate. Signed-off-by: Hidde Beydals <[email protected]>
Adds the same explicit-path SSH-signing wiring to flux bootstrap github / gitlab / gitea / bitbucket-server, consulting the new effectiveSshSigningPassword helper for the resolved passphrase. The reuse-path wiring applies only to gitlab and bitbucket-server (which consume --private-key-file as the SSH transport key). github and gitea generate the transport key in-process, so they reject --ssh-signing-reuse-private-key explicitly with a message explaining why. The reject check fires immediately after each subcommand's bootstrapOpts slice literal closes, before any conditional appends, so the failure semantics match the reading order of the code. Signed-off-by: Hidde Beydals <[email protected]>
Covers the validation matrix of the new --gpg-* / --ssh-signing-* surface: mutual exclusion (across GPG/SSH groups and within the SSH group between --ssh-signing-key-file and --ssh-signing-reuse-private- key), alias resolution between --ssh-signing-password and --ssh-signing-passphrase, the dependency checks (--ssh-signing- password requires --ssh-signing-key-file; --ssh-signing-reuse- private-key requires --private-key-file), and pre-flight key-parse failures (malformed PEM, encrypted SSH key without passphrase, GPG ring with wrong passphrase). Test keys are checked in so the test does not depend on local ssh-keygen or gpg invocations at run time. Signed-off-by: Hidde Beydals <[email protected]>
8d23f40 to
f80af25
Compare
Closes a pre-existing gap where the ImageUpdateAutomation SigningKey
field was reachable only by hand-editing the rendered YAML. The two
new flags --signing-key-secret and --signing-key-type populate the
spec.git.commit.signingKey block directly.
When --signing-key-secret is set without --signing-key-type, the run
function leaves spec.git.commit.signingKey.type empty so the
controller's documented default ('gpg' when type is unset[1]) applies
server-side rather than baking the choice into the rendered YAML.
Validation rejects --signing-key-type without --signing-key-secret
and rejects values outside {gpg, ssh}, using the typed
SigningKeyType constants exported from the image-automation-
controller API so the validator and populator share a single source
of truth.
[1]: fluxcd/image-automation-controller#1035
Signed-off-by: Hidde Beydals <[email protected]>
Adds golden-file tests for the new --signing-key-secret and --signing-key-type flags: no-signing (baseline), default-gpg (asserts type is omitted when only the secret is set, deferring to the controller's gpg default), ssh, and the two validation-error cases. Establishes cmd/flux/testdata/create_image_update/ for future expansion of this command's coverage. Signed-off-by: Hidde Beydals <[email protected]>
Extends the existing TestExport 'image update' case with a signingKey block on the seeded ImageUpdateAutomation, asserting the new field survives the kubeClient.Get + serialize path. Parallels how the existing fixture exercises every other field on the resource. Signed-off-by: Hidde Beydals <[email protected]>
f80af25 to
923a8ae
Compare
|
@hiddeco Codex just found a couple of nits:
|
|
@matheuscscp good shout, will address them in a bit. |
`resetCmdArgs` in `main_test.go` rebuilds `bootstrapArgs` from `NewBootstrapFlags`, which deliberately omits the cobra-populated `defaultComponents`. In the `e2e` build, `TestMain` runs `flux install …` before any test executes; that call triggers the reset and leaves `bootstrapArgs.defaultComponents` empty for the lifetime of the process. `bootstrapValidate` then trips on its `requiredComponents` pre-check and fails with "component source-controller is required" before it ever reaches the SSH/GPG signing flag validation that this test cares about. Save, seed, and restore `defaultComponents` per subtest so the required-component check passes regardless of whether the test runs under the plain or the `e2e` build tag. Assisted-by: claude/opus-4.7 Signed-off-by: Hidde Beydals <[email protected]>
`SelectOpenPGPSigningEntity` selects `keyRing[0]` when no key id is supplied and then calls `entity.PrivateKey.Decrypt` directly. For a keyring that contains only public keys — e.g. an armor-exported public key file — `PrivateKey` is `nil` and the call panics with a nil pointer dereference rather than surfacing an actionable error. The keyed branch already guards against this; the default branch did not. Guard the default branch with the same nil check and return an error pointing at `gpg --export-secret-keys` or `--gpg-key-id` so the user knows how to recover. Cover the public-only-keyring case in `TestSelectOpenPGPSigningEntity` so a future regression cannot re-introduce the panic. Assisted-by: claude/opus-4.7 Signed-off-by: Hidde Beydals <[email protected]>
`bootstrap github` and `bootstrap gitea` generate the SSH transport key in-process, so they have no operator-supplied key to reuse for commit signing. Both subcommands already reject `--ssh-signing-reuse-private-key` with a provider-specific "not supported" error, but the check sat after `bootstrapValidate`, which fails first with the generic "--ssh-signing-reuse-private-key requires --private-key-file" message. A user invoking e.g. `flux bootstrap github --ssh-signing-reuse-private-key` is told to set a flag that the subcommand cannot honour anyway, masking the real problem. Move the unsupported-flag rejection to the top of each `RunE` — before the interactive PAT prompt and before `bootstrapValidate` — so the provider-specific error wins. The deeper, now-redundant check is dropped. `TestBootstrapProviderRejectsReuseBeforeValidate` exercises both subcommands with the reuse flag set and no `--private-key-file` to lock in the precedence. Assisted-by: claude/opus-4.7 Signed-off-by: Hidde Beydals <[email protected]>
3723d80 to
96fda4c
Compare
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [aqua:fluxcd/flux2](https://github.com/fluxcd/flux2) | minor | `2.8.1` → `2.9.4` | --- >⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/141) for more information. --- ### Release Notes <details> <summary>fluxcd/flux2 (aqua:fluxcd/flux2)</summary> ### [`v2.9.4`](https://github.com/fluxcd/flux2/releases/tag/v2.9.4) [Compare Source](fluxcd/flux2@v2.9.3...v2.9.4) #### Highlights Flux v2.9.4 is a patch release that ships various fixes to the Flux controllers, covering source-watcher tarball extraction and glob expansion limits, the refspecs accepted by `ImageUpdateAutomation`, the HTTP request limits of the notification-controller servers, and Helm repository index loading, OCI chart digest pinning, `Bucket` error handling and GCS static authentication in source-controller. On the CLI side, `flux migrate -f` now supports migrating repositories to Flux 2.9. Users are encouraged to upgrade for the best experience. Note that this release contains CRD schema changes for `ArtifactGenerator` and `ImageUpdateAutomation`; both CRDs must be updated along with the controllers. ℹ️ Please follow the [Upgrade Procedure for Flux v2.7+](fluxcd/flux2#5572) for a smooth upgrade from Flux v2.6 to the latest version. Fixes: - Confine tarball extraction and bound glob expansion (source-watcher) - Disallow force-update and deletion via refspecs (image-automation-controller) - Unify HTTP server request limits (notification-controller) - Align Helm repository index loading with upstream Helm v4 (source-controller) - Improve error handling in `Bucket` reconciliation (source-controller) - Pin OCI chart verification by digest (source-controller) - Limit GCS static authentication to service account keys (source-controller) - Restrict the `allow-webhooks` network policy to the receiver port (flux CLI) Improvements: - Add support for migrating repositories to 2.9 in `flux migrate -f` (flux CLI) - Update fluxcd/pkg dependencies, which align the ECR host detection with upstream (source-controller, image-reflector-controller, flux CLI) - Update Bitbucket Cloud receiver guidance (notification-controller) #### Components changelog - source-controller [v1.9.4](https://github.com/fluxcd/source-controller/blob/v1.9.4/CHANGELOG.md) - source-watcher [v2.2.3](https://github.com/fluxcd/source-watcher/blob/v2.2.3/CHANGELOG.md) - notification-controller [v1.9.3](https://github.com/fluxcd/notification-controller/blob/v1.9.3/CHANGELOG.md) - image-reflector-controller [v1.2.4](https://github.com/fluxcd/image-reflector-controller/blob/v1.2.4/CHANGELOG.md) - image-automation-controller [v1.2.4](https://github.com/fluxcd/image-automation-controller/blob/v1.2.4/CHANGELOG.md) #### CLI changelog - \[release/v2.9.x] Add support for 2.9 in `migrate -f` by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​6021](fluxcd/flux2#6021) - Update fluxcd/pkg dependencies by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​6026](fluxcd/flux2#6026) - \[release/v2.9.x] fix: restrict `allow-webhooks` netpol to receiver port by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​6029](fluxcd/flux2#6029) - Update toolkit components by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​6031](fluxcd/flux2#6031) **Full Changelog**: <fluxcd/flux2@v2.9.3...v2.9.4> ### [`v2.9.3`](https://github.com/fluxcd/flux2/releases/tag/v2.9.3) [Compare Source](fluxcd/flux2@v2.9.2...v2.9.3) #### Highlights Flux v2.9.3 is a patch release. It fixes empty lines vanishing from rendered Helm chart manifests, HelmReleases being marked as tested when their Helm test hooks never ran, and `spec.images` entries that set only some image fields discarding the remaining fields already declared for the same image in the `kustomization.yaml`. The latter affects both kustomize-controller and the `flux build|diff kustomization` commands. Users are encouraged to upgrade for the best experience. ℹ️ Please follow the [Upgrade Procedure for Flux v2.7+](fluxcd/flux2#5572) for a smooth upgrade from Flux v2.6 to the latest version. Fixes: - Fix empty lines vanishing from rendered chart manifests (helm-controller) - Fix `HasBeenTested` for all corner cases, where a release could be marked as tested although its Helm test hooks never ran (helm-controller) - Fix a `spec.images` entry setting only some of the image fields discarding the remaining fields already declared for the same image in the `kustomization.yaml` at `spec.path`, e.g. overriding only `newName` produced an untagged image reference (kustomize-controller, flux CLI) Improvements: - Update fluxcd/pkg dependencies - Include source-watcher in the OCI flux-manifests artifact #### Components changelog - kustomize-controller [v1.9.4](https://github.com/fluxcd/kustomize-controller/blob/v1.9.4/CHANGELOG.md) - helm-controller [v1.6.3](https://github.com/fluxcd/helm-controller/blob/v1.6.3/CHANGELOG.md) #### CLI changelog - \[release/v2.9.x] Include source-watcher to oci flux-manifests by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5996](fluxcd/flux2#5996) - Update fluxcd/pkg dependencies by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​6006](fluxcd/flux2#6006) - Update toolkit components by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​6011](fluxcd/flux2#6011) **Full Changelog**: <fluxcd/flux2@v2.9.2...v2.9.3> ### [`v2.9.2`](https://github.com/fluxcd/flux2/releases/tag/v2.9.2) [Compare Source](fluxcd/flux2@v2.9.1...v2.9.2) #### Highlights Flux v2.9.2 is a patch release. The main fix addresses a regression introduced in v2.9.1 where a Kustomization with `openapi.path` pointing to a URL failed to reconcile with `failed to read OpenAPI schema`. This release also corrects several CRD field descriptions that contained inaccurate or leaked content. Users are encouraged to upgrade for the best experience. ℹ️ Please follow the [Upgrade Procedure for Flux v2.7+](fluxcd/flux2#5572) for a smooth upgrade from Flux v2.6 to the latest version. Fixes: - Fix a regression where a Kustomization with `openapi.path` pointing to a URL failed to reconcile with `failed to read OpenAPI schema` (kustomize-controller) - Fix the `HelmChart` CRD description for `.status.url`, which pointed users at `BucketStatus.Artifact` instead of `HelmChartStatus.Artifact` (source-controller) - Fix the `ImageRepository` CRD description for `.status.observedExclusionList`, which referred to `spec.lastScanResult` instead of `status.lastScanResult` (image-reflector-controller) - Fix the `ImageUpdateAutomation` CRD description for `.status.observedSourceRevision`, which had a stray Go struct declaration leaking into it (image-automation-controller) Improvements: - Update fluxcd/pkg dependencies #### Components changelog - source-controller [v1.9.3](https://github.com/fluxcd/source-controller/blob/v1.9.3/CHANGELOG.md) - kustomize-controller [v1.9.3](https://github.com/fluxcd/kustomize-controller/blob/v1.9.3/CHANGELOG.md) - helm-controller [v1.6.2](https://github.com/fluxcd/helm-controller/blob/v1.6.2/CHANGELOG.md) - notification-controller [v1.9.2](https://github.com/fluxcd/notification-controller/blob/v1.9.2/CHANGELOG.md) - image-reflector-controller [v1.2.3](https://github.com/fluxcd/image-reflector-controller/blob/v1.2.3/CHANGELOG.md) - image-automation-controller [v1.2.3](https://github.com/fluxcd/image-automation-controller/blob/v1.2.3/CHANGELOG.md) - source-watcher [v2.2.2](https://github.com/fluxcd/source-watcher/blob/v2.2.2/CHANGELOG.md) #### CLI changelog - Update fluxcd/pkg dependencies by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5984](fluxcd/flux2#5984) - Update fluxcd/pkg dependencies by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5990](fluxcd/flux2#5990) - Update toolkit components by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5994](fluxcd/flux2#5994) **Full Changelog**: <fluxcd/flux2@v2.9.1...v2.9.2> ### [`v2.9.1`](https://github.com/fluxcd/flux2/releases/tag/v2.9.1) [Compare Source](fluxcd/flux2@v2.9.0...v2.9.1) #### Highlights Flux v2.9.1 is a patch release. The main fix, applied across all controllers, disables Flux variable substitution on the Flux CRDs by annotating them with `kustomize.toolkit.fluxcd.io/substitute: disabled`, so that Kustomizations with post-build substitution enabled no longer corrupt the CRD schemas when they contain `${...}` sequences. Users are encouraged to upgrade for the best experience. ℹ️ Please follow the [Upgrade Procedure for Flux v2.7+](fluxcd/flux2#5572) for a smooth upgrade from Flux v2.6 to the latest version. Fixes: - Disable Flux variable substitution on all Flux CRDs, preventing post-build substitution from corrupting CRD schemas that contain `${...}` sequences (all controllers) - Update SOPS dependency to fix `.ini` file decryption (kustomize-controller) - Fix a dry-run error where applying a resource with a strategic merge patch could fail with `<resource> is invalid` (kustomize-controller) - Fix a breaking change in the in-memory Kustomization build (Flux CLI) Improvements: - Cache the registry authorization token during Notation verification, so it is fetched once per verification instead of once per request (source-controller) - Update fluxcd/pkg dependencies #### Components changelog - source-controller [v1.9.2](https://github.com/fluxcd/source-controller/blob/v1.9.2/CHANGELOG.md) - kustomize-controller [v1.9.2](https://github.com/fluxcd/kustomize-controller/blob/v1.9.2/CHANGELOG.md) - helm-controller [v1.6.2](https://github.com/fluxcd/helm-controller/blob/v1.6.2/CHANGELOG.md) - notification-controller [v1.9.2](https://github.com/fluxcd/notification-controller/blob/v1.9.2/CHANGELOG.md) - image-reflector-controller [v1.2.2](https://github.com/fluxcd/image-reflector-controller/blob/v1.2.2/CHANGELOG.md) - image-automation-controller [v1.2.2](https://github.com/fluxcd/image-automation-controller/blob/v1.2.2/CHANGELOG.md) - source-watcher [v2.2.2](https://github.com/fluxcd/source-watcher/blob/v2.2.2/CHANGELOG.md) #### CLI changelog - \[release/v2.9.x] Fix breaking change in-memory kustomization build by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5971](fluxcd/flux2#5971) - Update fluxcd/pkg dependencies by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5977](fluxcd/flux2#5977) - Update toolkit components by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5979](fluxcd/flux2#5979) **Full Changelog**: <fluxcd/flux2@v2.9.0...v2.9.1> ### [`v2.9.0`](https://github.com/fluxcd/flux2/releases/tag/v2.9.0) [Compare Source](fluxcd/flux2@v2.8.8...v2.9.0) #### Highlights Flux v2.9.0 is a feature release. Users are encouraged to upgrade for the best experience. For a compressive overview of new features and API changes included in this release, please refer to the [Announcing Flux 2.9 GA blog post](https://fluxcd.io/blog/2026/06/flux-v2.9.0/). Overview of the new features: - Flux CLI Plugin System with the Mirror and Schema plugins (`flux plugin`) - Server-Side Apply field ignore rules for fine-grained drift control (`Kustomization`) - SOPS decryption with the Age post-quantum cipher (`Kustomization`) - Kubernetes Workload Identity authentication for OpenBao and Vault (`Kustomization`) - Helm post-render strategies, including chart hooks support (`HelmRelease`) - Literal mode for Helm values references mirroring `helm --set-literal` (`HelmRelease`) - Allow empty kind in CEL health check expressions (`Kustomization`, `HelmRelease`) - Git commit signing and verification with SSH keys (`GitRepository`, `ImageUpdateAutomation`) - AWS CodeCommit authentication using Workload Identity (`GitRepository`) - Custom Sigstore trusted root for keyless verification in air-gapped environments (`OCIRepository`) - Path pattern directory discovery for monorepos (`ArtifactGenerator`) - Secret-less, OIDC-secured webhook Receivers (`Receiver`) ❤️ Big thanks to all the Flux contributors that helped us with this release! ##### Kubernetes compatibility This release is compatible with the following Kubernetes versions: | Kubernetes version | Minimum required | | ------------------ | ---------------- | | `v1.34` | `>= 1.34.1` | | `v1.35` | `>= 1.35.0` | | `v1.36` | `>= 1.36.0` | > \[!NOTE] > Note that the Flux project offers support only for the latest three minor versions of Kubernetes. > Backwards compatibility with older versions of Kubernetes and OpenShift is offered by vendors such as > [ControlPlane](https://control-plane.io/enterprise-for-flux-cd/) that provide enterprise support for Flux. ##### OpenShift compatibility Flux can be installed on Red Hat OpenShift cluster directly from OperatorHub using [Flux Operator](https://operatorhub.io/operator/flux-operator). The operator allows the configuration of Flux multi-tenancy lockdown, network policies, persistent storage, sharding, vertical scaling and the synchronization of the cluster state from Git repositories, OCI artifacts, and S3-compatible storage. #### Upgrade procedure :warning: The Flux APIs `image.toolkit.fluxcd.io/v1beta2` and `notification.toolkit.fluxcd.io/v1beta2` have reached end-of-life and have been removed from the CRDs. Please follow the [Upgrade Procedure for Flux v2.7+](fluxcd/flux2#5572) for a smooth upgrade from older versions of Flux to v2.9. #### Components changelog - source-controller [v1.9.1](https://github.com/fluxcd/source-controller/blob/v1.9.1/CHANGELOG.md) - kustomize-controller [v1.9.1](https://github.com/fluxcd/kustomize-controller/blob/v1.9.1/CHANGELOG.md) - notification-controller [v1.9.1](https://github.com/fluxcd/notification-controller/blob/v1.9.1/CHANGELOG.md) - helm-controller [v1.6.1](https://github.com/fluxcd/helm-controller/blob/v1.6.1/CHANGELOG.md) - image-reflector-controller [v1.2.1](https://github.com/fluxcd/image-reflector-controller/blob/v1.2.1/CHANGELOG.md) - image-automation-controller [v1.2.1](https://github.com/fluxcd/image-automation-controller/blob/v1.2.1/CHANGELOG.md) - source-watcher [v2.2.1](https://github.com/fluxcd/source-watcher/blob/v2.2.1/CHANGELOG.md) #### CLI changelog - Add backport label for Flux 2.8 by [@​matheuscscp](https://github.com/matheuscscp) in [#​5732](fluxcd/flux2#5732) - Remove no longer needed workaround for Flux 2.8 by [@​matheuscscp](https://github.com/matheuscscp) in [#​5733](fluxcd/flux2#5733) - Update toolkit components by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5740](fluxcd/flux2#5740) - Add missing things to release notes template by [@​matheuscscp](https://github.com/matheuscscp) in [#​5743](fluxcd/flux2#5743) - ci: add top-level permissions to upgrade-fluxcd-pkg workflow by [@​gaganhr94](https://github.com/gaganhr94) in [#​5763](fluxcd/flux2#5763) - build(deps): bump the ci group across 1 directory with 11 updates by [@​dependabot](https://github.com/dependabot)\[bot] in [#​5764](fluxcd/flux2#5764) - Update fluxcd/pkg dependencies by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5766](fluxcd/flux2#5766) - Update toolkit components by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5769](fluxcd/flux2#5769) - Add target branch name to update branch by [@​matheuscscp](https://github.com/matheuscscp) in [#​5773](fluxcd/flux2#5773) - Fix/resume exit code by [@​Aman-Cool](https://github.com/Aman-Cool) in [#​5701](fluxcd/flux2#5701) - Mark RFC 0010, 0011 and 0012 as implemented by [@​stefanprodan](https://github.com/stefanprodan) in [#​5776](fluxcd/flux2#5776) - Update toolkit components by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5780](fluxcd/flux2#5780) - Add --resolve-symlinks flag to build and push artifact commands by [@​rohansood10](https://github.com/rohansood10) in [#​5724](fluxcd/flux2#5724) - fix: validate --source flag in create kustomization command by [@​gma1k](https://github.com/gma1k) in [#​5798](fluxcd/flux2#5798) - Update toolkit components by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5821](fluxcd/flux2#5821) - Add `--show-source` to `flux get ks` and `flux get hr` by [@​rafaelperoco](https://github.com/rafaelperoco) in [#​5828](fluxcd/flux2#5828) - Add `flux create secret receiver` command by [@​stefanprodan](https://github.com/stefanprodan) in [#​5835](fluxcd/flux2#5835) - fix: handle multiple symlinks to same target in build artifact by [@​Iam-Karan-Suresh](https://github.com/Iam-Karan-Suresh) in [#​5833](fluxcd/flux2#5833) - Add `--in-memory-build` to `flux build ks` and `flux diff ks` by [@​rycli](https://github.com/rycli) in [#​5794](fluxcd/flux2#5794) - Migrate end-to-end test to latest cloud SDKs by [@​stefanprodan](https://github.com/stefanprodan) in [#​5840](fluxcd/flux2#5840) - docs: Add AI Coding Assistants Guidance by [@​stefanprodan](https://github.com/stefanprodan) in [#​5841](fluxcd/flux2#5841) - Add AI Agents guidance by [@​stefanprodan](https://github.com/stefanprodan) in [#​5847](fluxcd/flux2#5847) - \[RFC-0013] Flux CLI Plugin System by [@​stefanprodan](https://github.com/stefanprodan) in [#​5795](fluxcd/flux2#5795) - Add `--ignore-not-found` to `flux diff ks` by [@​rycli](https://github.com/rycli) in [#​5845](fluxcd/flux2#5845) - \[RFC-0013] Implement plugin system by [@​stefanprodan](https://github.com/stefanprodan) in [#​5849](fluxcd/flux2#5849) - build(deps): bump github.com/go-git/go-git/v5 from 5.17.1 to 5.18.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​5853](fluxcd/flux2#5853) - Update toolkit components by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5856](fluxcd/flux2#5856) - Add digest pinning support to `flux plugin install` by [@​Iam-Karan-Suresh](https://github.com/Iam-Karan-Suresh) in [#​5872](fluxcd/flux2#5872) - Add `--ns-follows-kube-context` global flag for using the kubeconfig context namespace by [@​jtyr](https://github.com/jtyr) in [#​5831](fluxcd/flux2#5831) - include source-watcher in install.yaml manifests by [@​tmmorin](https://github.com/tmmorin) in [#​5881](fluxcd/flux2#5881) - Update toolkit components by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5890](fluxcd/flux2#5890) - Update toolkit components by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5903](fluxcd/flux2#5903) - Update fluxcd/pkg dependencies by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5907](fluxcd/flux2#5907) - Validate Helm source URL schemes by [@​immanuwell](https://github.com/immanuwell) in [#​5909](fluxcd/flux2#5909) - Introduce `flux trigger receiver` by [@​matheuscscp](https://github.com/matheuscscp) in [#​5908](fluxcd/flux2#5908) - refactor(api): migrate MakeDependsOn to shared apis/meta func by [@​vecil](https://github.com/vecil) in [#​5912](fluxcd/flux2#5912) - Update to Kubernetes 1.36 and Go 1.26 by [@​stefanprodan](https://github.com/stefanprodan) in [#​5924](fluxcd/flux2#5924) - build(deps): bump the ci group across 1 directory with 19 updates by [@​dependabot](https://github.com/dependabot)\[bot] in [#​5925](fluxcd/flux2#5925) - Run conformance tests for Kubernetes 1.36 by [@​stefanprodan](https://github.com/stefanprodan) in [#​5926](fluxcd/flux2#5926) - Add support for AWS CodeCommit to `flux bootstrap git` by [@​taraspos](https://github.com/taraspos) in [#​5868](fluxcd/flux2#5868) - Validate plugin binary path by [@​stefanprodan](https://github.com/stefanprodan) in [#​5927](fluxcd/flux2#5927) - Update fluxcd/pkg dependencies by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5928](fluxcd/flux2#5928) - fix: preserve invalid metadata.labels in `flux build ks` by [@​raffis](https://github.com/raffis) in [#​5906](fluxcd/flux2#5906) - build: target host arch for local builds/envtest by [@​stealthybox](https://github.com/stealthybox) in [#​5932](fluxcd/flux2#5932) - build(deps): bump the ci group with 6 updates by [@​dependabot](https://github.com/dependabot)\[bot] in [#​5938](fluxcd/flux2#5938) - Support specifing sparseCheckout in flux bootstrap by [@​piny940](https://github.com/piny940) in [#​5918](fluxcd/flux2#5918) - Update toolkit components by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5944](fluxcd/flux2#5944) - Honor `ks.spec.postBuild.substituteStrategy` by [@​matheuscscp](https://github.com/matheuscscp) in [#​5945](fluxcd/flux2#5945) - Add DriftIgnoreRules support to flux diff kustomization by [@​dipti-pai](https://github.com/dipti-pai) in [#​5923](fluxcd/flux2#5923) - Allow signing commits using SSH key by [@​hiddeco](https://github.com/hiddeco) in [#​5920](fluxcd/flux2#5920) - Update toolkit components by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5950](fluxcd/flux2#5950) - Update fluxcd/pkg dependencies by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5937](fluxcd/flux2#5937) - cmd: support `type!=status` in get --status-selector by [@​3uzbcqje](https://github.com/3uzbcqje) in [#​5952](fluxcd/flux2#5952) - Fix `flux get all --status-selector` for empty results and notification resources by [@​matheuscscp](https://github.com/matheuscscp) in [#​5954](fluxcd/flux2#5954) - Upgrade go-git-providers to v0.27.0 by [@​matheuscscp](https://github.com/matheuscscp) in [#​5956](fluxcd/flux2#5956) - Fix using Receiver adapter for ArtifactGenerator by [@​matheuscscp](https://github.com/matheuscscp) in [#​5957](fluxcd/flux2#5957) - feat: Install Plugins alongside Flux setup in gh actions by [@​gat786](https://github.com/gat786) in [#​5955](fluxcd/flux2#5955) - Update fluxcd/pkg dependencies by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5960](fluxcd/flux2#5960) - Add CLI support for OCIRepository.spec.layerSelector in flux create source oci by [@​dme86](https://github.com/dme86) in [#​5892](fluxcd/flux2#5892) - Update toolkit components by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5963](fluxcd/flux2#5963) #### New Contributors - [@​gaganhr94](https://github.com/gaganhr94) made their first contribution in [#​5763](fluxcd/flux2#5763) - [@​rohansood10](https://github.com/rohansood10) made their first contribution in [#​5724](fluxcd/flux2#5724) - [@​gma1k](https://github.com/gma1k) made their first contribution in [#​5798](fluxcd/flux2#5798) - [@​rafaelperoco](https://github.com/rafaelperoco) made their first contribution in [#​5828](fluxcd/flux2#5828) - [@​Iam-Karan-Suresh](https://github.com/Iam-Karan-Suresh) made their first contribution in [#​5833](fluxcd/flux2#5833) - [@​rycli](https://github.com/rycli) made their first contribution in [#​5794](fluxcd/flux2#5794) - [@​jtyr](https://github.com/jtyr) made their first contribution in [#​5831](fluxcd/flux2#5831) - [@​tmmorin](https://github.com/tmmorin) made their first contribution in [#​5881](fluxcd/flux2#5881) - [@​immanuwell](https://github.com/immanuwell) made their first contribution in [#​5909](fluxcd/flux2#5909) - [@​vecil](https://github.com/vecil) made their first contribution in [#​5912](fluxcd/flux2#5912) - [@​taraspos](https://github.com/taraspos) made their first contribution in [#​5868](fluxcd/flux2#5868) - [@​piny940](https://github.com/piny940) made their first contribution in [#​5918](fluxcd/flux2#5918) - [@​3uzbcqje](https://github.com/3uzbcqje) made their first contribution in [#​5952](fluxcd/flux2#5952) - [@​gat786](https://github.com/gat786) made their first contribution in [#​5955](fluxcd/flux2#5955) - [@​dme86](https://github.com/dme86) made their first contribution in [#​5892](fluxcd/flux2#5892) **Full Changelog**: <fluxcd/flux2@v2.8.0...v2.9.0> ### [`v2.8.8`](https://github.com/fluxcd/flux2/releases/tag/v2.8.8) [Compare Source](fluxcd/flux2@v2.8.7...v2.8.8) #### Highlights Flux v2.8.8 is a patch release that includes CVE fixes via go-git v5.19.1 (source-controller, image-automation-controller), reliability fixes in helm-controller and source-controller, the move of Helm back to upstream v4.2.0, support for GCP sovereign cloud artifact registries, and dependency updates. Users are encouraged to upgrade for the best experience. ℹ️ Please follow the [Upgrade Procedure for Flux v2.7+](fluxcd/flux2#5572) for a smooth upgrade from Flux v2.6 to the latest version. Fixes: - Add a configurable HTTP timeout for artifact fetching, preventing fetches that could block indefinitely and stall reconciliations (helm-controller) - Fix unbounded memory growth caused by a Kubernetes client transport retry wrapper accumulating on every reconcile (helm-controller) - Stop force-applying non-CRD objects placed under a chart's `crds/` directory (helm-controller) - Fix the Helm test action failing to find releases with names longer than 53 characters (helm-controller) - Improve path handling in the source reconcilers (source-controller) - Support Helm semver build-metadata encoding in OCIRepository tags (source-controller) Improvements: - Update go-git to v5.19.1 which fixes [CVE-2026-45571](GHSA-crhj-59gh-8x96) and [CVE-2026-45570](GHSA-m7cr-m3pv-hgrp) (source-controller, image-automation-controller) - Move Helm back to upstream v4.2.0 (source-controller, helm-controller) - Add support for GCP sovereign cloud artifact registries (source-controller, image-reflector-controller) - Upgrade Kubernetes to 1.36.1 (source-controller, helm-controller) - Update fluxcd/pkg dependencies #### Components changelog - helm-controller [v1.5.5](https://github.com/fluxcd/helm-controller/blob/v1.5.5/CHANGELOG.md) - image-automation-controller [v1.1.4](https://github.com/fluxcd/image-automation-controller/blob/v1.1.4/CHANGELOG.md) - image-reflector-controller [v1.1.2](https://github.com/fluxcd/image-reflector-controller/blob/v1.1.2/CHANGELOG.md) - source-controller [v1.8.5](https://github.com/fluxcd/source-controller/blob/v1.8.5/CHANGELOG.md) #### CLI changelog - Update toolkit components by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5904](fluxcd/flux2#5904) **Full Changelog**: <fluxcd/flux2@v2.8.7...v2.8.8> ### [`v2.8.7`](https://github.com/fluxcd/flux2/releases/tag/v2.8.7) [Compare Source](fluxcd/flux2@v2.8.6...v2.8.7) #### Highlights Flux v2.8.7 is a patch release that includes a bug fix in kustomize-controller, a CVE fix in source-controller and image-automation-controller via go-git v5.19.0, and dependency updates. Users are encouraged to upgrade for the best experience. ℹ️ Please follow the [Upgrade Procedure for Flux v2.7+](fluxcd/flux2#5572) for a smooth upgrade from Flux v2.6 to the latest version. Fixes: - Fix management of objects annotated with `kustomize.toolkit.fluxcd.io/ssa: IfNotPresent` where non-namespaced resources were being deleted and recreated on each reconciliation (kustomize-controller) Improvements: - Update go-git to v5.19.0 which fixes [CVE-2026-45022](GHSA-389r-gv7p-r3rp) (source-controller, image-automation-controller) - Update fluxcd/pkg dependencies (source-controller, kustomize-controller, image-automation-controller) #### Components changelog - helm-controller [v1.5.4](https://github.com/fluxcd/helm-controller/blob/v1.5.4/CHANGELOG.md) - image-automation-controller [v1.1.3](https://github.com/fluxcd/image-automation-controller/blob/v1.1.3/CHANGELOG.md) - kustomize-controller [v1.8.5](https://github.com/fluxcd/kustomize-controller/blob/v1.8.5/CHANGELOG.md) - notification-controller [v1.8.4](https://github.com/fluxcd/notification-controller/blob/v1.8.4/CHANGELOG.md) - source-controller [v1.8.4](https://github.com/fluxcd/source-controller/blob/v1.8.4/CHANGELOG.md) #### CLI changelog - Update toolkit components by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5891](fluxcd/flux2#5891) **Full Changelog**: <fluxcd/flux2@v2.8.6...v2.8.7> ### [`v2.8.6`](https://github.com/fluxcd/flux2/releases/tag/v2.8.6) [Compare Source](fluxcd/flux2@v2.8.5...v2.8.6) #### Highlights Flux v2.8.6 is a patch release that includes bug fixes and improvements across helm-controller, image-automation-controller, kustomize-controller, notification-controller, and source-controller. Users are encouraged to upgrade for the best experience. ℹ️ Please follow the [Upgrade Procedure for Flux v2.7+](fluxcd/flux2#5572) for a smooth upgrade from Flux v2.6 to the latest version. Fixes: - Fix a post-renderer conflict between overlapping hooks and templates (helm-controller) - Ignore force replace when server-side apply is enabled (helm-controller) - Fix a regression where generic providers would not forward commit status events (notification-controller) - Require the `audience` field on the GCR Receiver secret for tighter verification — will become mandatory in Flux v2.9 (notification-controller) Improvements: - Introduce the `MigrateAPIVersion` feature gate for migrating the API version of resources in managed field entries (kustomize-controller) - Update go-git to v5.18.0 bringing performance improvements for Git operations (source-controller, image-automation-controller) #### Components changelog - helm-controller [v1.5.4](https://github.com/fluxcd/helm-controller/blob/v1.5.4/CHANGELOG.md) - image-automation-controller [v1.1.2](https://github.com/fluxcd/image-automation-controller/blob/v1.1.2/CHANGELOG.md) - kustomize-controller [v1.8.4](https://github.com/fluxcd/kustomize-controller/blob/v1.8.4/CHANGELOG.md) - notification-controller [v1.8.4](https://github.com/fluxcd/notification-controller/blob/v1.8.4/CHANGELOG.md) - source-controller [v1.8.3](https://github.com/fluxcd/source-controller/blob/v1.8.3/CHANGELOG.md) #### CLI changelog - Update toolkit components by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5857](fluxcd/flux2#5857) **Full Changelog**: <fluxcd/flux2@v2.8.5...v2.8.6> ### [`v2.8.5`](https://github.com/fluxcd/flux2/releases/tag/v2.8.5) [Compare Source](fluxcd/flux2@v2.8.4...v2.8.5) #### Highlights Flux v2.8.5 is a patch release that includes bug fixes and improvements across kustomize-controller, source-controller, and notification-controller. Users are encouraged to upgrade for the best experience. ℹ️ Please follow the [Upgrade Procedure for Flux v2.7+](fluxcd/flux2#5572) for a smooth upgrade from Flux v2.6 to the latest version. Fixes: - Fix a race condition where a cancelled reconciliation could leave stale data in the cache, causing Kustomizations to get stuck (kustomize-controller) - Fix Azure Blob prefix option not being passed to the storage client (source-controller) Improvements: - Improve error message for encrypted SSH keys without password (source-controller) - Add optional `email` and `audience` fields to the GCR Receiver for tighter verification (notification-controller) - Add provider manifest example for Azure Event Hub managed identity authentication (notification-controller) #### Components changelog - kustomize-controller [v1.8.3](https://github.com/fluxcd/kustomize-controller/blob/v1.8.3/CHANGELOG.md) - source-controller [v1.8.2](https://github.com/fluxcd/source-controller/blob/v1.8.2/CHANGELOG.md) - notification-controller [v1.8.3](https://github.com/fluxcd/notification-controller/blob/v1.8.3/CHANGELOG.md) #### CLI changelog - Update toolkit components by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5822](fluxcd/flux2#5822) **Full Changelog**: <fluxcd/flux2@v2.8.4...v2.8.5> ### [`v2.8.4`](https://github.com/fluxcd/flux2/releases/tag/v2.8.4) [Compare Source](fluxcd/flux2@v2.8.3...v2.8.4) #### Highlights Flux v2.8.4 is a patch release that includes fixes for the Flux CLI. Users are encouraged to upgrade for the best experience. ℹ️ Please follow the [Upgrade Procedure for Flux v2.7+](fluxcd/flux2#5572) for a smooth upgrade from Flux v2.6 to the latest version. Fixes: - Fix `flux build ks` and `flux diff ks` on Windows - Fix `--source` flag validation in `create kustomization` command #### CLI changelog - Update fluxcd/pkg dependencies by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5796](fluxcd/flux2#5796) - \[release/v2.8.x] fix: validate --source flag in create kustomization command by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5799](fluxcd/flux2#5799) **Full Changelog**: <fluxcd/flux2@v2.8.3...v2.8.4> ### [`v2.8.3`](https://github.com/fluxcd/flux2/releases/tag/v2.8.3) [Compare Source](fluxcd/flux2@v2.8.2...v2.8.3) #### Highlights Flux v2.8.3 is a patch release that fixes a regression in helm-controller. Users are encouraged to upgrade for the best experience. ℹ️ Please follow the [Upgrade Procedure for Flux v2.7+](fluxcd/flux2#5572) for a smooth upgrade from Flux v2.6 to the latest version. Fixes: - Fix templating errors for charts that include `---` in the content, e.g. YAML separators, embedded scripts, CAs inside ConfigMaps (helm-controller) #### Components changelog - helm-controller [v1.5.3](https://github.com/fluxcd/helm-controller/blob/v1.5.3/CHANGELOG.md) #### CLI changelog - \[release/v2.8.x] Add target branch name to update branch by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5774](fluxcd/flux2#5774) - Update toolkit components by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5779](fluxcd/flux2#5779) **Full Changelog**: <fluxcd/flux2@v2.8.2...v2.8.3> ### [`v2.8.2`](https://github.com/fluxcd/flux2/releases/tag/v2.8.2) [Compare Source](fluxcd/flux2@v2.8.1...v2.8.2) #### Highlights Flux v2.8.2 is a patch release that comes with various fixes. Users are encouraged to upgrade for the best experience. ℹ️ Please follow the [Upgrade Procedure for Flux v2.7+](fluxcd/flux2#5572) for a smooth upgrade from Flux v2.6 to the latest version. Fixes: - Fix enqueuing new reconciliation requests for events on source Flux objects when they are already reconciling the revision present in the watch event (kustomize-controller, helm-controller) - Fix the Go templates bug of YAML separator `---` getting concatenated to `apiVersion:` by updating to Helm 4.1.3 (helm-controller) - Fix canceled HelmReleases getting stuck when they don't have a retry strategy configured by introducing a new feature gate `DefaultToRetryOnFailure` that improves the experience when the `CancelHealthCheckOnNewRevision` is enabled (helm-controller) - Fix the auth scope for Azure Container Registry to use the ACR-specific scope (source-controller, image-reflector-controller) - Fix potential Denial of Service (DoS) during TLS handshakes (CVE-2026-27138) by building all controllers with Go 1.26.1 #### Components changelog - source-controller [v1.8.1](https://github.com/fluxcd/source-controller/blob/v1.8.1/CHANGELOG.md) - kustomize-controller [v1.8.2](https://github.com/fluxcd/kustomize-controller/blob/v1.8.2/CHANGELOG.md) - notification-controller [v1.8.2](https://github.com/fluxcd/notification-controller/blob/v1.8.2/CHANGELOG.md) - helm-controller [v1.5.2](https://github.com/fluxcd/helm-controller/blob/v1.5.2/CHANGELOG.md) - image-reflector-controller [v1.1.1](https://github.com/fluxcd/image-reflector-controller/blob/v1.1.1/CHANGELOG.md) - image-automation-controller [v1.1.1](https://github.com/fluxcd/image-automation-controller/blob/v1.1.1/CHANGELOG.md) - source-watcher [v2.1.1](https://github.com/fluxcd/source-watcher/blob/v2.1.1/CHANGELOG.md) #### CLI changelog - \[release/v2.8.x] build(deps): bump the ci group across 1 directory with 11 updates by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5765](fluxcd/flux2#5765) - Update fluxcd/pkg dependencies by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5767](fluxcd/flux2#5767) - Update toolkit components by [@​matheuscscp](https://github.com/matheuscscp) in [#​5770](fluxcd/flux2#5770) - Update fluxcd/pkg dependencies by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5771](fluxcd/flux2#5771) **Full Changelog**: <fluxcd/flux2@v2.8.1...v2.8.2> </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/London) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNjAuMiIsInVwZGF0ZWRJblZlciI6IjQzLjI2MC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ0eXBlL21pbm9yIl19--> Reviewed-on: https://forgejo.hayden.moe/hayden/phoebe/pulls/356
Depends on: