Upgrade kube dependencies and snapshotter client kube deps to v0.25.2

This commit is contained in:
Raunak Pradip Shah
2022-09-22 19:36:59 +05:30
parent 5d5cf70a93
commit e167bfff11
263 changed files with 9542 additions and 11769 deletions

View File

@@ -61,6 +61,10 @@ func (c *Clientset) Discovery() discovery.DiscoveryInterface {
func NewForConfig(c *rest.Config) (*Clientset, error) {
configShallowCopy := *c
if configShallowCopy.UserAgent == "" {
configShallowCopy.UserAgent = rest.DefaultKubernetesUserAgent()
}
// share the transport between all clients
httpClient, err := rest.HTTPClientFor(&configShallowCopy)
if err != nil {