Commit graph

3774 commits

Author SHA1 Message Date
rohansood10
46ad3b2e7a Add --resolve-symlinks flag to build and push artifact commands
When building OCI artifacts from directories containing symlinks (e.g.,
symlink trees created by Nix), the symlinked files are silently skipped
because the underlying archive logic only handles regular files and
directories. This results in empty or incomplete artifacts.

This change adds a --resolve-symlinks flag to both 'flux build artifact'
and 'flux push artifact' commands. When set, symlinks are resolved by
copying their target contents into a temporary directory before building
the artifact. This approach:

- Preserves backward compatibility (default behavior unchanged)
- Works with symlinks pointing outside the source directory
- Handles symlinked files and directories
- Cleans up the temporary directory after the build completes

Fixes fluxcd/flux2#5055

Signed-off-by: rohansood10 <rohansood10@users.noreply.github.com>
2026-02-19 09:28:54 -08:00
Matheus Pimenta
7132eb3435
Merge pull request #5722 from fluxcd/update-components
Some checks failed
e2e-gcp / e2e-gcp (push) Has been cancelled
e2e-azure / e2e-aks (push) Has been cancelled
conformance / conform-kubernetes (1.33.0) (push) Waiting to run
conformance / conform-k3s (1.33.5) (push) Waiting to run
e2e-bootstrap / e2e-boostrap-github (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.32.9) (push) Waiting to run
conformance / conform-k3s (1.34.1) (push) Waiting to run
conformance / conform-openshift (4.19.0-okd) (push) Waiting to run
conformance / conform-openshift (4.20.0-okd) (push) Waiting to run
e2e / e2e-amd64-kubernetes (push) Waiting to run
update / update-components (push) Waiting to run
ossf / scorecard (push) Waiting to run
scan / analyze (push) Waiting to run
Update toolkit components
2026-02-19 12:20:21 +00:00
fluxcdbot
473b02ce5c Update toolkit components
- kustomize-controller to v1.8.0
  https://github.com/fluxcd/kustomize-controller/blob/v1.8.0/CHANGELOG.md
- source-controller to v1.8.0
  https://github.com/fluxcd/source-controller/blob/v1.8.0/CHANGELOG.md
- notification-controller to v1.8.0
  https://github.com/fluxcd/notification-controller/blob/v1.8.0/CHANGELOG.md
- image-reflector-controller to v1.1.0
  https://github.com/fluxcd/image-reflector-controller/blob/v1.1.0/CHANGELOG.md
- image-automation-controller to v1.1.0
  https://github.com/fluxcd/image-automation-controller/blob/v1.1.0/CHANGELOG.md
- source-watcher to v2.1.0
  https://github.com/fluxcd/source-watcher/blob/v2.1.0/CHANGELOG.md

