Commit Graph

70 Commits

Author SHA1 Message Date
Alexander Berger 7db84ac307 Add support for Kustomize based PostRenderer as built-in post renderer.
Signed-off-by: Alexander Berger <alex-berger@gmx.ch>
2021-02-03 15:29:51 +01:00
Hidde Beydals 0e573408a9 Release v0.6.1
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-01-25 18:35:45 +01:00
Hidde Beydals 9d19ac6298 Release v0.6.0
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-01-22 13:05:47 +01:00
Stefan Prodan d072da6298
Update fluxcd/pkg/runtime to v0.8.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-21 19:09:04 +02:00
Hidde Beydals c85b99bd8c Release v0.5.2
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-01-18 13:40:21 +01:00
Hidde Beydals c66e875a60 Update K8s, Helm, source API and ctrl-runtime deps
* `github.com/fluxcd/pkg/apis/meta` to `v0.6.0`
* `github.com/fluxcd/source-controller/api` to `v0.6.0`
* `helm.sh/helm/v3` to `v3.5.0`
* `k8s.io/*` to `v0.20.2`
* `sigs.k8s.io/controller-runtime` to `v0.8.0`

Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-01-16 14:19:03 +01:00
Hidde Beydals e2ce223a24 Release v0.5.1
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-01-14 15:57:28 +01:00
Hidde Beydals 9b139cdcaa Upgrade source-controller API to v0.6.1
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-01-14 12:43:35 +01:00
Hidde Beydals 32693b8106 Upgrade runtime package to v0.6.2
To include a bug fix to the `ReconcilateAtChangedPredicate`
and renaming to `ReconcileRequestedPredicate`.

Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-01-14 12:32:34 +01:00
Sean Eagan 832efe4107 Remove mergo version replacement
As of #183 this is no longer needed.

Signed-off-by: Sean Eagan <seaneagan1@gmail.com>
2021-01-13 10:45:31 -06:00
Hidde Beydals 7ef8c82698 Release v0.5.0
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-01-12 13:38:37 +01:00
Hidde Beydals 5b401818c7 Upgrade source-controller to v0.6.0
This commit upgrades both the `source-controller` API package and the
runtime dependency to `v0.6.0`.

Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-01-12 12:53:40 +01:00
Hidde Beydals e511cb8af4 Upgrade controller-runtime to v0.7.0
This commit upgrades the `controller-runtime` dependency to `v0.7.0`,
including all changes required to make all wiring work again.

- Upgrade `runtime` to v0.6.0 to include `controller-runtime` changes.
- Loggers have been removed from the reconcilers and are now retrieved
  from the `context.Context` passed to the `Reconcile` method and
  downwards functions.
- Logger configuration flags are now bound to the flag set using
  `BindFlags` from `runtime/logger`, ensuring the same contract across
  GitOps Toolkit controllers, and the `--log-json` flag has been
  deprecated in favour of the `--log-encoding=json` default.
- The `ChangePredicate` from `runtime` has changed to a
  `ReconcilateAtChangedPredicate`, and is now chained with the
  `GenerationChangedPredicate` from `controller-runtime` using
  `predicate.Or`.
- Signatures that made use of `runtime.Object` have changed to
  `client.Object`, removing the requirement to e.g. call
  `runtime.Object#Object`.
- The `leader-election-role` was changed, as leader election now works
  via the `coordination/v1` API.

Other notable changes:

- `util.ObjectKey` was added to easily construct a `client.ObjectKey` /
  `types.NamespacedName` from a `metav1.Object`.

Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-01-11 17:41:49 +01:00
Hidde Beydals 80ecda4848 Release v0.4.4
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-16 16:30:26 +01:00
Hidde Beydals 462de15519 Upgrade source-controller to v0.5.5
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-16 16:06:59 +01:00
Hidde Beydals 08ee4d5959 Upgrade source-controller to v0.5.2
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-11 14:52:50 +01:00
Hidde Beydals 21941c5ed4 Release v0.4.3
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-10 11:06:18 +01:00
Hidde Beydals f57c81e9d7 Upgrade source-controller API to v0.5.1
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-10 10:46:04 +01:00
Hidde Beydals 84f0fa78c1 Upgrade dependencies
* `github.com/fluxcd/pkg/apis/meta` to `v0.5.0`
* `github.com/fluxcd/pkg/runtime` to `v0.4.0`
* `github.com/fluxcd/source-controller/api` to `v0.5.0`
* `k8s.io/{api,apiextensions-apiserver,apimachinery,cli-runtime,
  client-go}` to `v0.19.4`
* `sigs.k8s.io/controller-runtime` to `v0.6.4`

Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-09 19:35:10 +01:00
Hidde Beydals f4133ad424 Release v0.4.2
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-04 16:51:57 +01:00
Sean Eagan bb47c17eb2 Replace broken mergo version
Replace mergo version used by controller-runtime which is broken [0],
until we can move to controller-runtime 0.7.0 which no longer uses this version.

