The vcluster has up-to-date version of some dependencies than vcluster-sdk. I think it's good to keep these two in the same position in terms of the go version and dependencies.
Summary
Replace deprecated implementations with recommended ways
genericclioptions is deprecated and replace by genericiooptions
cluster.NewClientFunc has been replaced by client.NewClientFunc
PollImmediateInfinite has been deprecated and recommended to use PollUntilContextCancel instead
MetricsBindAddress and Namespace has beed removed from manager.Options
WithInsecure is deprecated and replace by WithTransportCredentials
Bump up controller-runtime related libraries to the latest version as following:
@cychiang I ran into your PR as I depend on vcluster-sdk and tried to upgrade controller-runtime to 1.16+. This PR is missing a few changes to make it compile: https://github.com/cychiang/vcluster-sdk/pull/1
Background
The
vcluster
has up-to-date version of some dependencies thanvcluster-sdk
. I think it's good to keep these two in the same position in terms of the go version and dependencies.Summary
Replace deprecated implementations with recommended ways
genericclioptions
is deprecated and replace bygenericiooptions
cluster.NewClientFunc
has been replaced byclient.NewClientFunc
PollImmediateInfinite
has been deprecated and recommended to usePollUntilContextCancel
insteadMetricsBindAddress
andNamespace
has beed removed frommanager.Options
WithInsecure
is deprecated and replace byWithTransportCredentials
Bump up controller-runtime related libraries to the latest version as following:
Please help me to refine this PR and becomes ready to merge. 😄