-
Notifications
You must be signed in to change notification settings - Fork 66
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
Bump dependencies and lint #2052
Conversation
✅ Deploy Preview for pinniped-dev canceled.
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2052 +/- ##
=======================================
Coverage 31.13% 31.13%
=======================================
Files 368 368
Lines 60958 60971 +13
=======================================
+ Hits 18979 18985 +6
- Misses 41455 41461 +6
- Partials 524 525 +1 ☔ View full report in Codecov by Sentry. |
6d6a543
to
209b932
Compare
209b932
to
c0b90ad
Compare
… decide where to port-forward
c0b90ad
to
72fa369
Compare
@@ -298,53 +303,26 @@ func TestWhoAmI_CSR_Parallel(t *testing.T) { | |||
) | |||
require.NoError(t, err) | |||
|
|||
useCertificatesV1API := testutil.KubeServerSupportsCertificatesV1API(t, kubeClient.Discovery()) |
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.
All supported K8s versions use v1
instead of v1beta
@@ -353,10 +331,19 @@ func TestWhoAmI_CSR_Parallel(t *testing.T) { | |||
csrConfig.CertData = crtPEM | |||
csrConfig.KeyData = keyPEM | |||
|
|||
bytesToHexOfSHA256 := func(b []byte) string { |
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 is extra output, I can remove in the next PR
sha256OfDER := fmt.Sprintf("X509SHA256=%s", bytesToHexOfSHA256(block.Bytes)) | ||
|
||
extra = map[string]identityv1alpha1.ExtraValue{ | ||
"authentication.kubernetes.io/credential-id": []string{sha256OfDER}, |
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.
See kubernetes/kubernetes#125634 for the explanation of why this new field exists
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.
lgtm.
Bump dependencies and lint