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 failure when VPC CNI is configured to use both iam.withOIDC and useDefaultPodIdentityAssociations #8249

Conversation

dims
Copy link
Contributor

@dims dims commented Feb 25, 2025

xref: #8147

This explicit check comes at a time when the OIDC endpoint is getting created (and may not have been yet!), so we end up getting but since OIDC is disabled on the cluster message which is not really true, because we did ask the cluster to be created with cfg.IAM.WithOIDC set to true!

xref: #8141

During create, we were passing podIdentityIAMUpdater to be nil which caused the panic.

@dims dims marked this pull request as draft February 25, 2025 04:22
@dims dims force-pushed the remove-unnecessary-check-for-oidc-provider-during-cluster-creation branch from fbcc0c7 to 493e238 Compare February 25, 2025 13:06
@dims dims changed the title Remove unnecessary check for oidc provider during cluster creation Fix failure when VPC CNI is configured to use both iam.withOIDC and useDefaultPodIdentityAssociations Feb 25, 2025
@dims dims added the kind/bug label Feb 25, 2025
…seDefaultPodIdentityAssociations

Signed-off-by: Davanum Srinivas <[email protected]>
@dims dims force-pushed the remove-unnecessary-check-for-oidc-provider-during-cluster-creation branch from 493e238 to 93ba3bc Compare February 25, 2025 13:13
@dims dims marked this pull request as ready for review February 25, 2025 13:19
@dims dims enabled auto-merge (squash) February 25, 2025 13:20
@dims dims merged commit f3dcfa0 into eksctl-io:main Feb 25, 2025
10 checks passed
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.

2 participants