Fixes #152

[0]: https://github.com/imdario/mergo/issues/139

Signed-off-by: Sean Eagan <seaneagan1@gmail.com>
2020-12-04 08:32:26 -06:00
Hidde Beydals ab776a016f Release v0.4.1
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-11-30 12:30:03 +01:00
Hidde Beydals 584a0b54f5 Release v0.4.0
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-11-26 15:40:18 +01:00
Stefan Prodan 62c2a375cb
Add readiness/liveness probes
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-11-26 10:09:44 +02:00
Hidde Beydals 667b13bd42 Release v0.3.0
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-11-20 00:54:13 +01:00
Hidde Beydals c0156f193c Refactor to adopt k8s standardized Condition type
Changes the condition type to the one introduced in k8s 1.19, including
the newly introduced helpers in place of the old pkg/apis/meta types.

Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-11-19 19:00:55 +01:00
Hidde Beydals e2e5a27252 Release v0.2.2
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-11-18 10:29:05 +01:00
Hidde Beydals 208bea95b6 Release v0.2.1
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-11-17 12:07:22 +01:00
Aurel Canciu 7fe7004821
Update pkg components and k8s to v1.19
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2020-11-01 18:23:48 +02:00
Hidde Beydals a982a982cb Upgrade Helm to v3.4.0
This Helm version includes a fix to properly log the output of Pod
status phases for (test) jobs.

Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-10-30 20:49:00 +01:00
Hidde Beydals 76071b33fb Release v0.2.0
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-10-29 13:26:26 +01:00
Michael Bridgen 0928cc1e4d Use reconcile annotation helpers
Per https://github.com/fluxcd/pkg/issues/39
2020-10-22 12:26:48 +01:00
Hidde Beydals 130b2fb633 Release v0.1.3 2020-10-16 15:12:31 +02:00
Hidde Beydals 3fccbb943f Declare and assign result Values before composing
As `ParseInto` expects the destination to be initialized, which led
to an `unable to parse key: assignment to entry in nil map` error in
configurations where the first `ValuesReference` had a `targetPath`
defined.
2020-10-15 19:12:19 +02:00
Stefan Prodan f4930b5f8a
Release v0.1.2
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-13 18:07:46 +03:00
Stefan Prodan 6a04f769b2
Update fluxcd/pkg/runtime to v0.1.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-13 15:33:46 +03:00
Hidde Beydals 55f7e39a0c Release v0.1.0 2020-09-30 20:09:15 +02:00
Hidde Beydals accd4762fe Promote API to v2beta1 2020-09-30 19:37:23 +02:00
Hidde Beydals 8129c49b9c Implement `fluxcd/pkg/apis/meta` in APIs 2020-09-30 12:14:51 +02:00
Hidde Beydals 46d8776b18 Remove reconciliation lock
As the observed generation is now pushed before syncing the resource
(https://github.com/fluxcd/helm-operator/issues/437), and the
controller runtime queue guarantuees there are no consistency
issues (see: https://openkruise.io/en-us/blog/blog2.html).
2020-09-25 15:40:45 +02:00
Hidde Beydals df0f80d894 Release v0.0.10 2020-09-23 14:03:49 +02:00
Hidde Beydals da3299e93d Upgrade Helm and source-controller dependencies
* helm.sh/helm/v3 to v3.3.4
* github.com/fluxcd/source-controller/api to v0.0.18
2020-09-23 12:30:24 +02:00
Hidde Beydals 2e4dbecd1e Support Helm charts from Bucket sources 2020-09-23 09:28:44 +02:00
Hidde Beydals a4f21f2f00 Release v0.0.9 2020-09-22 12:29:29 +02:00
Hidde Beydals 8fb854a7b5 Support dependency references to other namespaces
This also removes the sorting from the `HelmChartWatcher`, as with
the current `HelmChartTemplateSpec` a chart is only used by a single
`HelmRelease`. Rendering the action obsolete.
2020-09-15 14:55:11 +02:00
Hidde Beydals 4e7cedadb2 Release v0.0.8 2020-09-11 15:20:28 +02:00
Hidde Beydals 2f9d29f693 Support HelmChart ValuesFile field 2020-09-11 14:23:42 +02:00
stefanprodan 04d1652b9a Bump runtime and build-push-action versions 2020-09-10 15:21:39 +03:00
Michael Bridgen b164d63bff Use pkg/runtime for annotation and predicate
The predicate which filters update events for generation change or the
reconcileAt annotation has been factored out into fluxcd/pkg/runtime.
2020-09-09 18:56:35 +01:00
stefanprodan a928df36f3 Release v0.0.7 2020-09-04 15:35:59 +03:00