Vladimir Konkov
44dec24309
add openssh client to support git+ssh Kustomize resources
...
Signed-off-by: Vladimir Konkov <vkonkov@citc.ru>
2020-10-29 16:38:23 +03:00
Stefan Prodan
3944752e82
Merge pull request #157 from fluxcd/release-v0.2.0
...
Release v0.2.0
2020-10-29 14:17:18 +02:00
Stefan Prodan
72a3aa4d2f
Release v0.2.0
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-29 14:03:06 +02:00
Hidde Beydals
5f76a28ef3
Merge pull request #156 from fluxcd/refactor-predicates-enqueuers
2020-10-28 22:57:55 +01:00
Hidde Beydals
26db48b9f0
Compare artifact <> Kustomizations in enqueuers
...
The reason for this is the `EnqueueRequestsFromMapFunc` calling the
enqueuer for _both_ the old and the new object, and we only want to act
on the ones that contain a revision different from the one that we have
recorded in the status object of the `Kustomization`.
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-10-28 22:36:34 +01:00
Hidde Beydals
752b6b6bf1
Bundle revision change predicates into one
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-10-28 21:56:44 +01:00
Hidde Beydals
debbebde60
Merge pull request #155 from fluxcd/log-reconcile-reqs
2020-10-28 13:49:32 +01:00
Hidde Beydals
824af43beb
Add Kustomization finalizers permissions
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-10-28 13:31:08 +01:00
Hidde Beydals
6bd8971cec
Re-add status GET permissions
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-10-28 13:21:53 +01:00
Hidde Beydals
e8d2c31b40
Log reconciliation requests by watcher
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-10-28 13:11:17 +01:00
Stefan Prodan
31e4da9744
Merge pull request #154 from fluxcd/copyright
...
Change copyright to Flux authors
2020-10-27 19:09:18 +02:00
Stefan Prodan
dde74d9ea5
Change copyright to Flux authors
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-27 18:49:02 +02:00
Hidde Beydals
2c3c8a97f5
Merge pull request #153 from fluxcd/watch-in-controller
...
Move dedicated watchers to in-controller watches
2020-10-27 14:37:29 +01:00
Hidde Beydals
2b861622b1
Move dedicated watchers to in-controller watches
...
This prevents the resources from getting annotated, and instead uses
the `handler.EnqueueRequestsFromMapFunc` to queue requests based on
changes to the source objects.
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-10-27 13:05:34 +01:00
Stefan Prodan
8bb4f4c80b
Merge pull request #151 from ordovicia/supress-healthchecks-when-no-changes
...
Suppress health check events when no changes made
2020-10-22 14:54:43 +03:00
Stefan Prodan
423dc6850f
Merge pull request #152 from fluxcd/use-annotation-helpers
...
Use annotation helpers
2020-10-22 14:54:29 +03:00
Michael Bridgen
3ca1bf2f16
Cross-reference anything from apis/meta to godoc
...
This means ReconcileRequestStatus is also given a link to the godoc,
as a consolation for not having its field inlined.
2020-10-22 12:02:19 +01:00
Michael Bridgen
e78726f97c
Factor out requestReconciliation
...
There were two of these methods, identical aside from the receiver --
and the requirement on the receiver was just that it was a client that
knows the Kustomization type.
2020-10-22 11:37:13 +01:00
Michael Bridgen
b8d71327f7
Use reconcile request annotation helpers
...
Per https://github.com/fluxcd/pkg/issues/39
2020-10-22 11:37:13 +01:00
Hidehito Yabuuchi
5ed7463552
Suppress health check events regardless of dependencies
...
Because if a dependency is failing, the reconciliation will never get to
the health check part.
2020-10-21 19:28:44 +09:00
Hidde Beydals
81a990f05c
Merge pull request #150 from fluxcd/finalizer-checks
2020-10-21 12:07:27 +02:00
Hidehito Yabuuchi
4df55dde11
Suppress health check events when no changes made
2020-10-21 19:05:04 +09:00
Hidde Beydals
546cbdd78f
Setup health and ready endpoints
2020-10-21 11:52:50 +02:00
Hidde Beydals
3315e66586
Switch to controller-runtime utils for finalizers
2020-10-21 11:15:30 +02:00
Stefan Prodan
198eda8e1f
Merge pull request #148 from fluxcd/docs/improve-kubeconfig-docs
...
Improve remote cluster documentation
2020-10-20 15:33:13 +03:00
Hidde Beydals
154560f60e
Improve remote cluster documentation
...
To highlight the fact that it works with just a KubeConfig, and not just
CAPI.
2020-10-20 14:03:53 +02:00
Stefan Prodan
df3af2949e
Merge pull request #147 from fluxcd/release-v0.1.2
...
Release v0.1.2
2020-10-16 15:25:02 +03:00
Stefan Prodan
e847dd5beb
Release v0.1.2
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-16 14:48:45 +03:00
Stefan Prodan
c0c960008a
Merge pull request #146 from fluxcd/remote-cluster-docs
...
Update remote cluster docs
2020-10-16 13:02:40 +03:00
Stefan Prodan
028c368975
Add targeting non-capi clusters to docs
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-16 12:40:17 +03:00
Stefan Prodan
fafe8539c7
Update fossa and add rebase action
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-16 12:39:29 +03:00
Stefan Prodan
fd47af2ec1
Merge pull request #135 from stealthybox/gc-healthcheck-kubeconfig
...
Implement non-caching, per-kustomization GC-client/statusPoller for cross-cluster kubeconfigs
2020-10-16 11:52:05 +03:00
leigh capili
ceb439d13c
Document Kustomization.spec.kubeConfig for Cluster API
2020-10-15 09:44:44 -06:00
leigh capili
7a1c06571a
Implement non-caching, per-kustomization GC-client/statusPoller for cross-cluster kubeconfigs
2020-10-15 09:44:44 -06:00
Stefan Prodan
7ec444545b
Merge pull request #145 from fluxcd/fix-error-event
...
Set correct status on failure events
2020-10-15 16:29:52 +03:00
Stefan Prodan
e1c7fb1bd0
Merge pull request #143 from fluxcd/yaml-validation
...
Validate manifests when generating kustomization.yaml
2020-10-15 16:23:00 +03:00
Stefan Prodan
40b4f9e452
Merge pull request #141 from fluxcd/fix-source-404
...
Fix status reporting when the source is not found
2020-10-15 16:20:35 +03:00
Stefan Prodan
826051ac54
Set correct status on failure events
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-15 16:12:58 +03:00
Stefan Prodan
ec0c43d311
Validate manifests when generating kustomization.yaml
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-15 14:18:20 +03:00
Stefan Prodan
4fc1466443
Fix status reporting when the source is not found
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-15 10:12:06 +03:00
Stefan Prodan
2a2cee36ac
Update e2e to source-controller v0.1.1
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-14 19:35:58 +03:00
Stefan Prodan
41796c036f
Merge pull request #140 from fluxcd/release-v0.1.1
...
Release v0.1.1
2020-10-13 18:15:50 +03:00
Stefan Prodan
2125d6c938
Release v0.1.1
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-13 17:59:46 +03:00
Stefan Prodan
9feda00bb4
Merge pull request #139 from fluxcd/docs-add-ns
...
Add namespace to API docs examples
2020-10-13 17:41:33 +03:00
Stefan Prodan
4b6ca1dbf4
Add namespace to API docs examples
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-13 17:26:10 +03:00
Stefan Prodan
43c99d22f0
Merge pull request #138 from fluxcd/metrics
...
Implement Prometheus instrumentation
2020-10-13 13:22:13 +03:00
Stefan Prodan
d4cef2f046
Use events and metrics from fluxcd/pkg/runtime
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-13 12:37:45 +03:00
Stefan Prodan
deb902a13f
Record reconcile duration as Prometheus histogram
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-13 09:50:00 +03:00
Stefan Prodan
a82352e892
Make the condition metric exporter generic
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-13 08:42:04 +03:00
Stefan Prodan
b2d19e469f
Set ready metric to unknown when condition is missing
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-09 18:53:49 +03:00