You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
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>
2 days ago
.github Run conformance tests for Kubernetes 1.35.0 4 weeks ago
action Added retry logic to install.sh 1 month ago
cmd/flux fix: normalize paths to prevent concatenation on Windows 2 days ago
docs docs: Mention Flux upgrade guide in release notes 1 year ago
install Update install/README.md 3 years ago
internal diff: report if object is skipped 2 months ago
manifests Update toolkit components 2 months ago
pkg Use `RUNTIME_NAMESPACE` when setting `--events-addr` 3 months ago
rfcs Add Artifact access restrictions to recommendations 4 months ago
tests Upgrade k8s to 1.34.2, c-r to 0.22.4 and helm to 3.19.2 2 months ago
.gitignore fix makefile envtest setup and usage 4 years ago
.goreleaser.yml Disable AUR publishing 3 months ago
.scorecard.yml add: OSSF scorecard configuration file - ignore false-positive 10 months ago
CODE_OF_CONDUCT.md Add coc, dco and maintainers docs 6 years ago
CONTRIBUTING.md Add source-watcher to docs 3 months ago
DCO Add coc, dco and maintainers docs 6 years ago
Dockerfile Update dependencies to Kubernetes v1.34.1 and Go 1.25.2 3 months ago
LICENSE Initial commit 6 years ago
MAINTAINERS Move MAINTAINERS to f/community 4 years ago
Makefile Build with Go 1.25 5 months ago
README.md Add source-watcher to docs 3 months ago
go.mod Update toolkit components 2 months ago
go.sum Update toolkit components 2 months ago
netlify.toml explain where docs are 5 years ago

README.md

Flux version 2

release CII Best Practices OpenSSF Scorecard FOSSA Status Artifact HUB SLSA 3

Flux is a tool for keeping Kubernetes clusters in sync with sources of configuration (like Git repositories and OCI artifacts), and automating updates to configuration when there is new code to deploy.

Flux version 2 ("v2") is built from the ground up to use Kubernetes' API extension system, and to integrate with Prometheus and other core components of the Kubernetes ecosystem. In version 2, Flux supports multi-tenancy and support for syncing an arbitrary number of Git repositories, among other long-requested features.

Flux v2 is constructed with the GitOps Toolkit, a set of composable APIs and specialized tools for building Continuous Delivery on top of Kubernetes.

Flux is a Cloud Native Computing Foundation (CNCF) graduated project, used in production by various organisations and cloud providers.

Quickstart and documentation

To get started check out this guide on how to bootstrap Flux on Kubernetes and deploy a sample application in a GitOps manner.

For more comprehensive documentation, see the following guides:

If you need help, please refer to our Support page.

GitOps Toolkit

The GitOps Toolkit is the set of APIs and controllers that make up the runtime for Flux v2. The APIs comprise Kubernetes custom resources, which can be created and updated by a cluster user, or by other automation tooling.

overview

You can use the toolkit to extend Flux, or to build your own systems for continuous delivery -- see the developer guides.

Components

Community

Need help or want to contribute? Please see the links below. The Flux project is always looking for new contributors and there are a multitude of ways to get involved.

Events

Check out our events calendar, both with upcoming talks, events and meetings you can attend. Or view the resources section with past events videos you can watch.

We look forward to seeing you with us!