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 ServiceAccount readiness logic for k8s v1.24+ #2099

Merged
merged 1 commit into from
Jul 25, 2022

Conversation

lblackstone
Copy link
Member

Proposed changes

Starting in Kubernetes v1.24, the default behavior for ServiceAccount resources changed so that a secret is no longer provisioned. This change updates our await logic to only wait for the secret to exist for ServiceAccount resources on older clusters, and immediately returns ready for newer clusters.

Related issues (optional)

Fix #2063

Starting in Kubernetes v1.24, the default behavior for ServiceAccount resources changed so that a secret is no longer provisioned. This change updates our await logic to only wait for the secret to exist for ServiceAccount resources on older clusters, and immediately returns ready for newer clusters.
@github-actions
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

@lblackstone lblackstone merged commit 707b27e into master Jul 25, 2022
@pulumi-bot pulumi-bot deleted the lblackstone/sa-await-fix branch July 25, 2022 22:37
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.

Update await logic for ServiceAccount behavior change in k8s 1.24
2 participants