Skip to content

[18.0-fr2] Use deployment.IsReady() to validate status#518

Merged
openshift-merge-bot[bot] merged 1 commit intoopenstack-k8s-operators:18.0-fr2from
stuggi:OSPRH-14472-fr2
Apr 15, 2025
Merged

[18.0-fr2] Use deployment.IsReady() to validate status#518
openshift-merge-bot[bot] merged 1 commit intoopenstack-k8s-operators:18.0-fr2from
stuggi:OSPRH-14472-fr2

Conversation

@stuggi
Copy link
Contributor

@stuggi stuggi commented Apr 14, 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#619

Signed-off-by: Martin Schuppert mschuppert@redhat.com
(cherry picked from commit c5ebe47)

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#619

Signed-off-by: Martin Schuppert <mschuppert@redhat.com>
(cherry picked from commit c5ebe47)
@openshift-ci openshift-ci bot requested review from olliewalsh and viroel April 14, 2025 15:49
@stuggi
Copy link
Contributor Author

stuggi commented Apr 14, 2025

/retest

@stuggi stuggi requested a review from abays April 15, 2025 06:27
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 15, 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 c8024af into openstack-k8s-operators:18.0-fr2 Apr 15, 2025
6 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