Commit Graph

213 Commits

Author SHA1 Message Date
Hidde Beydals 2290e274df
Release v0.31.1
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-03-10 15:31:51 +01:00
Hidde Beydals 4c7c04c78d
Release v0.31.0
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-03-08 16:46:43 +01:00
Hidde Beydals ef569c3e17
Update source-controller to v0.36.0
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-03-08 15:15:08 +01:00
Sanskar Jaiswal 5dbdbd1299 check if service account exists before uninstalling release
Check if the service account to be impersonated actually exists
and proceed with uninstalling the Helm release only if it does.
Otherwise, skip uninstalling the release and carry on with finalization.
Add an e2e test to check if deleting a namespace with the RBAC and
HelmRelease succeeds with the namespace being fully deleted.

Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2023-03-02 18:13:26 +05:30
Hidde Beydals 16ce900b20
api: switch to `meta.KubeConfigReference`
This is backwards compatible, as it only changes the type without the
further requirements around the YAML declaration.

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-03-01 09:36:43 +01:00
Hidde Beydals 2e52949426 Release v0.30.0
Signed-off-by: Hidde Beydals <hello@hidde.co>
2023-02-17 10:34:53 +01:00
Hidde Beydals 43e7fbef7b Update source-controller to v0.35.1
Signed-off-by: Hidde Beydals <hello@hidde.co>
2023-02-17 09:41:47 +01:00
Hidde Beydals db7ce7e695 Update controller API build tooling
- Update both to their latest versions
- Introduce version variables

Signed-off-by: Hidde Beydals <hello@hidde.co>
2023-02-16 17:54:51 +01:00
Hidde Beydals 8b3edfd7b9 Support RFC-0005 revision format
This updates all the comparisons to make use of `HasRevision` which
supports the RFC-0005 and legacy revision formats.

Signed-off-by: Hidde Beydals <hello@hidde.co>
2023-02-16 17:10:08 +01:00
Hidde Beydals fff787d60b Release v0.29.0
Signed-off-by: Hidde Beydals <hello@hidde.co>
2023-02-01 15:02:45 +00:00
Hidde Beydals 6a7949951e Update source-controller to v0.34.0
Signed-off-by: Hidde Beydals <hello@hidde.co>
2023-02-01 14:28:11 +00:00
Aurel Canciu 57d715f5ef
Release v0.28.1
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2022-12-22 14:12:33 +01:00
Hidde Beydals ef3a0b45b2 Release v0.28.0
Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-12-20 15:41:59 +00:00
Hidde Beydals 261b5acbf3 Update source-controller to v0.33.0
Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-12-20 14:39:56 +00:00
Paulo Gomes b3ce60ddc3
Release v0.27.0
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-11-22 12:03:48 +00:00
Zhongcheng Lao 4b56a39797
Allow 'h' in HelmRelease timeout field
Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@microsoft.com>
2022-11-15 09:19:10 +08:00
Stefan Prodan e97fdfb19b
Release v0.26.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-10-21 19:12:35 +03:00
Soule BA e5f7b8ccb4
Add an e2e test for keyless verification
Signed-off-by: Soule BA <bah.soule@gmail.com>
2022-10-21 16:59:05 +02:00
Soule BA 2b0e35559c
Add cosign verification to the chart Template
If implemented users can reconcile charts with cosign verification
enabled.

Signed-off-by: Soule BA <bah.soule@gmail.com>
2022-10-21 16:18:02 +02:00
Hidde Beydals ec2eee8f62 api: allow configuration of `h` unit for timeouts
Unlike the other Flux components, there are some scenarios in which a
timeout of 1h (or more) is justified to be able to Helm actions which
take a long time to finish.

To support this, widen the validation added in
54aee36b3a to allow the configuration
of the `h` time unit again. At the cost of theoretically keeping the
workers busy for a long duration of time (and thereby not processing
other changes), but without causing a full denial of service.

Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-10-21 11:14:55 +00:00
Stefan Prodan f80eab1833
Release v0.25.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-09-29 19:47:20 +03:00
Stefan Prodan 41f1713711
Build with Go 1.19
- Update Go to 1.19 in CI
- Use Go 1.19 in base image
- Update controller-gen v0.8.0 (v0.7 fails with Go 1.19) and regenerate manifests

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-09-28 18:37:42 +03:00
Stefan Prodan 54aee36b3a
api: add custom validation for v1.Duration types
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-09-20 12:21:37 +03:00
Stefan Prodan c929c39107
Release v0.24.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-09-12 12:04:42 +03:00
Stefan Prodan 1c5d68ff4e
Release v0.23.1
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-08-29 12:52:31 +03:00
Stefan Prodan 62cb973324
Update Kubernetes packages to v1.25.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-08-29 12:26:48 +03:00
Paulo Gomes 22ddc8e024
Release v0.23.0
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-08-19 11:04:09 +01:00
Paulo Gomes 3cd330cc53
Add validation to TargetPath and ValuesKey
Formalises the API requirements around TargetPath and ValuesKey,
which were the two fields missing validation within ValuesReference.
In both cases the validation was introduced at CRD level, so that
the apiserver will enforce it.

ValuesKey must be a valid Data Key. Therefore the same logic used by
upstream Kubernetes is reused here to ensure a valid key is being used.

For TargetPath a loose regex is being used to largely represent the
expected format. A max length of 250 is now being enforced.

This is a breaking change, as invalid TargetPath and ValuesKey will now
be rejected by the apiserver, instead of being accepted and potentially
failing at reconciliation time.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-08-17 14:30:35 +01:00
Paulo Gomes 3761c56651
Release v0.22.2
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-07-13 16:46:44 +01:00
Hidde Beydals f4d0b13a6e Release v0.22.1
Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-06-07 14:43:28 +02:00
Hidde Beydals 7d3ee6c662 Update dependencies
- github.com/fluxcd/source-controller/api to v0.25.3
- k8s.io/api to v0.24.1
- k8s.io/apiextensions-apiserver to v0.24.1
- k8s.io/apimachinery to v0.24.1
- k8s.io/cli-runtime to v0.24.1
- k8s.io/client-go to v0.24.1

Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-06-07 13:07:45 +02:00
Hidde Beydals a0146bded8 Release v0.22.0
Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-06-01 16:15:51 +02:00
Hidde Beydals b98343c5fd Update source-controller to v0.25.0
Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-06-01 15:41:31 +02:00
Hidde Beydals 2e41adc176 Release v0.21.0
Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-05-03 15:56:53 +02:00
Hidde Beydals 9f3ddc2b68 Update dependencies
- github.com/fluxcd/pkg/runtime to v0.14.2
- github.com/fluxcd/source-controller/api to v0.24.4
- k8s.io/* to v0.23.6

Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-05-03 14:24:47 +02:00
Nick Stogner 9f60433550 Add .spec.kubeConfig.secretRef.key
Signed-off-by: Nick Stogner <nicholas.stogner@gmail.com>
2022-04-28 13:19:22 +02:00
Hidde Beydals ad6588aa74 Update source-controller to v0.24.1
Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-04-22 11:09:33 +02:00
Hidde Beydals 202544fc6a Release v0.20.1
Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-04-20 11:17:44 +02:00
Hidde Beydals 4e34ec6d76 Release v0.20.0
Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-04-19 14:53:30 +02:00
Hidde Beydals e0dce3023b Update dependencies
- github.com/fluxcd/pkg/runtime to v0.14.1
- github.com/fluxcd/source-controller/api to v0.24.0
- github.com/hashicorp/go-retryablehttp to v0.7.1
- github.com/onsi/gomega to v1.19.0
- sigs.k8s.io/kustomize/api to v0.11.4
- sigs.k8s.io/kustomize/kyaml to v0.13.6

Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-04-19 14:06:13 +02:00
Paulo Gomes 9e0e7f59e8
Release v0.19.0
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-04-05 12:55:06 +01:00
Paulo Gomes 86a8d26985
Update KubeConfig documentation
When the flag --default-service-account was added it changed
slightly the behaviour of the spec.KubeConfig field. It forces
the impersonation to always take place, either via the contents
of spec.ServiceAccountName or its fallback at controller level.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-04-04 16:30:07 +01:00
Hidde Beydals a90c831d52 Release v0.18.2
Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-03-25 17:57:36 +01:00
Hidde Beydals 4563872606 Update source-controller API to v0.22.3
Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-03-25 16:59:17 +01:00
Hidde Beydals ef1d15e061 Release v0.18.1
Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-03-23 19:52:09 +01:00
Hidde Beydals 8c2d8e498e Update source-controller API to v0.22.1
Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-03-23 18:28:50 +01:00
Hidde Beydals 6b8d6b5ca5 Release v0.18.0
Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-03-21 14:00:35 +01:00
Sunny 6bd29a729d Use new standardized runtime and meta package
This includes an update of the source-controller to v0.22.0, to pull in
the v1beta2 API which makes use of the same packages.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
2022-03-18 13:10:32 +01:00
Hidde Beydals 892e6d44e7 Release v0.17.2
Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-03-15 14:29:23 +01:00
Kingdon Barrett 0f241ca5fb add fsgroup for securityContext
Signed-off-by: Kingdon Barrett <kingdon@weave.works>
2022-03-15 11:04:22 +01:00