The GitOps Toolkit source management component
Go to file
Aurel Canciu 946d1e6ac0
Remove use of chartutil.ProcessDependencies
It looks like the use of chartutil.ProcessDependencies in the HelmChart
Controller was not correct, this method seems to be used in Helm only
during install/upgrade. The intention was to load the dependencies but
this seems to not be needed as it's already done through the loaders
(loader.Load).

The use of this method caused a regression where Chart.yaml files would
be overwritten and registered subcharts that had aliases would be
renamed using the alias name. While this is an expected behaviour of
chartutil.ProcessDependencies it is not what the controller should do
to the chart during (re)packaging.

Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2020-10-30 19:16:28 +02:00
.github/workflows Reorganize helm chart testdata for controllers 2020-10-28 14:57:12 +02:00
api Index HelmRepository resources by their URL 2020-10-28 14:57:12 +02:00
config Release v0.2.0 2020-10-29 12:35:51 +01:00
controllers Remove use of chartutil.ProcessDependencies 2020-10-30 19:16:28 +02:00
docs Change links to SemVer range docs 2020-10-28 12:43:23 +01:00
hack Change copyright to Flux authors 2020-10-27 17:54:22 +01:00
internal Change copyright wording to accomodate convention 2020-10-28 18:08:44 +02:00
pkg/git Switch to Masterminds/semver and pkg/version libs 2020-10-28 12:21:08 +01:00
.gitignore ci: Add release workflow 2020-04-13 18:28:22 +03:00
CHANGELOG.md Release v0.2.0 2020-10-29 12:35:51 +01: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 Promote API to v1beta1 2020-09-30 16:11:00 +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 Promote API to v1beta1 2020-09-30 16:11:00 +03:00
PROJECT Promote API to v1beta1 2020-09-30 16:11:00 +03:00
README.md Set default branch to main 2020-10-05 15:42:37 +03:00
go.mod Release v0.2.0 2020-10-29 12:35:51 +01:00
go.sum Update fluxcd/pkg/runtime to v0.1.2 2020-10-28 13:59:19 +02:00
main.go Change copyright to Flux authors 2020-10-27 17:54:22 +01: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, Helm repositories and S3 buckets. The source-controller implements the source.toolkit.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)