Commit Graph

3 Commits

Author SHA1 Message Date
Stefan Prodan 06e91e047b
Refactor: Use impersonation from `fluxcd/pkg/runtime/client`
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-10-07 17:36:41 +03:00
Stefan Prodan 928f22df5c
Reconcile Kubernetes class type objects in a dedicated stage
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-09-02 11:31:54 +03:00
Stefan Prodan cfd5200fbb
Retry downloading the artifact on not found errors
- Extract the artifact operations such as download, verify, untar into a dedicated struct
- Introduce a dedicated type for artifact not found errors
- On artifact not found errors, log the error, update the ready status message and requeue the object
- Retry the artifact download at the interval set with `--requeue-dependency` (defaults to 30s)

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-07-01 13:55:47 +03:00