Hidde Beydals
bbbb3174cd
Release v0.13.2
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-06-02 12:03:26 +02:00
Stefan Prodan
2819924c78
Add e2e tests for large Git repositories
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-06-02 12:45:38 +03:00
Stefan Prodan
b3aa9548ec
Release v0.13.1
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-05-28 11:17:27 +03:00
Stefan Prodan
145a82a429
Release v0.13.0
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-05-26 14:45:14 +03:00
Philip Laine
fcf7048992
Add include property to GitRepositories
...
Signed-off-by: Philip Laine <philip.laine@gmail.com>
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2021-05-11 09:46:50 +02:00
Hidde Beydals
ba5bd31572
Release v0.12.2
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-05-10 16:14:52 +02:00
Hidde Beydals
fe995a74bf
Release v0.12.1
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-04-23 11:35:34 +02:00
Stefan Prodan
bd0f1fdd19
Release v0.12.0
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-04-21 17:57:50 +03:00
Dylan Arbour
4a834e1d2d
Add `ValuesFiles` to HelmChart spec
...
Signed-off-by: Dylan Arbour <arbourd@users.noreply.github.com>
2021-04-19 09:16:53 -04:00
abhinav454
ae24285596
Add shortNames to api resources
...
Signed-off-by: abhinav454 <43758739+abhinav454@users.noreply.github.com>
2021-04-15 09:03:56 -04:00
Stefan Prodan
89c37039fb
Release v0.11.0
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-03-31 17:42:40 +03:00
Stefan Prodan
664a568822
Add support for Git submodules with go-git
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-03-30 13:00:13 +03:00
Hidde Beydals
2c084ba825
Release v0.10.0
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-03-26 13:41:18 +01:00
Hidde Beydals
1a4b2662e6
Release v0.9.1
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-03-15 12:29:48 +01:00
Stefan Prodan
f818317d39
Release v0.9.0
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-02-23 15:08:16 +02:00
Stefan Prodan
22f5a6f6fb
Update dependencies
...
- helm.sh/helm/v3 v3.5.2 (forces us into pinning docker)
- sigs.k8s.io/controller-tools/cmd/controller-gen v0.4.1
- sigs.k8s.io/controller-runtime v0.8.2
- fluxcd/pkg/apis/meta v0.8.0
- fluxcd/pkg/runtime v0.8.3
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-02-23 13:18:21 +02:00
Hidde Beydals
f2dfa2d0cb
Release v0.8.1
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-18 10:26:55 +01:00
Hidde Beydals
cae8241e17
Release v0.8.0
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-12 12:07:28 +01:00
Stefan Prodan
e1ee5104e3
Add fsGroup to pod security context
...
Required for AWS IAM Role bindings
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-02-07 18:34:11 +02:00
Hidde Beydals
7ae5857e13
Release v0.7.4
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-03 12:53:00 +01:00
Hidde Beydals
cfab200bf6
Release v0.7.3
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-02 12:16:53 +01:00
Hidde Beydals
16c6a07504
Use Recreate strategy for controller deployment
...
- Prevents a deadlock in active-passive HA setups with multiple
replicas and during upgrades that previously occurred. As the
leader election would be held hostage by the previous replica
set due to the rolling update strategy.
- Ensures backing persistent (RW) volumes can safely be used, as
they can not be shared and will not become available to the next
pod without recreating all.
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-02 11:40:52 +01:00
Hidde Beydals
77d28a0ed0
Release v0.7.2
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-01 15:55:39 +01:00
Hidde Beydals
c665907540
Use controller-runtime health probe for liveness
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-01 15:00:17 +01:00
Hidde Beydals
144754112b
Release v0.7.1
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-01-25 23:02:05 +01:00
Hidde Beydals
2effa7c0b6
Release v0.7.0
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-01-21 17:43:57 +01:00
Stefan Prodan
207ed99d72
Use LocalObjectReference from fluxcd/pkg/meta v0.7
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-21 14:18:42 +02:00
Hidde Beydals
a050f6457c
Release v0.6.3
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-01-19 11:21:38 +01:00
Stefan Prodan
057c134bfa
Release v0.6.2
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-16 15:12:56 +02:00
Hidde Beydals
b979574454
Release v0.6.1
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-01-14 12:05:14 +01:00
Hidde Beydals
fa257b13f3
Release v0.6.0
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-01-12 12:41:45 +01:00
Hidde Beydals
fda481efe9
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 `client.MatchingField` function was deprecated, and has been
replaced with `client.MatchingFields{}`.
- 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`.
- The `SourceIndexKey` constant has been split out into
`{GitRepository,HelmRepository,Bucket}IndexKey` constants.
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-18 19:17:10 +01:00
Hidde Beydals
5286cb0f90
Release v0.5.6
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-18 11:32:12 +01:00
Aurel Canciu
a55c502bb4
Fix HelmChart valuesFile chart path restriction
...
As part of the feature implementation to support helm chart
dependencies, the functionality for allowing values files overwriting
from any location scoped to the same source was altered. This should fix
the problem by allowing users to load files from any arbitrary location
as long as it's in the context of the same source from where the helm
chart itself is loaded.
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2020-12-17 12:57:41 +02:00
Hidde Beydals
b46f32cd3f
Release v0.5.5
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-16 15:50:00 +01:00
Stefan Prodan
fd08e9f678
Release v0.5.4
...
Fix for ARMv7
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-12-12 14:34:12 +02:00
Hidde Beydals
21a007e7eb
Release v0.5.3
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-11 16:29:43 +01:00
Hidde Beydals
6520490c62
Release v0.5.2
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-11 14:33:22 +01:00
Hidde Beydals
fa71f3269b
Allow overwrite of advertised storage addr
...
The added `--storage-adv-addr` flag allows overwriting the HTTP address
advertised in the status objects of the sources. This allows for finer
grain configuration in setups where a modified service is used, or where
the DNS resolution differs from the Kubernetes defaults.
When the flag is omitted, an attempt is made to determine the address
based on the configured `--storage-addr` and the `HOSTNAME`.
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-11 14:07:27 +01:00
Hidde Beydals
e8888e2896
Release v0.5.1
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-10 00:22:32 +01:00
Hidde Beydals
3fdd95713c
Release v0.5.0
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-09 19:15:20 +01:00
Philip Laine
f044ebc253
Rename git2go option to libgit2
...
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-12-06 23:19:57 +01:00
Philip Laine
1b4eacc588
Refactor argument name to enable git2go
...
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-12-04 10:07:17 +01:00
Philip Laine
2cb3754953
Add support for gitv2 servers
...
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-12-02 20:18:29 +01:00
Hidde Beydals
0e44d13870
Release v0.4.1
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-11-26 18:30:04 +01:00
Hidde Beydals
e19bb4e62d
Release v0.4.0
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-11-26 14:41:56 +01:00
Stefan Prodan
07d09e2c2e
Add suspend field to Source API
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-11-26 12:49:12 +02:00
Stefan Prodan
81d8830aa4
Release v0.3.0
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-11-19 19:07:56 +02:00
Hidde Beydals
0b4586253c
Add LastHandledReconcileAt to source statuses
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-11-19 13:21:59 +01:00
Aurel Canciu
00bb853d0e
Refactor to adopt k8s standardized Condition type
...
Updates to use metav1.Condition type and removes references for
deprecated corev1.Condition* constants and uses the new k8s api/meta
helpers in place of the old pkg/apis/meta types.
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2020-11-19 13:08:33 +02:00
Stefan Prodan
33a693060b
Release v0.2.2
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-11-12 17:27:43 +02:00
Philip Laine
c0ee546ce8
Generate CRDs
...
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-11-02 09:55:39 +01:00
Philip Laine
01d0053871
Fix duration default values
...
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-11-02 09:55:39 +01:00
Hidde Beydals
08c4254464
Release v0.2.1
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-10-30 19:59:21 +01:00
Hidde Beydals
a3f7b1d5b2
Release v0.2.0
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-10-29 12:35:51 +01:00
Stefan Prodan
08d98ff214
Add finalizers to RBAC
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-28 14:39:53 +02:00
Hidde Beydals
c657e68ba1
Various API doc corrections
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-10-28 01:09:21 +01:00
Stefan Prodan
987e562922
Release v0.1.1
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-13 17:52:59 +03:00
Hidde Beydals
f7ceac644d
e2e: use podinfo chart for valuesfile tests
2020-10-06 10:37:15 +02:00
Hidde Beydals
c176dcf3a9
Release v0.1.0
2020-09-30 17:37:23 +02:00
Hidde Beydals
f6c5849235
Rename samples to match `v1beta1` API
2020-09-30 17:07:16 +02:00
stefanprodan
f16e5f041a
Promote API to v1beta1
2020-09-30 16:11:00 +03:00
Hidde Beydals
431ea05427
Implement `fluxcd/pkg/meta/api` in APIs
2020-09-30 10:18:43 +02:00
stefanprodan
501b4ac6ab
Release v0.0.18
2020-09-23 13:05:18 +03:00
Hidde Beydals
8cdb821946
docs: document Bucket support HelmChart
2020-09-21 12:40:15 +02:00
Hidde Beydals
1798b200c9
e2e: test HelmChart from Bucket
2020-09-21 12:40:15 +02:00
Hidde Beydals
03ce9d96da
Support Helm charts from Bucket sources
2020-09-21 12:40:15 +02:00
stefanprodan
924e0124b4
Release v0.0.17
2020-09-18 16:44:59 +03:00
stefanprodan
6f8c3816f4
Add secrets read-only access to RBAC
2020-09-18 16:11:28 +03:00
stefanprodan
7abb7ccf60
Add Bucket e2e tests
2020-09-18 16:11:24 +03:00
stefanprodan
716d5532a4
Add S3 test data
2020-09-18 16:11:24 +03:00
stefanprodan
0e6ae3b769
Add Bucket type to API
2020-09-18 16:11:24 +03:00
stefanprodan
bdabea02ab
Release v0.0.16
2020-09-12 10:36:17 +03:00
stefanprodan
800efe6664
Add watch all namespaces flag
2020-09-11 15:57:36 +03:00
Hidde Beydals
3e04d16292
Release v0.0.15
2020-09-11 13:52:32 +02:00
Hidde Beydals
eaec41f6e9
e2e: test HelmChart ValuesFile
2020-09-11 13:33:08 +02:00
Hidde Beydals
2e0b6cb6c9
Allow overwriting chart values from GitRepository
2020-09-11 11:32:45 +02:00
Hidde Beydals
b5d869db03
Include PATCH rule for events in manager-role
...
During high custom resource count / low interval tests, I was greated
with a `cannot patch resource "events"` message. This happened due to
event compaction, where it will perform a patch instead of a create.
By giving the role the permission to do so this should no longer pose
a problem.
2020-09-10 21:17:10 +02:00
Hidde Beydals
7a3a5938d3
Mark resources as progressing on spec changes
2020-09-10 14:13:41 +02:00
stefanprodan
86c8b0c9bd
Configure manager logging and set level to info
2020-09-09 15:22:03 +03:00
Hidde Beydals
99b74da044
api/artifact: add checksum field to artifact
...
This includes a change to how the revision for HelmRepository sources is
recorded, as this will now equal to the generated timestamp from the index
in RFC3339Nano format.
2020-09-09 13:41:56 +02:00
stefanprodan
5126da855e
Release v0.0.14
2020-09-04 15:41:12 +03:00
Hidde Beydals
91fa9acdc3
Release v0.0.13
2020-09-01 16:53:29 +02:00
Hidde Beydals
c229af95b0
Release v0.0.12
2020-08-31 17:16:32 +02:00
Hidde Beydals
24f47ac183
Support Helm charts from GitRepository sources
2020-08-31 16:21:53 +02:00
Hidde Beydals
d38b8fe193
Support proper semver ranges for Helm charts
...
This commit changes the semver range parser to `blang/semver`, which
is also used to parse semver tags for GitRepository sources.
2020-08-31 10:03:47 +02:00
stefanprodan
87193e1522
Remove deprecated bases from default kustomization
2020-08-21 10:26:46 +03:00
stefanprodan
f47eb995fe
Release v0.0.10
2020-08-18 14:40:12 +03:00
Hidde Beydals
3a1894482c
Release v0.0.9
2020-08-17 15:27:10 +02:00
stefanprodan
0a1cf8c4e3
Release v0.0.8
2020-08-12 17:20:25 +03:00
stefanprodan
4486ab7a5e
Implement HelmRepository timeout
2020-08-12 14:10:03 +03:00
stefanprodan
3e76138806
Release v0.0.7
2020-07-31 09:22:16 +03:00
Hidde Beydals
8e1b213da5
Change CRD domain to 'source.toolkit.fluxcd.io'
...
Due to required domain changes for the helm-controller so that it
can co-exist in a cluster with the Helm Operator, other Toolkit
components are moving to a *.toolklit.fluxcd.io domain too.
2020-07-30 21:50:46 +02:00
stefanprodan
7182d9f1f3
Release v0.0.6
2020-07-20 13:24:49 +03:00
stefanprodan
7e2fe14efa
Upgrade CRDs to apiextensions.k8s.io/v1
2020-07-20 12:21:34 +03:00
stefanprodan
780b4388a3
Release v0.0.5
2020-07-13 16:35:22 +03:00
stefanprodan
b3e58b48dd
Rename syncAt annotation to reconcileAt
...
Use `fluxcd.io/reconcileAt` annotation across all controllers.
2020-07-13 16:06:16 +03:00
Hidde Beydals
d98882462e
Setup production logging
...
For production the log format is JSON, the timestamps format is ISO8601
and stack traces are logged when the level is set to debug.
2020-07-13 11:02:46 +02:00
stefanprodan
d1052ffd8b
Release v0.0.4
2020-07-10 16:19:29 +03:00
stefanprodan
4cee48c385
Release v0.0.3
2020-07-09 15:30:01 +03:00