Skip to content
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

Merged
merged 5 commits into from
Sep 6, 2024
Merged

Bump dependencies and lint #2052

merged 5 commits into from
Sep 6, 2024

Conversation

joshuatcasey
Copy link
Member

Bump dependencies and lint

Copy link

netlify bot commented Sep 3, 2024

Deploy Preview for pinniped-dev canceled.

Name Link
🔨 Latest commit 00e9b34
🔍 Latest deploy log https://app.netlify.com/sites/pinniped-dev/deploys/66d9af4161ef3a000839b10f

internal/endpointaddr/endpointaddr.go Dismissed Show dismissed Hide dismissed
Copy link

codecov bot commented Sep 3, 2024

Codecov Report

Attention: Patch coverage is 59.09091% with 9 lines in your changes missing coverage. Please review.

Project coverage is 31.13%. Comparing base (d165899) to head (00e9b34).
Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
internal/testutil/kube_server_compatibility.go 0.00% 7 Missing ⚠️
pkg/oidcclient/login.go 0.00% 1 Missing ⚠️
test/testlib/env.go 0.00% 1 Missing ⚠️
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.
📢 Have feedback on the report? Share it here.

@joshuatcasey joshuatcasey force-pushed the jtc/bump-all branch 4 times, most recently from 6d6a543 to 209b932 Compare September 4, 2024 14:52
@@ -298,53 +303,26 @@ func TestWhoAmI_CSR_Parallel(t *testing.T) {
)
require.NoError(t, err)

useCertificatesV1API := testutil.KubeServerSupportsCertificatesV1API(t, kubeClient.Discovery())
Copy link
Member Author

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 {
Copy link
Member Author

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},
Copy link
Member Author

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

Copy link
Member

@ashish-amarnath ashish-amarnath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm.

@ashish-amarnath ashish-amarnath merged commit 1d81474 into main Sep 6, 2024
50 checks passed
@ashish-amarnath ashish-amarnath deleted the jtc/bump-all branch September 6, 2024 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants