All notable changes to this project are documented in this file.
Release date: 2021-02-03
This prerelease fixes a bug where the controller tried to update dependencies for Helm charts even when dependencies were already present.
Release date: 2021-02-02
This prerelease changes the strategy of the controller's deployment to Recreate to prevent a deadlock during upgrades and to ensure safe usage of backing persistent (RW) volumes.
Release date: 2021-02-01
This prerelease ensures the file server of the controller only starts for the elected leader, and improves the visibility of chart name validation errors.
Release date: 2021-01-25
This prerelease changes the recorded revision for a HelmRepository
resource
to a SHA1 checksum, this to improve the detection of changes for repositories
that do not correctly update their advertised generation timestamp.
Release date: 2021-01-21
This is the seventh MINOR prerelease.
Two new argument flags are introduced to support configuring the QPS
(--kube-api-qps
) and burst (--kube-api-burst
) while communicating
with the Kubernetes API server.
The LocalObjectReference
from the Kubernetes core has been replaced
with our own, making Name
a required field. The impact of this should
be limited to direct API consumers only, as the field was already
required by controller logic.
Overwrite of chart values has been patched to correctly read the data from the defined YAML file.
Release date: 2021-01-19
This prereleases comes with bug fixes to the HelmChart
indexes,
watches, and the overwrite of chart values.
Release date: 2021-01-16
This prerelease comes with updates to Kubernetes and Helm dependencies. The Kubernetes packages were updated to v1.20.2 and Helm to v3.5.0.
Release date: 2021-01-14
This prerelease fixes a regression bug introduced in v0.6.0
that caused
reconciliation request annotations to be ignored in certain scenarios.
Release date: 2021-01-12
This is the sixth MINOR prerelease, upgrading the controller-runtime
dependencies to v0.7.0
.
The container image for ARMv7 and ARM64 that used to be published
separately as source-controller:*-arm64
has been merged with the
AMD64 image.
Release date: 2020-12-18
This prerelease fixes a regression bug that made it impossible to
reference to a HelmChart.ValuesFile
in a path relative to the
root of the Bucket
or GitRepository
source.
Release date: 2020-12-16
This prerelease adds safe guards for user defined relative paths, ensuring they never traverse outside working directories.
Other notable changes:
- ListObjects V1 fallback for GCS S3 endpoints, ensuring generic
Bucket
resources connecting to GCS are able to list object - HelmChart controller panic regression bug fix, introduced in
v0.5.0
Release date: 2020-12-12
This prerelease fixes a bug in the build process that caused the
ARMv7 image to fail due to libgit2
requiring musl>=1.2.0
.
Release date: 2020-12-11
This prerelease fixes a regression bug causing the commit hash for the
go-git
implementation to not be forwarded, introduced by the support
for multiple Git implementations.
Release date: 2020-12-11
This prerelease adds the option to configure the advertised storage
address using the --storage-adv-addr
flag.
The default deployment manifest uses this to configure the FQDN of
the service (source-controller.$(RUNTIME_NAMESPACE).svc.cluster.local.
),
but omitting the flag will result in a fallback to the previous behavior
for backwards compatibility.
Release date: 2020-12-09
This prerelease fixes a bug in the build process that caused the
ARMv7 build to fail due to libgit2
requiring musl>=1.2.0
.
Release date: 2020-12-09
This is the fifth MINOR prerelease, adding a new Git implementation
(libgit2
) to allow for communication with Git servers that just
support the Git v2 protocol, like Azure Devops.
The new Git implementation can be enabled by configuring the
GitImplementation
in a GitRepository
to libgit2
(default:
go-git
). Note that this implementation does not support shallow
cloning, and it is therefore advised to only resort to this option
if a connection fails with the default configuration.
Other notable changes in this release:
- Bug fix to respect the configured SSH user in
GitRepository
URLs - Chart name validation for charts from a
HelmRepository
resource - Kubernetes dependency upgrades to
v1.19.4
- Helm upgrade to
v3.4.2
Release date: 2020-11-26
This prerelease fixes a bug in the listing of HelmChart resources for GitRepository changes.
Release date: 2020-11-26
This is the fourth MINOR prerelease, adding support for suspension
of resources using .spec.suspend
, and watchers for the upstream
sources of HelmChart
resources to detect revision changes faster.
Release date: 2020-11-19
This prerelease comes with a fix to garbage collection.
The status sub-resource has a new field called LastHandledReconcileAt
that can be used to track the reconciliation progress.
This version comes with a breaking change to the API package: the status condition type is imported from Kubernetes API machinery 1.19.
Release date: 2020-11-12
This prerelease comes with improvements to status reporting. The Kubernetes packages have been updated to v1.19.
Release date: 2020-10-30
This prerelease comes with a fix for a regression bug (introduced in
v0.2.0
) where dependency entries in the Chart.yaml
file during the
(re)packaging of the Helm chart artifact would have their names
overwritten with the alias if defined.
Release date: 2020-10-29
This is the second MINOR prerelease, it comes with breaking changes:
- Due to a change of semver library to exclude pre-releases from
1.0.x
ranges, support for more complex ranges like>=1.0.0 <2.0.0 || >=3.0.0 !3.0.1-beta.1
has been dropped. - The histogram metric
gotk_reconcile_duration
was renamed togotk_reconcile_duration_seconds
Other notable changes:
- Ambiguous semver matches are now sorted by the timestamp of the source system to use the most recent match.
- Added support for downloading dependencies for Helm charts from
GitRepository
andBucket
sources. - Added support for creating artifacts for packaged Helm charts (
.tgz
) fromGitRepository
andBucket
sources. - The annotation
fluxcd.io/reconcileAt
was renamed toreconcile.fluxcd.io/requestedAt
, the former will be removed in a next release but is backwards compatible for now.
Release date: 2020-10-13
This prerelease comes with Prometheus instrumentation for the controller's resources.
For each kind, the controller exposes a gauge metric to track the Ready
condition status,
and a histogram with the reconciliation duration in seconds:
gotk_reconcile_condition{kind, name, namespace, status, type="Ready"}
gotk_reconcile_duration{kind, name, namespace}
Release date: 2020-09-30
This is the first MINOR prerelease, it promotes the
source.toolkit.fluxcd.io
API to v1beta1
and removes support for
v1alpha1
.
Going forward, changes to the API will be accompanied by a conversion mechanism. With this release the API becomes more stable, but while in beta phase there are no guarantees about backwards compatibility between beta releases.
Release date: 2020-09-23
This prerelease fixes a reconciliation bug that prevented
resources recovering from transient errors.
Container images for ARMv7 and ARMv8 are published to
ghcr.io/fluxcd/source-controller-arm64
.
The Helm package was updated to v3.3.4.
Release date: 2020-09-18
This prerelease comes with support for S3 compatible storage sources defined as buckets. The Helm package was updated to v3.3.2.
Release date: 2020-09-12
This prerelease comes with the option to watch for resources in the runtime namespace of the controller or at cluster level.
Release date: 2020-09-11
This prerelease adds support for overwriting the default values of a
HelmChart
by defining a ValuesFile
, adds a Checksum
field to the
Artifact
object, and comes with several improvements to the storage
and handling of artifacts.
Release date: 2020-09-04
This prerelease comes with Helm v3.3.1. Container images for linux/amd64 and linux/arm64 are published to GHCR.
Release date: 2020-09-01
This prerelease fixes a bug in the packaging of HelmChart
artifacts
build from GitRepository
sources, and improves the logic of the
Storage.ArtifactExist
method to not follow symlinks and only return
true
for regular files.
Release date: 2020-08-31
This prerelease adds support for HelmChart
artifacts build from
GitRepository
sources, and includes several (breaking) changes
to the API:
- The
Name
field in theHelmChartSpec
has been renamed toChart
, and may now contain the path a chart is available at in a referred Source. - The
HelmRepositoryRef
field in theHelmChartSpec
has been renamed toSourceRef
, and may now contain a reference toHelmRepository
andGitRepository
resources. - The
Kind
field in theSourceRef
object is now mandatory.
Other notable changes: the HelmChart
Version
field now supports the
same ranges as the GitRepository
SemVer checkout strategy, support for
relative URLs in HelmRepository
indexes, and several other bug fixes.
Release date: 2020-08-21
This prerelease only included a version change of
github.com/fluxcd/source-controller/api
to publish go.mod
changes.
Release date: 2020-08-18
This prerelease comes with a bug fix to the Git semver checkout.
Release date: 2020-08-17
This prerelease upgrades the github.com/fluxcd/pkg/*
dependencies
to dedicated versioned modules.
Release date: 2020-08-12
This prerelease comes with improvements to Helm repository index fetching. The Helm getter was upgraded to v3.3.0, and it's possible to configure the timeout of index downloads.
Release date: 2020-07-31
This prerelease comes with a breaking change, the
CRDs group has been renamed to source.toolkit.fluxcd.io
.
Release date: 2020-07-20
This prerelease drops support for Kubernetes <1.16.
The CRDs have been updated to apiextensions.k8s.io/v1
.
Release date: 2020-07-13
This prerelease comes with improvements to logging.
The default logging format is JSON and the timestamp format is ISO8601.
Introduce fluxcd.io/reconcileA
annotation for on-demand reconciliation
of source objects.
Release date: 2020-07-10
This prerelease comes with fixes to the testing framework.
Release date: 2020-07-09
This prerelease adds support for
ignore patterns
to be specified on GitRepository
objects.
Release date: 2020-07-03
This prerelease comes with Kubernetes events dispatching. The reconciliation events can be forwarded to notification controller and alerting can be configured for Slack, MS Teams, Discord and Rocket chat using the notification.fluxcd.io API.
Release date: 2020-06-24
This is the first prerelease ready for public testing. To get started testing, see the GitOps Toolkit guide.
Release date: 2020-06-10
This beta release comes with improvements to the artifacts archiving.
Release date: 2020-05-29
This is the first beta release of source controller. This release adds support for excluding files when packaging artifacts from Git repositories.
Release date: 2020-05-06
This alpha release comes with improvements
to the GitRepository
reconciler. Starting with this version, the controller
watches for sources only in the namespace where it's deployed.
Release date: 2020-04-30
This alpha release contains several bug fixes #47 #49 #50. After a successful synchronization, the controller reports the revision in the status ready condition.
Release date: 2020-04-28
This alpha release comes with integrity checks for artifacts produced from Git repositories.
Release date: 2020-04-27
This alpha release contains a bug fix
for GitRepositories
status reporting and allows
waiting for sources on-demand sync.
Release date: 2020-04-24
This is the second alpha release of source controller.
It introduces a timeout field to the GitRepositoriesSpec
and SyncAt
annotation to the common spec.
Furthermore, it allows configuring the amount of concurrent reconciliation
operations per reconciler using the newly introduced --concurrent
flag
(defaults to 2
), and introduces a --log-json
flag to enable JSON logging.
Liveness and readiness probes have been added to the deployment manifest, and the security has been strengthened by running the controller as a non-root user by default and adding a container security context.
Tests have been added to ensure correct behaviour of the HelmChartReconciler
and HelmRepositoryReconciler
.
Release date: 2020-04-16
This is the first alpha release of source controller. The controller is an implementation of the source.fluxcd.io/v1alpha1 API based on the specifications described in the Source Controller Proposal.