Skip to content

Use deployment.IsReady() to validate status#515

Merged
openshift-merge-bot[bot] merged 1 commit intoopenstack-k8s-operators:mainfrom
stuggi:depl_ready
Apr 11, 2025
Merged

Use deployment.IsReady() to validate status#515
openshift-merge-bot[bot] merged 1 commit intoopenstack-k8s-operators:mainfrom
stuggi:depl_ready

Conversation

@stuggi
Copy link
Contributor

@stuggi stuggi commented Apr 9, 2025

Changes to use the common IsReady() func to validate a deployment is fully up as requested and e.g. no update rollout in progress. During a minor update this has seen to already report/mark the condition ready, even the deployment is still in progress, or the replacement pod failed.

Jira: OSPRH-14472

Depends-On: openstack-k8s-operators/lib-common#616

Changes to use the common IsReady() func to validate a deployment
is fully up as requested and e.g. no update rollout in progress.
During a minor update this has seen to already report/mark the
condition ready, even the deployment is still in progress, or
the replacement pod failed.

Jira: OSPRH-14472

Depends-On: openstack-k8s-operators/lib-common#616

Signed-off-by: Martin Schuppert <mschuppert@redhat.com>
Copy link
Contributor

@abays abays left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 11, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abays, stuggi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit d75a504 into openstack-k8s-operators:main Apr 11, 2025
7 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