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

Fix issue in OIDC getThumbprint helper function #346

Merged
merged 1 commit into from
Mar 11, 2020

Conversation

timmyers
Copy link
Contributor

Proposed changes

Fixes an issue in the OIDC provisioning getThumbprint helper function. It is possible for HTTPS sessions to be cached between calls to this. When this happens, the SSL cert is not available. Allow no caching so we can always get the cert.

This probably only caused issues when multiple clusters were in the stack.

Related issues

Fixes #345

@timmyers timmyers changed the title Fix race condition in OIDC getThumbprint helper function Fix issue in OIDC getThumbprint helper function Mar 11, 2020
@metral metral requested review from lukehoban and metral March 11, 2020 00:37
Copy link
Contributor

@metral metral left a comment

Choose a reason for hiding this comment

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

LGTM.

One change: rm the header below, as we cut a new sdk version with a separate commit to update the CL as you've done here.

## 0.18.24 (Unreleased)
### Improvements

@timmyers
Copy link
Contributor Author

Woops totally missed the existing headers.

Copy link
Member

@lukehoban lukehoban left a comment

Choose a reason for hiding this comment

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

Thanks!

nodejs/eks/cert-thumprint.ts Show resolved Hide resolved
@metral metral merged commit d01e83c into pulumi:master Mar 11, 2020
@timmyers timmyers deleted the tls-fingerprint-race branch March 11, 2020 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Occasional issue with createOidcProvider: true
3 participants