The GitOps Toolkit source management component
Go to file
Erik Hollensbe 687b79a7dd Storage: fix a small bug in RemoveAllButCurrent when the directory is invalid
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>
2020-07-15 18:50:09 +00:00
.github Reconcile sources in the runtime namespace only 2020-05-03 13:04:00 +03:00
api/v1alpha1 Add constants for kind names 2020-07-10 12:07:54 +02:00
config Release v0.0.4 2020-07-10 16:19:29 +03:00
controllers Storage: fix a small bug in RemoveAllButCurrent when the directory is invalid 2020-07-15 18:50:09 +00:00
docs Release v0.0.4 2020-07-10 16:19:29 +03:00
hack Generate API documentation 2020-06-19 16:45:05 +02:00
internal Migrate to fluxcd/pkg 2020-06-30 17:30:21 +03:00
pkg/testserver Fix artifact test server 2020-07-10 10:55:52 +03:00
.gitignore ci: Add release workflow 2020-04-13 18:28:22 +03:00
CHANGELOG.md Release v0.0.4 2020-07-10 16:19:29 +03:00
CODE_OF_CONDUCT.md Add governance files like DCO, MAINTAINERS, CoC 2020-04-12 23:54:35 +02:00
CONTRIBUTING.md Add governance files like DCO, MAINTAINERS, CoC 2020-04-12 23:54:35 +02:00
DCO Add governance files like DCO, MAINTAINERS, CoC 2020-04-12 23:54:35 +02:00
Dockerfile Release v0.0.1-beta.2 2020-06-10 11:09:36 +03:00
LICENSE Initial commit 2020-04-05 11:55:46 +03:00
MAINTAINERS Add governance files like DCO, MAINTAINERS, CoC 2020-04-12 23:54:35 +02:00
Makefile Generate API documentation 2020-06-19 16:45:05 +02:00
PROJECT Introduce HelmChart API and controller 2020-04-12 18:44:37 +02:00
README.md Release v0.0.4 2020-07-10 16:19:29 +03:00
go.mod Release v0.0.3 2020-07-09 15:30:01 +03:00
go.sum Release v0.0.3 2020-07-09 15:30:01 +03:00
main.go Add constants for kind names 2020-07-10 12:07:54 +02:00

README.md

Source controller

e2e report license release

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.

overview

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)