Commit graph

3913 commits

Author SHA1 Message Date
Hidde Beydals
96fda4cd56
Reject ssh-signing-reuse early in github and gitea
`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 <hidde@hhh.computer>
2026-06-19 15:03:54 +02:00
Hidde Beydals
2ca3468423
Return error for public-only GPG signing keyring
`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 <hidde@hhh.computer>
2026-06-19 15:03:54 +02:00
Hidde Beydals
4f45409697
Seed defaultComponents in bootstrap signing tests
`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 <hidde@hhh.computer>
2026-06-19 15:03:46 +02:00
Hidde Beydals
923a8ae394
Cover signingKey round-trip in export tests
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 <hidde@hhh.computer>
2026-06-18 16:21:19 +02:00
Hidde Beydals
4e8c13ba59
Cover create image update signing flags
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 <hidde@hhh.computer>
2026-06-18 16:21:18 +02:00
Hidde Beydals
61316ccca7
Add signing-key flags to create image update
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]: https://github.com/fluxcd/image-automation-controller/pull/1035

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2026-06-18 16:21:14 +02:00
Hidde Beydals
43574215a6
Test bootstrap signing flag validation
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 <hidde@hhh.computer>
2026-06-18 14:40:43 +02:00
Hidde Beydals
de76bb4725
Wire SSH signing into provider bootstrap commands
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 <hidde@hhh.computer>
2026-06-18 14:40:43 +02:00
Hidde Beydals
b767c68876
Wire SSH signing into bootstrap git
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 <hidde@hhh.computer>
2026-06-18 14:40:43 +02:00
Hidde Beydals
a84934311a
Add SSH signing flags to bootstrap
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 <hidde@hhh.computer>
2026-06-18 14:40:43 +02:00
Hidde Beydals
4810828b53
Cover pkg/bootstrap SSH signing roundtrip
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 <hidde@hhh.computer>
2026-06-18 14:40:42 +02:00
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
Matheus Pimenta
6f803d47bc
Merge pull request #5923 from dipti-pai/drift-ignore-rules
Some checks failed
e2e-bootstrap / e2e-boostrap-github (push) Has been cancelled
e2e / e2e-amd64-kubernetes (push) Has been cancelled
ossf / scorecard (push) Has been cancelled
scan / analyze (push) Has been cancelled
update / update-components (push) Has been cancelled
conformance / conform-kubernetes (1.34.1) (push) Has been cancelled
conformance / conform-kubernetes (1.35.2) (push) Has been cancelled
conformance / conform-kubernetes (1.36.1) (push) Has been cancelled
conformance / conform-k3s (1.34.8) (push) Has been cancelled
conformance / conform-k3s (1.35.5) (push) Has been cancelled
conformance / conform-k3s (1.36.1) (push) Has been cancelled
conformance / conform-openshift (4.20.0-okd) (push) Has been cancelled
conformance / conform-openshift (4.21.0-okd) (push) Has been cancelled
Add DriftIgnoreRules support to flux diff kustomization
2026-06-17 18:40:49 +01:00
Dipti Pai
4e815ab5e2 Add DriftIgnoreRules support to flux diff kustomization
Signed-off-by: Dipti Pai <diptipai89@outlook.com>
Assisted-by: GitHub Copilot/Claude Opus 4.7
2026-06-17 09:51:02 -07:00
Matheus Pimenta
a969646a56
Merge pull request #5945 from fluxcd/substitute-always
Honor `ks.spec.postBuild.substituteStrategy`
2026-06-17 17:32:46 +01:00
Matheus Pimenta
1e104631e4
Honor ks.spec.postBuild.substituteStrategy
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2026-06-17 17:25:41 +01:00
Matheus Pimenta
44612a750d
Merge pull request #5944 from fluxcd/update-components-main
Update toolkit components
2026-06-17 15:45:44 +01:00
Matheus Pimenta
e31c1a4f7d
Fix breaking change from source-controller 1.9
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2026-06-17 14:52:00 +01:00
fluxcdbot
8f5b850727 Update toolkit components
- helm-controller to v1.6.0
  https://github.com/fluxcd/helm-controller/blob/v1.6.0/CHANGELOG.md
- kustomize-controller to v1.9.0
  https://github.com/fluxcd/kustomize-controller/blob/v1.9.0/CHANGELOG.md
- source-controller to v1.9.0
  https://github.com/fluxcd/source-controller/blob/v1.9.0/CHANGELOG.md
- image-reflector-controller to v1.2.0
  https://github.com/fluxcd/image-reflector-controller/blob/v1.2.0/CHANGELOG.md
- image-automation-controller to v1.2.0
  https://github.com/fluxcd/image-automation-controller/blob/v1.2.0/CHANGELOG.md

Signed-off-by: GitHub <noreply@github.com>
2026-06-17 13:50:53 +00:00
Matheus Pimenta
7a725fc3ad
Merge pull request #5918 from piny940/main
Some checks failed
e2e / e2e-amd64-kubernetes (push) Has been cancelled
scan / analyze (push) Has been cancelled
ossf / scorecard (push) Has been cancelled
update / update-components (push) Has been cancelled
conformance / conform-kubernetes (1.34.1) (push) Has been cancelled
conformance / conform-kubernetes (1.35.2) (push) Has been cancelled
conformance / conform-kubernetes (1.36.1) (push) Has been cancelled
conformance / conform-k3s (1.34.8) (push) Has been cancelled
conformance / conform-k3s (1.35.5) (push) Has been cancelled
conformance / conform-k3s (1.36.1) (push) Has been cancelled
conformance / conform-openshift (4.20.0-okd) (push) Has been cancelled
conformance / conform-openshift (4.21.0-okd) (push) Has been cancelled
e2e-bootstrap / e2e-boostrap-github (push) Has been cancelled
Support specifing sparseCheckout in flux bootstrap
2026-06-16 12:55:36 +01:00
piny940
56166fd90c
Support specifing sparseCheckout in flux bootstrap
Signed-off-by: piny940 <83708535+piny940@users.noreply.github.com>
Assisted-by: claude/opus-4.7
2026-06-16 20:33:11 +09:00
Matheus Pimenta
c438a10efc
Merge pull request #5938 from fluxcd/dependabot/github_actions/ci-5a41c51c5c
Some checks failed
e2e / e2e-amd64-kubernetes (push) Has been cancelled
ossf / scorecard (push) Has been cancelled
scan / analyze (push) Has been cancelled
update / update-components (push) Has been cancelled
conformance / conform-kubernetes (1.34.1) (push) Has been cancelled
conformance / conform-kubernetes (1.35.2) (push) Has been cancelled
conformance / conform-k3s (1.35.5) (push) Has been cancelled
conformance / conform-k3s (1.36.1) (push) Has been cancelled
conformance / conform-openshift (4.20.0-okd) (push) Has been cancelled
e2e-bootstrap / e2e-boostrap-github (push) Has been cancelled
conformance / conform-kubernetes (1.36.1) (push) Has been cancelled
conformance / conform-k3s (1.34.8) (push) Has been cancelled
conformance / conform-openshift (4.21.0-okd) (push) Has been cancelled
build(deps): bump the ci group with 6 updates
2026-06-12 13:16:46 +01:00
dependabot[bot]
7a53052d06
build(deps): bump the ci group with 6 updates
Bumps the ci group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [fluxcd/gha-workflows/.github/workflows/backport.yaml](https://github.com/fluxcd/gha-workflows) | `0.10.0` | `0.11.0` |
| [fluxcd/pkg](https://github.com/fluxcd/pkg) | `1.32.0` | `1.33.0` |
| [replicatedhq/replicated-actions](https://github.com/replicatedhq/replicated-actions) | `1.26.0` | `1.27.0` |
| [fluxcd/gha-workflows/.github/workflows/code-scan.yaml](https://github.com/fluxcd/gha-workflows) | `0.10.0` | `0.11.0` |
| [fluxcd/gha-workflows/.github/workflows/labels-sync.yaml](https://github.com/fluxcd/gha-workflows) | `0.10.0` | `0.11.0` |
| [fluxcd/gha-workflows/.github/workflows/upgrade-fluxcd-pkg.yaml](https://github.com/fluxcd/gha-workflows) | `0.10.0` | `0.11.0` |


Updates `fluxcd/gha-workflows/.github/workflows/backport.yaml` from 0.10.0 to 0.11.0
- [Release notes](https://github.com/fluxcd/gha-workflows/releases)
- [Commits](https://github.com/fluxcd/gha-workflows/compare/v0.10.0...v0.11.0)

Updates `fluxcd/pkg` from 1.32.0 to 1.33.0
- [Commits](f3ad4b56ad...5a7f3ce0de)

Updates `replicatedhq/replicated-actions` from 1.26.0 to 1.27.0
- [Release notes](https://github.com/replicatedhq/replicated-actions/releases)
- [Commits](291bef61a0...6803131db7)

Updates `fluxcd/gha-workflows/.github/workflows/code-scan.yaml` from 0.10.0 to 0.11.0
- [Release notes](https://github.com/fluxcd/gha-workflows/releases)
- [Commits](https://github.com/fluxcd/gha-workflows/compare/v0.10.0...v0.11.0)

Updates `fluxcd/gha-workflows/.github/workflows/labels-sync.yaml` from 0.10.0 to 0.11.0
- [Release notes](https://github.com/fluxcd/gha-workflows/releases)
- [Commits](https://github.com/fluxcd/gha-workflows/compare/v0.10.0...v0.11.0)

Updates `fluxcd/gha-workflows/.github/workflows/upgrade-fluxcd-pkg.yaml` from 0.10.0 to 0.11.0
- [Release notes](https://github.com/fluxcd/gha-workflows/releases)
- [Commits](https://github.com/fluxcd/gha-workflows/compare/v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: fluxcd/gha-workflows/.github/workflows/backport.yaml
  dependency-version: 0.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci
- dependency-name: fluxcd/pkg
  dependency-version: 1.33.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci
- dependency-name: replicatedhq/replicated-actions
  dependency-version: 1.27.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci
- dependency-name: fluxcd/gha-workflows/.github/workflows/code-scan.yaml
  dependency-version: 0.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci
- dependency-name: fluxcd/gha-workflows/.github/workflows/labels-sync.yaml
  dependency-version: 0.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci
- dependency-name: fluxcd/gha-workflows/.github/workflows/upgrade-fluxcd-pkg.yaml
  dependency-version: 0.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-12 12:14:39 +00:00
leigh capili
b1b4438ae9
Merge pull request #5932 from fluxcd/build-native-arch
Some checks failed
conformance / conform-kubernetes (1.34.1) (push) Has been cancelled
conformance / conform-kubernetes (1.35.2) (push) Has been cancelled
conformance / conform-kubernetes (1.36.1) (push) Has been cancelled
conformance / conform-k3s (1.34.8) (push) Has been cancelled
conformance / conform-k3s (1.35.5) (push) Has been cancelled
conformance / conform-k3s (1.36.1) (push) Has been cancelled
conformance / conform-openshift (4.20.0-okd) (push) Has been cancelled
conformance / conform-openshift (4.21.0-okd) (push) Has been cancelled
e2e-bootstrap / e2e-boostrap-github (push) Has been cancelled
e2e / e2e-amd64-kubernetes (push) Has been cancelled
ossf / scorecard (push) Has been cancelled
scan / analyze (push) Has been cancelled
update / update-components (push) Has been cancelled
build: target host arch for local builds/envtest
2026-06-08 03:44:48 -06:00
leigh capili
862ab9b370
build: target host architecture for local builds and envtest
Local container image builds and envtest binaries were pinned to amd64,
forcing emulation (e.g. Rosetta) on Apple Silicon and other arm64 hosts. This
produced amd64 images/test binaries locally, which can surface subtle runtime
bugs. envtest now publishes arm64 binaries (including darwin/arm64), so the
historical amd64 pin (and the Darwin-specific override) is no longer needed.

Derive the architecture from the host Go toolchain (go env GOARCH) so local
builds are native, while keeping both values overridable for cross-arch builds.
Multi-arch release images are built by the fluxcd/gha-workflows release
workflow, not by "make docker-build", so release artifacts are unaffected.

Signed-off-by: leigh capili <leigh@null.net>
2026-06-08 03:25:15 -06:00
Stefan Prodan
c1355c1e72
Merge pull request #5906 from raffis/fix-preserve-invalid-labels
Some checks failed
conformance / conform-kubernetes (1.34.1) (push) Has been cancelled
scan / analyze (push) Has been cancelled
update / update-components (push) Has been cancelled
e2e / e2e-amd64-kubernetes (push) Has been cancelled
conformance / conform-kubernetes (1.35.2) (push) Has been cancelled
conformance / conform-kubernetes (1.36.1) (push) Has been cancelled
conformance / conform-k3s (1.34.8) (push) Has been cancelled
ossf / scorecard (push) Has been cancelled
conformance / conform-k3s (1.35.5) (push) Has been cancelled
conformance / conform-k3s (1.36.1) (push) Has been cancelled
conformance / conform-openshift (4.20.0-okd) (push) Has been cancelled
conformance / conform-openshift (4.21.0-okd) (push) Has been cancelled
e2e-bootstrap / e2e-boostrap-github (push) Has been cancelled
fix: preserve invalid metadata.labels in `flux build ks`
2026-06-05 10:00:29 +03:00
Raffael Sahli
e0803ee689
fix: preserve invalid label type
Signed-off-by: Raffael Sahli <raffael.sahli@doodle.com>
2026-06-05 08:46:15 +02:00
Matheus Pimenta
04b23241e1
Merge pull request #5928 from fluxcd/update-pkg-deps/main
Some checks failed
conformance / conform-kubernetes (1.34.1) (push) Waiting to run
conformance / conform-kubernetes (1.35.2) (push) Waiting to run
conformance / conform-kubernetes (1.36.1) (push) Waiting to run
conformance / conform-k3s (1.34.8) (push) Waiting to run
conformance / conform-k3s (1.35.5) (push) Waiting to run
conformance / conform-k3s (1.36.1) (push) Waiting to run
conformance / conform-openshift (4.20.0-okd) (push) Waiting to run
conformance / conform-openshift (4.21.0-okd) (push) Waiting to run
e2e-bootstrap / e2e-boostrap-github (push) Waiting to run
e2e / e2e-amd64-kubernetes (push) Waiting to run
ossf / scorecard (push) Waiting to run
scan / analyze (push) Waiting to run
update / update-components (push) Waiting to run
e2e-gcp / e2e-gcp (push) Has been cancelled
e2e-azure / e2e-aks (push) Has been cancelled
Update fluxcd/pkg dependencies
2026-06-04 23:54:40 +01:00
matheuscscp
3aaa5fd4ef Update fluxcd/pkg dependencies
Signed-off-by: GitHub <noreply@github.com>
2026-06-04 22:53:56 +00:00
Stefan Prodan
f265800a87
Merge pull request #5927 from fluxcd/fix-plugin-path
Validate plugin binary path
2026-06-04 21:39:10 +03:00
Stefan Prodan
0afcda1a50
Validate plugin binary path
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2026-06-04 21:25:37 +03:00
Stefan Prodan
d78d406a52
Merge pull request #5868 from taraspos/taras/aws-codecommit
Add support for AWS CodeCommit to `flux bootstrap git`
2026-06-04 21:25:21 +03:00
Taras
5999cd4b9a
feat: add support of aws codecommit bootstrap
Signed-off-by: Taras <9948629+taraspos@users.noreply.github.com>
2026-06-04 19:02:56 +01:00
Stefan Prodan
3c2fe83dc2
Merge pull request #5926 from fluxcd/conform-k8s-1.36
Run conformance tests for Kubernetes 1.36
2026-06-04 20:29:57 +03:00
Stefan Prodan
9351ff68af
Run conformance tests for Kubernetes 1.36
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2026-06-04 20:12:46 +03:00
Stefan Prodan
3fe2820cf0
Merge pull request #5925 from fluxcd/dependabot/github_actions/ci-911b504c74
build(deps): bump the ci group across 1 directory with 19 updates
2026-06-04 20:01:50 +03:00
dependabot[bot]
166cc7ca72
build(deps): bump the ci group across 1 directory with 19 updates
Bumps the ci group with 19 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout) | `6.0.2` | `6.0.3` |
| [fluxcd/gha-workflows/.github/workflows/backport.yaml](https://github.com/fluxcd/gha-workflows) | `0.9.0` | `0.10.0` |
| [actions/setup-go](https://github.com/actions/setup-go) | `6.3.0` | `6.4.0` |
| [fluxcd/pkg](https://github.com/fluxcd/pkg) | `1.27.0` | `1.32.0` |
| [replicatedhq/replicated-actions](https://github.com/replicatedhq/replicated-actions) | `1.20.0` | `1.26.0` |
| [hashicorp/setup-terraform](https://github.com/hashicorp/setup-terraform) | `4.0.0` | `4.0.1` |
| [Azure/login](https://github.com/azure/login) | `2.3.0` | `3.0.0` |
| [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) | `4.0.0` | `4.1.0` |
| [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) | `4.0.0` | `4.1.0` |
| [docker/login-action](https://github.com/docker/login-action) | `4.0.0` | `4.2.0` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact) | `7.0.0` | `7.0.1` |
| [github/codeql-action](https://github.com/github/codeql-action) | `4.32.6` | `4.36.2` |
| [anchore/sbom-action](https://github.com/anchore/sbom-action) | `0.23.1` | `0.24.0` |
| [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) | `4.1.0` | `4.1.2` |
| [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) | `7.0.0` | `7.2.2` |
| [fluxcd/gha-workflows/.github/workflows/code-scan.yaml](https://github.com/fluxcd/gha-workflows) | `0.9.0` | `0.10.0` |
| [fluxcd/gha-workflows/.github/workflows/labels-sync.yaml](https://github.com/fluxcd/gha-workflows) | `0.9.0` | `0.10.0` |
| [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) | `8.1.0` | `8.1.1` |
| [fluxcd/gha-workflows/.github/workflows/upgrade-fluxcd-pkg.yaml](https://github.com/fluxcd/gha-workflows) | `0.9.0` | `0.10.0` |



Updates `actions/checkout` from 6.0.2 to 6.0.3
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](de0fac2e45...df4cb1c069)

Updates `fluxcd/gha-workflows/.github/workflows/backport.yaml` from 0.9.0 to 0.10.0
- [Release notes](https://github.com/fluxcd/gha-workflows/releases)
- [Commits](https://github.com/fluxcd/gha-workflows/compare/v0.9.0...v0.10.0)

Updates `actions/setup-go` from 6.3.0 to 6.4.0
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](4b73464bb3...4a3601121d)

Updates `fluxcd/pkg` from 1.27.0 to 1.32.0
- [Commits](9a8c0edd5d...f3ad4b56ad)

Updates `replicatedhq/replicated-actions` from 1.20.0 to 1.26.0
- [Release notes](https://github.com/replicatedhq/replicated-actions/releases)
- [Commits](1abb33f527...291bef61a0)

Updates `hashicorp/setup-terraform` from 4.0.0 to 4.0.1
- [Release notes](https://github.com/hashicorp/setup-terraform/releases)
- [Changelog](https://github.com/hashicorp/setup-terraform/blob/main/CHANGELOG.md)
- [Commits](5e8dbf3c6d...dfe3c3f878)

Updates `Azure/login` from 2.3.0 to 3.0.0
- [Release notes](https://github.com/azure/login/releases)
- [Commits](a457da9ea1...532459ea53)

Updates `docker/setup-qemu-action` from 4.0.0 to 4.1.0
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](ce360397dd...06116385d9)

Updates `docker/setup-buildx-action` from 4.0.0 to 4.1.0
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](4d04d5d948...d7f5e7f509)

Updates `docker/login-action` from 4.0.0 to 4.2.0
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](b45d80f862...650006c6eb)

Updates `actions/upload-artifact` from 7.0.0 to 7.0.1
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](bbbca2ddaa...043fb46d1a)

Updates `github/codeql-action` from 4.32.6 to 4.36.2
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](0d579ffd05...8aad20d150)

Updates `anchore/sbom-action` from 0.23.1 to 0.24.0
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Changelog](https://github.com/anchore/sbom-action/blob/main/RELEASE.md)
- [Commits](57aae52805...e22c389904)

Updates `sigstore/cosign-installer` from 4.1.0 to 4.1.2
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](ba7bc0a3fe...6f9f177880)

Updates `goreleaser/goreleaser-action` from 7.0.0 to 7.2.2
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](ec59f474b9...5daf1e915a)

Updates `fluxcd/gha-workflows/.github/workflows/code-scan.yaml` from 0.9.0 to 0.10.0
- [Release notes](https://github.com/fluxcd/gha-workflows/releases)
- [Commits](https://github.com/fluxcd/gha-workflows/compare/v0.9.0...v0.10.0)

Updates `fluxcd/gha-workflows/.github/workflows/labels-sync.yaml` from 0.9.0 to 0.10.0
- [Release notes](https://github.com/fluxcd/gha-workflows/releases)
- [Commits](https://github.com/fluxcd/gha-workflows/compare/v0.9.0...v0.10.0)

Updates `peter-evans/create-pull-request` from 8.1.0 to 8.1.1
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](c0f553fe54...5f6978faf0)

Updates `fluxcd/gha-workflows/.github/workflows/upgrade-fluxcd-pkg.yaml` from 0.9.0 to 0.10.0
- [Release notes](https://github.com/fluxcd/gha-workflows/releases)
- [Commits](https://github.com/fluxcd/gha-workflows/compare/v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: ci
- dependency-name: fluxcd/gha-workflows/.github/workflows/backport.yaml
  dependency-version: 0.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci
- dependency-name: actions/setup-go
  dependency-version: 6.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci
- dependency-name: fluxcd/pkg
  dependency-version: 1.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci
- dependency-name: replicatedhq/replicated-actions
  dependency-version: 1.26.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci
- dependency-name: hashicorp/setup-terraform
  dependency-version: 4.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: ci
- dependency-name: Azure/login
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: ci
- dependency-name: docker/setup-qemu-action
  dependency-version: 4.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci
- dependency-name: docker/setup-buildx-action
  dependency-version: 4.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci
- dependency-name: docker/login-action
  dependency-version: 4.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci
- dependency-name: actions/upload-artifact
  dependency-version: 7.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: ci
- dependency-name: github/codeql-action
  dependency-version: 4.36.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci
- dependency-name: anchore/sbom-action
  dependency-version: 0.24.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci
- dependency-name: sigstore/cosign-installer
  dependency-version: 4.1.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: ci
- dependency-name: goreleaser/goreleaser-action
  dependency-version: 7.2.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci
- dependency-name: fluxcd/gha-workflows/.github/workflows/code-scan.yaml
  dependency-version: 0.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci
- dependency-name: fluxcd/gha-workflows/.github/workflows/labels-sync.yaml
  dependency-version: 0.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci
- dependency-name: peter-evans/create-pull-request
  dependency-version: 8.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: ci
- dependency-name: fluxcd/gha-workflows/.github/workflows/upgrade-fluxcd-pkg.yaml
  dependency-version: 0.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-04 16:51:39 +00:00
Stefan Prodan
9daccd1847
Merge pull request #5924 from fluxcd/k8s-1.36
Update to Kubernetes 1.36 and Go 1.26
2026-06-04 19:36:46 +03:00
Stefan Prodan
3e21c27749
Update to Kubernetes 1.36 and Go 1.26
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2026-06-04 19:09:29 +03:00
Matheus Pimenta
ed778892df
Merge pull request #5912 from vecil/refactor/import-dependencyreference-type-from-meta
Some checks are pending
ossf / scorecard (push) Waiting to run
scan / analyze (push) Waiting to run
e2e / e2e-amd64-kubernetes (push) Waiting to run
conformance / conform-kubernetes (1.33.0) (push) Waiting to run
conformance / conform-kubernetes (1.34.1) (push) Waiting to run
conformance / conform-kubernetes (1.35.0) (push) Waiting to run
conformance / conform-k3s (1.33.7) (push) Waiting to run
conformance / conform-k3s (1.34.3) (push) Waiting to run
conformance / conform-k3s (1.35.0) (push) Waiting to run
conformance / conform-openshift (4.20.0-okd) (push) Waiting to run
e2e-bootstrap / e2e-boostrap-github (push) Waiting to run
update / update-components (push) Waiting to run
refactor(api): migrate MakeDependsOn to shared apis/meta func
2026-06-04 08:25:01 +01:00
vecil
22953596c6
refactor(api): migrate MakeDependsOn to shared apis/meta func
Signed-off-by: Vincent Dely <vincent.dely@ik.me>
2026-05-26 07:14:33 +02:00
Matheus Pimenta
8c41d5b56d
Merge pull request #5908 from fluxcd/trigger-receiver
Some checks failed
conformance / conform-kubernetes (1.33.0) (push) Has been cancelled
conformance / conform-kubernetes (1.34.1) (push) Has been cancelled
conformance / conform-kubernetes (1.35.0) (push) Has been cancelled
conformance / conform-k3s (1.33.7) (push) Has been cancelled
conformance / conform-k3s (1.34.3) (push) Has been cancelled
conformance / conform-k3s (1.35.0) (push) Has been cancelled
conformance / conform-openshift (4.20.0-okd) (push) Has been cancelled
e2e-bootstrap / e2e-boostrap-github (push) Has been cancelled
e2e / e2e-amd64-kubernetes (push) Has been cancelled
scan / analyze (push) Has been cancelled
update / update-components (push) Has been cancelled
ossf / scorecard (push) Has been cancelled
Introduce `flux trigger receiver`
2026-05-23 12:46:55 +01:00
Matheus Pimenta
4bfdb6d459
Introduce flux trigger receiver
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2026-05-23 01:44:07 +01:00
Stefan Prodan
9d9e56208c
Merge pull request #5909 from immanuwell/validate-helm-source-url
Some checks are pending
ossf / scorecard (push) Waiting to run
conformance / conform-kubernetes (1.35.0) (push) Waiting to run
conformance / conform-kubernetes (1.33.0) (push) Waiting to run
conformance / conform-kubernetes (1.34.1) (push) Waiting to run
conformance / conform-k3s (1.33.7) (push) Waiting to run
conformance / conform-k3s (1.34.3) (push) Waiting to run
conformance / conform-k3s (1.35.0) (push) Waiting to run
conformance / conform-openshift (4.20.0-okd) (push) Waiting to run
e2e-bootstrap / e2e-boostrap-github (push) Waiting to run
e2e / e2e-amd64-kubernetes (push) Waiting to run
scan / analyze (push) Waiting to run
update / update-components (push) Waiting to run
Validate Helm source URL schemes
2026-05-22 12:26:13 +03:00
Immanuel Tikhonov
5425087730
Validate Helm source URL schemes
Reject HelmRepository source URLs with schemes unsupported by the
source-controller API before generating or applying the object.

Signed-off-by: Immanuel Tikhonov <pchpr.00@list.ru>
Assisted-by: codex/gpt-5
2026-05-22 08:56:53 +04:00
Matheus Pimenta
fa7cd5f847
Merge pull request #5907 from fluxcd/update-pkg-deps/main
Some checks failed
conformance / conform-kubernetes (1.33.0) (push) Waiting to run
conformance / conform-kubernetes (1.34.1) (push) Waiting to run
conformance / conform-kubernetes (1.35.0) (push) Waiting to run
conformance / conform-k3s (1.33.7) (push) Waiting to run
conformance / conform-k3s (1.34.3) (push) Waiting to run
conformance / conform-k3s (1.35.0) (push) Waiting to run
conformance / conform-openshift (4.20.0-okd) (push) Waiting to run
e2e-bootstrap / e2e-boostrap-github (push) Waiting to run
e2e / e2e-amd64-kubernetes (push) Waiting to run
ossf / scorecard (push) Waiting to run
scan / analyze (push) Waiting to run
update / update-components (push) Waiting to run
e2e-gcp / e2e-gcp (push) Has been cancelled
e2e-azure / e2e-aks (push) Has been cancelled
Update fluxcd/pkg dependencies
2026-05-21 19:54:25 +01:00
matheuscscp
6d95d5b1a3 Update fluxcd/pkg dependencies
Signed-off-by: GitHub <noreply@github.com>
2026-05-21 18:40:33 +00:00
Matheus Pimenta
f75d52d5c6
Merge pull request #5903 from fluxcd/update-components-main
Some checks failed
conformance / conform-kubernetes (1.33.0) (push) Has been cancelled
e2e-bootstrap / e2e-boostrap-github (push) Has been cancelled
scan / analyze (push) Has been cancelled
e2e / e2e-amd64-kubernetes (push) Has been cancelled
conformance / conform-kubernetes (1.34.1) (push) Has been cancelled
conformance / conform-kubernetes (1.35.0) (push) Has been cancelled
conformance / conform-k3s (1.33.7) (push) Has been cancelled
conformance / conform-k3s (1.34.3) (push) Has been cancelled
conformance / conform-k3s (1.35.0) (push) Has been cancelled
conformance / conform-openshift (4.20.0-okd) (push) Has been cancelled
ossf / scorecard (push) Has been cancelled
update / update-components (push) Has been cancelled
Update toolkit components
2026-05-20 12:01:00 +01:00
fluxcdbot
272410d3e9 Update toolkit components
- helm-controller to v1.5.5
  https://github.com/fluxcd/helm-controller/blob/v1.5.5/CHANGELOG.md
- source-controller to v1.8.5
  https://github.com/fluxcd/source-controller/blob/v1.8.5/CHANGELOG.md
- image-reflector-controller to v1.1.2
  https://github.com/fluxcd/image-reflector-controller/blob/v1.1.2/CHANGELOG.md
- image-automation-controller to v1.1.4
  https://github.com/fluxcd/image-automation-controller/blob/v1.1.4/CHANGELOG.md

Signed-off-by: GitHub <noreply@github.com>
2026-05-20 10:44:10 +00:00
Matheus Pimenta
63281daf2f
Merge pull request #5890 from fluxcd/update-components-main
Some checks failed
conformance / conform-kubernetes (1.35.0) (push) Has been cancelled
update / update-components (push) Has been cancelled
e2e-bootstrap / e2e-boostrap-github (push) Has been cancelled
e2e / e2e-amd64-kubernetes (push) Has been cancelled
conformance / conform-kubernetes (1.33.0) (push) Has been cancelled
conformance / conform-kubernetes (1.34.1) (push) Has been cancelled
conformance / conform-k3s (1.33.7) (push) Has been cancelled
conformance / conform-k3s (1.34.3) (push) Has been cancelled
conformance / conform-k3s (1.35.0) (push) Has been cancelled
conformance / conform-openshift (4.20.0-okd) (push) Has been cancelled
ossf / scorecard (push) Has been cancelled
scan / analyze (push) Has been cancelled
Update toolkit components
2026-05-12 12:05:41 +01:00