New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update google.golang.org/api to v0.46.0 #262
Conversation
Hi @sdmodi. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Bowei, Joe, would you please review this. This requires an ok-to-test label as well. |
/ok-to-test |
The cloud-provider-gcp-tests are failing:
|
looks like a nil error related to the URL not being able to be parsed... this is likely related to the projects suffix change in the library
|
@@ -67,7 +64,7 @@ replace ( | |||
golang.org/x/lint => golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5 // indirect | |||
golang.org/x/oauth2 => golang.org/x/oauth2 v0.0.0-20210112200429-01de73cf58bd | |||
golang.org/x/sync => golang.org/x/sync v0.0.0-20201207232520-09787c993a3a // indirect | |||
google.golang.org/api => google.golang.org/api v0.30.0 | |||
google.golang.org/api => google.golang.org/api v0.46.0 | |||
google.golang.org/genproto => google.golang.org/genproto v0.0.0-20210111234610-22ae2b108f89 // indirect | |||
google.golang.org/grpc => google.golang.org/grpc v1.27.1 // indirect | |||
gopkg.in/check.v1 => gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b // indirect |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doesn't this have to pick up a compatible version of k8s.io/legacy-cloud-providers
that works properly with google.golang.org/api v0.46.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This also updates - Various k8s.io modules to v0.22.0 - Update google.golang.org/grpc to v1.34.0 - Update go.uber.org/zap to v1.17.0
Tests finally passed. I had to update gce_loadbalancer_internal_test.go to work with the new API. Joe, Jordan would you please review this. Thanks! |
@@ -136,7 +136,7 @@ func processCSR(client clientset.Interface, privateKeyData []byte, hostname stri | |||
apicertificates.UsageClientAuth, | |||
} | |||
name := digestedName(privateKeyData, subject, usages) | |||
reqName, reqUID, err := csr.RequestCertificate(client, csrData, name, apicertificates.KubeAPIServerClientKubeletSignerName, usages, privateKey) | |||
reqName, reqUID, err := csr.RequestCertificate(client, csrData, name, apicertificates.KubeAPIServerClientKubeletSignerName, nil, usages, privateKey) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mikedanese is a nil request duration the desired param value?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
/lgtm |
Thanks a lot Walter! Appreciate the review. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bowei, sdmodi The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This is the same version that k/k is pointing to after kubernetes/kubernetes#102913. These changes are required to support IPv6 in cloud-controller-manager.