Signed-off-by: GitHub <noreply@github.com>
2026-02-19 10:25:55 +00:00
Stefan Prodan
862d9ddb6d
Merge pull request #5723 from fluxcd/go-1.26
Build with Go 1.26
2026-02-19 12:25:09 +02:00
Stefan Prodan
33b9345883
Build with Go 1.26
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2026-02-19 11:11:47 +02:00
Matheus Pimenta
e169a97577
Merge pull request #5721 from fluxcd/fix-5683
Some checks are pending
update / update-components (push) Waiting to run
conformance / conform-kubernetes (1.33.0) (push) Waiting to run
conformance / conform-k3s (1.33.5) (push) Waiting to run
conformance / conform-openshift (4.19.0-okd) (push) Waiting to run
conformance / conform-kubernetes (1.34.1) (push) Waiting to run
conformance / conform-kubernetes (1.35.0) (push) Waiting to run
ossf / scorecard (push) Waiting to run
conformance / conform-k3s (1.32.9) (push) Waiting to run
conformance / conform-k3s (1.34.1) (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
Fix event listing ignoring pagination token
2026-02-18 16:58:28 +00:00
Matheus Pimenta
4eddf80724
Fix event listing ignoring pagination token
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2026-02-18 15:53:10 +00:00
Matheus Pimenta
99f182be06
Merge pull request #5719 from fluxcd/update-pkg-deps/main
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
e2e-gcp / e2e-gcp (push) Has been cancelled
e2e / e2e-amd64-kubernetes (push) Has been cancelled
conformance / conform-k3s (1.32.9) (push) Has been cancelled
conformance / conform-k3s (1.33.5) (push) Has been cancelled
conformance / conform-k3s (1.34.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-openshift (4.19.0-okd) (push) Has been cancelled
e2e-azure / e2e-aks (push) Has been cancelled
ossf / scorecard (push) Has been cancelled
scan / analyze (push) Has been cancelled
update / update-components (push) Has been cancelled
Update fluxcd/pkg dependencies
2026-02-16 13:43:36 +00:00
matheuscscp
cf785cebcc Update fluxcd/pkg dependencies
Signed-off-by: GitHub <noreply@github.com>
2026-02-16 13:18:51 +00:00
Matheus Pimenta
7ff4c32d16
Merge pull request #5717 from fluxcd/cmd-bump
Introduce workflow for bumping fluxcd/pkg deps
2026-02-16 13:17:38 +00:00
Matheus Pimenta
75bf2d608f
Introduce workflow for bumping fluxcd/pkg deps
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2026-02-16 13:02:26 +00:00
Matheus Pimenta
f950198f9d
Merge pull request #5713 from fluxcd/migrate-v2.8
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-openshift (4.20.0-okd) (push) Has been cancelled
conformance / conform-k3s (1.32.9) (push) Has been cancelled
conformance / conform-k3s (1.33.5) (push) Has been cancelled
conformance / conform-openshift (4.19.0-okd) (push) Has been cancelled
conformance / conform-k3s (1.34.1) (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
Add 2.8 to supported versions for `flux migrate -f`
2026-02-12 11:13:27 +00:00
Matheus Pimenta
2a2201fe56
Add 2.8 to supported versions for flux migrate -f
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2026-02-12 11:02:58 +00:00
Stefan Prodan
a4903a95be
Merge pull request #5690 from Aman-Cool/fix/resume-success-after-failure
Fix resume command logging success after reconciliation failure
2026-01-25 10:29:02 +02:00
Aman-Cool
8c041095ab Fix resume command logging success after reconciliation failure
Signed-off-by: Aman-Cool <aman017102007@gmail.com>
2026-01-25 04:53:17 +05:30
Stefan Prodan
63dfdd133c
Merge pull request #5688 from fluxcd/k8s-1.35.0
Update dependencies to Kubernetes v1.35.0
2026-01-22 18:12:41 +02:00
Stefan Prodan
b2be6f96c9
Update dependencies to Kubernetes v1.35.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2026-01-22 17:01:34 +02:00
Matheus Pimenta
1dfc906802
Merge pull request #5682 from fluxcd/gh-app-owner
Introduce support for looking up GH app installation ID
2026-01-19 12:20:27 +00:00
Matheus Pimenta
d57313ae2c
Introduce support for looking up GH app installation ID
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2026-01-19 12:03:08 +00:00
Matheus Pimenta
c125bcb1ca
Merge pull request #5674 from sibasispadhi/fix-windows-path-issue-5673
fix: normalize path for Windows compatibility
2026-01-13 16:41:23 +00:00
Sibasis Padhi
7dd9fde7ce fix: normalize paths to prevent concatenation on Windows
Fixes #5673

On Windows, when using absolute paths like C:\path\to\dir,
the path could be incorrectly concatenated, resulting in:
C:\working\dir\C:\path\to\dir\file

This fix applies filepath.Abs() and filepath.Clean() to normalize
the path before using it, ensuring absolute paths are handled
correctly on all platforms.

Changes:
- Apply filepath.Abs() to convert relative paths to absolute
- Apply filepath.Clean() to remove redundant separators and resolve ..
- Add tests for absolute paths, complex paths with .., and paths
  with redundant separators to verify normalization works correctly

The tests use actual 'flux build kustomization' commands with:
1. Absolute paths (prevents concatenation bugs)
2. Paths with parent directory (..) references
3. Paths with redundant separators (//)

All tests verify the command produces correct output, ensuring
the path normalization fix works as expected.

Signed-off-by: Sibasis Padhi <sibasis.padhi@gmail.com>
2026-01-13 10:25:59 -06:00
Stefan Prodan
f2f7d59577
Merge pull request #5663 from fluxcd/conform-k8s-1.35
Run conformance tests for Kubernetes 1.35.0
2025-12-18 11:47:06 +02:00
Stefan Prodan
7459e457bf
Run conformance tests for Kubernetes 1.35.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2025-12-18 11:15:02 +02:00
Stefan Prodan
145f98b53a
ci: Move release to large runners
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2025-12-18 11:13:58 +02:00
Stefan Prodan
6c58ea576e
Merge pull request #5659 from ivan-munteanu/retry-pulling-the-binary
Added retry logic with delays to the Flux CLI download
2025-12-15 20:17:23 +02:00
ivan-munteanu
580ef30c8f Added retry logic to install.sh
What Changed:
- Downloads now retry up to 5 times with 5-second delays between attempts
- Applied to both the Flux binary and checksums file downloads
- Clear feedback on retry attempts and failures

Why This Matters
- Improves Reliability: Network hiccups, rate limiting, or temporary outages no longer cause immediate failures. The action automatically recovers from transient issues.

Signed-off-by: ivan-munteanu <148127170+ivan-munteanu@users.noreply.github.com>
2025-12-15 09:14:27 -05:00
Matheus Pimenta
94e9af6b2a
Merge pull request #5656 from jaxels10/main
fix: #5654 by checking if both --chart and --chart-ref are set
2025-12-10 21:32:28 +00:00
Jesper Axelsen
3fb05a604f fix: #5654 by check if both --chart and --chart-ref are set
Signed-off-by: Jesper Axelsen <jesperbaxelsen@gmail.com>
2025-12-10 22:08:31 +01:00
Matheus Pimenta
9b76ba19a8
Merge pull request #5648 from fluxcd/update-components
Update toolkit components
2025-11-27 10:08:05 +00:00
fluxcdbot
1e7dd5dfd8 Update toolkit components
- helm-controller to v1.4.5
  https://github.com/fluxcd/helm-controller/blob/v1.4.5/CHANGELOG.md

Signed-off-by: GitHub <noreply@github.com>
2025-11-27 09:53:28 +00:00
Stefan Prodan
d6dec730d8
Merge pull request #5597 from anshuishere/skip-tenant-ns-create
Allow option to skip tenant namespace creation
2025-11-21 17:16:29 +02:00
Anshuman Singh
0ba28f3f91
Allow option to skip tenant namespace creation
Add --skip-namespace flag to the 'create tenant' command to skip automatic
namespace creation when the namespace already exists.

Signed-off-by: Anshuman Singh <anshumanchauhan9@gmail.com>
2025-11-21 17:46:12 +05:30
Matheus Pimenta
55936e9366
Merge pull request #5639 from fluxcd/update-components
Update toolkit components
2025-11-20 07:17:19 +00:00
fluxcdbot
6ecad4783f Update toolkit components
- helm-controller to v1.4.4
  https://github.com/fluxcd/helm-controller/blob/v1.4.4/CHANGELOG.md
- kustomize-controller to v1.7.3
  https://github.com/fluxcd/kustomize-controller/blob/v1.7.3/CHANGELOG.md
- source-controller to v1.7.4
  https://github.com/fluxcd/source-controller/blob/v1.7.4/CHANGELOG.md
- notification-controller to v1.7.5
  https://github.com/fluxcd/notification-controller/blob/v1.7.5/CHANGELOG.md
- image-reflector-controller to v1.0.4
  https://github.com/fluxcd/image-reflector-controller/blob/v1.0.4/CHANGELOG.md
- image-automation-controller to v1.0.4
  https://github.com/fluxcd/image-automation-controller/blob/v1.0.4/CHANGELOG.md
- source-watcher to v2.0.3
  https://github.com/fluxcd/source-watcher/blob/v2.0.3/CHANGELOG.md

Signed-off-by: GitHub <noreply@github.com>
2025-11-20 07:04:02 +00:00
Matheus Pimenta
5759d08473
Merge pull request #5625 from hown3d/report-diff-skip
diff: report if object is skipped
2025-11-19 08:31:43 +00:00
Lukas Hoehl
5048de80f0
diff: report if object is skipped
Signed-off-by: Lukas Hoehl <lukas.hoehl@stackit.cloud>
2025-11-19 07:24:11 +01:00
Matheus Pimenta
97a437d059
Merge pull request #5633 from fluxcd/upgrade-deps
Upgrade k8s to 1.34.2, c-r to 0.22.4 and helm to 3.19.2
2025-11-18 15:02:24 +00:00
Matheus Pimenta
cfb28ffdc0
Upgrade k8s to 1.34.2, c-r to 0.22.4 and helm to 3.19.2
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-11-18 14:34:27 +00:00
Matheus Pimenta
ae9ef62f39
Merge pull request #5630 from fluxcd/fix-5629
Fix panic on reconcile with source of ExternalArtifact kind
2025-11-17 14:32:37 +00:00
Matheus Pimenta
69feb7214a
Fix panic on reconcile with source of ExternalArtifact kind
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-11-17 13:31:13 +00:00
Matheus Pimenta
e95da82f5a
Merge pull request #5627 from fluxcd/fix-5626
Add source.extensions.fluxcd.io group to aggregated RBAC roles
2025-11-13 12:56:50 +01:00
Matheus Pimenta
7c5f9befb4
Add source.extensions.fluxcd.io group to aggregated RBAC roles
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-11-13 11:52:09 +00:00
Stefan Prodan
26a8d0c1c7
Merge pull request #5614 from fluxcd/conform-source-watcher
ci: Include source-watcher in the e2e test suite
2025-11-01 11:46:35 +02:00
Stefan Prodan
833815c71d
ci: Include source-watcher in the e2e test suite
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2025-11-01 10:34:07 +02:00
Matheus Pimenta
31287b9b27
Merge pull request #5602 from jaxels10/main
fix: return accepted values for flags when calling Values.Type()
2025-10-28 14:09:23 +00:00
Jesper Axelsen
28f5b553a2
fix: return supported values for flags when calling Values.Type()
Signed-off-by: Jesper Axelsen <jesperbaxelsen@gmail.com>
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-10-28 13:35:22 +00:00
Matheus Pimenta
b33f173670
Merge pull request #5603 from fluxcd/update-components
Update toolkit components
2025-10-28 13:17:06 +00:00
Matheus Pimenta
d8c6ee167c
Fix bootstrap e2e test for image policy
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-10-28 12:59:53 +00:00
fluxcdbot
e288cb2771 Update toolkit components
- helm-controller to v1.4.3
  https://github.com/fluxcd/helm-controller/blob/v1.4.3/CHANGELOG.md
- kustomize-controller to v1.7.2
  https://github.com/fluxcd/kustomize-controller/blob/v1.7.2/CHANGELOG.md
- source-controller to v1.7.3
  https://github.com/fluxcd/source-controller/blob/v1.7.3/CHANGELOG.md
- notification-controller to v1.7.4
  https://github.com/fluxcd/notification-controller/blob/v1.7.4/CHANGELOG.md
- image-reflector-controller to v1.0.3
  https://github.com/fluxcd/image-reflector-controller/blob/v1.0.3/CHANGELOG.md
- image-automation-controller to v1.0.3
  https://github.com/fluxcd/image-automation-controller/blob/v1.0.3/CHANGELOG.md

Signed-off-by: GitHub <noreply@github.com>
2025-10-28 12:39:44 +00:00
Stefan Prodan
5f2a6ebc2b
Merge pull request #5583 from dgunzy/add-export-source-external
[RFC-0012] Add command `flux export source external`
2025-10-28 09:33:06 +02:00