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
b80f450b68
Switch to new pkg/apis/meta SetResourceCondition
...
Use SetResourceCondition as a generic method to set conditions for CRs,
implmeneting the ObjectWithStatusConditions interface used as input
type.
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2020-11-19 13:08:33 +02: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
Hidde Beydals
2f50e3ff59
Make GC behavior depend on deletion timestamp
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-11-18 23:03:44 +01:00
Hidde Beydals
93d1559b50
Prevent GC from wiping artifacts in the same NS
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-11-18 22:56:08 +01:00
Stefan Prodan
81d3ecf612
Patch status sub-resource
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-11-12 17:02:39 +02: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
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
582c2092b6
Change copyright to Flux authors
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-10-27 17:54:22 +01:00
Hidde Beydals
504ae25954
Switch to controller-runtime utils for finalizers
2020-10-21 11:50:13 +02:00
Stefan Prodan
03e32491bf
Implement Prometheus instrumentation
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-13 13:59:30 +03:00
Stefan Prodan
c8c2eec3a6
Update fluxcd/pkg/runtime to v0.1.0
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-13 13:34:47 +03: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
Hidde Beydals
b9576d56f1
Prevent resources getting stuck on transient err
...
This commit ensures that resources will only return early if they are
already in a `Ready==True` state. If not, but the status object somehow
still reports that it has an artifact, the reconciliation will continue
to ensure and/or guarantee state, and to prevent a deadlock from
happening.
2020-09-22 17:00:54 +02:00
Hidde Beydals
270b6a5c0c
api: add HasRevision method to Artifact
2020-09-21 22:41:51 +02:00
stefanprodan
6f8c3816f4
Add secrets read-only access to RBAC
2020-09-18 16:11:28 +03:00
stefanprodan
2ca47fb4ba
Guard against missing S3 credentials
2020-09-18 16:11:24 +03:00
stefanprodan
c2c61b10a1
Implement S3 Bucket controller
2020-09-18 16:11:24 +03:00