filepath.Walk can return a `nil` for the stat value, when it does, the directory is invalid and the error will be set. This causes a panic+crash if the directory does not currently exist when RemoveAllButCurrent is called. The following patch makes the behavior an error instead. Signed-off-by: Erik Hollensbe <github@hollensbe.org> |
||
---|---|---|
.github | ||
api/v1alpha1 | ||
config | ||
controllers | ||
docs | ||
hack | ||
internal | ||
pkg/testserver | ||
.gitignore | ||
CHANGELOG.md | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
DCO | ||
Dockerfile | ||
LICENSE | ||
MAINTAINERS | ||
Makefile | ||
PROJECT | ||
README.md | ||
go.mod | ||
go.sum | ||
main.go |
README.md
Source controller
The source-controller is a Kubernetes operator, specialised in artifacts acquisition from external sources such as Git and Helm repositories. The source-controller implements the source.fluxcd.io API and is a core component of the GitOps toolkit.
Features:
- authenticates to sources (SSH, user/password, API token)
- validates source authenticity (PGP)
- detects source changes based on update policies (semver)
- fetches resources on-demand and on-a-schedule
- packages the fetched resources into a well-known format (tar.gz, yaml)
- makes the artifacts addressable by their source identifier (sha, version, ts)
- makes the artifacts available in-cluster to interested 3rd parties
- notifies interested 3rd parties of source changes and availability (status conditions, events, hooks)
- reacts to Git push and Helm chart upload events (via notification-controller)