weaveworks / pipeline-controller

This repository contains the Pipeline CRD and associated controller for Weave GitOps Enterprise.
1 stars 4 forks source link

Extend application object watching to remote clusters and arbitrary types #196

Closed squaremo closed 11 months ago

squaremo commented 1 year ago

After #194, we can extend it to support targets of arbitrary kinds, in remote clusters. This will involve keeping track of which clusters are used in pipelines, and keeping clients with shared caches for those. These are needed both for getting the state of application objects, and for maintaining watches on those application objects.

Because remote clusters can be unavailable, this will need to requeue a pipeline if a target cluster is not available, and mark the pipeline to be unready.