Open everettraven opened 1 week ago
Is it possible to wire up and use a controller-runtime cache-delegating client.Client
per ClusterExtension, where we configure it with an http.Client
with the custom http.RoundTripper
?
@joelanford I've updated the RFC and this issue to now reflect the ideal use of the existing controller-runtime caching layer APIs
As part of managing installed content and reconciling any changes made to the managed content, we need to configure watches on the resources managed for a given
ClusterExtension
. After #971, given aClusterExtension
and the content to be managed, we can configure clients for establishing watches using theServiceAccount
specified in theClusterExtension
.While the exact implementation may vary, the currently proposed approach is as follows:
For each ClusterExtension:
A mermaid graph to visualize the logical flow:
Acceptance Criteria:
ClusterExtension
and Managed Content can establish watches on managed resources using theServiceAccount
specified in theClusterExtension
spec