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 Deployment await logic for extensions/v1beta1 #657

Merged
merged 5 commits into from
Jul 29, 2019

Conversation

lblackstone
Copy link
Member

The Deployment await logic was not correctly checking rollout
success for the extensions/v1beta1 apiVersion, which was
causing the await logic to erroneously pass for change
triggered rollouts, even if the Deployment was invalid.

Added additional logic to the readiness check based on
status fields present in all apiVersions.

Fixes #611
Fixes #656

The Deployment await logic was not correctly checking rollout
success for the `extensions/v1beta1` apiVersion, which was
causing the await logic to erroneously pass for change
triggered rollouts, even if the Deployment was invalid.

Added additional logic to the readiness check based on
status fields present in all apiVersions.
pkg/await/apps_deployment.go Outdated Show resolved Hide resolved
pkg/await/apps_deployment.go Show resolved Hide resolved
pkg/await/apps_deployment.go Show resolved Hide resolved
pkg/await/apps_deployment.go Show resolved Hide resolved
@lblackstone lblackstone merged commit a6dabf8 into master Jul 29, 2019
@pulumi-bot pulumi-bot deleted the lblackstone/old-deployment-fix branch July 29, 2019 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants