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

feat(identity): add support to setup OIDC provider #319

Closed
wants to merge 2 commits into from

Conversation

@metral
Copy link
Contributor Author

metral commented Feb 4, 2020

Closed due to not using a feature branch. Replacement: #320

if (args.createOidcProvider) {
const eksOidcProviderUrl = pulumi.interpolate `oidc.eks.${aws.getRegion().name}.amazonaws.com`;
const fingerprint = getIssuerCAThumbprint(eksOidcProviderUrl, OIDC_MAX_RETRIES, OIDC_SLEEP_INTERVAL); // Amazon root CA thumbprint
if (fingerprint) {
Copy link
Member

Choose a reason for hiding this comment

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

Do we need to handle the else condition? Seems like it would be better to fail with an error if we are unable to create the OIDC provider as requested.

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.

feat: Add support for OIDC provider
2 participants