Skip to content

Conversation

@Diaphteiros
Copy link
Contributor

What this PR does / why we need it:

There are use-cases in which the default options for client.Client and cluster.Cluster with just the Scheme set are not sufficient. This PR introduces the possibility to arbitrarily modify both options when working with the clusters package.

As a side effect, calling InitializeRESTConfig() and InitializeClient(...) multiple times is now not a no-op anymore, but actually re-loads the config and re-creates cluster and client, respectively.

Special notes for your reviewer:
Required for the ClusterProvider: Gardener.

@Diaphteiros Diaphteiros requested a review from robertgraeff May 6, 2025 14:13
@Diaphteiros Diaphteiros merged commit 562268c into main May 7, 2025
7 checks passed
@Diaphteiros Diaphteiros deleted the cluster-options branch May 7, 2025 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants