Skip to content

Conversation

@michaelhtm
Copy link
Member

@michaelhtm michaelhtm commented Dec 2, 2025

Issue #2204

Description of changes:
This change adds removes the conditional check that adds the Synced condition,
and replaces it with a default Ready condition.

Ready condition represents that the resource is ready to be consumed by whatever it
depends on

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ack-prow ack-prow bot requested review from a-hilaly and jlbutler December 2, 2025 01:01
@ack-prow ack-prow bot added the approved label Dec 2, 2025
@michaelhtm
Copy link
Member Author

/test s3-controller-test

Copy link
Member

@a-hilaly a-hilaly left a comment

Choose a reason for hiding this comment

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

👍

{{- if .CRD.PrintSyncedColumn }}
// +kubebuilder:printcolumn:name="Synced",type="string",priority=0,JSONPath=".status.conditions[?(@.type==\"ACK.ResourceSynced\")].status"
{{- end }}
// +kubebuilder:printcolumn:name="Ready",type="string",priority=0,JSONPath=".status.conditions[?(@.type==\"Ready\")].status"
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we need to still wrap it with {{- if .CRD.PrintSyncedColumn }} ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Is there a reason why we had that?
I would think we want to print the Synced/Ready conditions all the time

Copy link
Member

Choose a reason for hiding this comment

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

fair. let's remove PrintSyncedColumn ?

@michaelhtm michaelhtm force-pushed the addreadyconditionbydefault branch from 01755dc to 9bcb3db Compare December 2, 2025 21:40
@ack-prow
Copy link

ack-prow bot commented Dec 2, 2025

@michaelhtm: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
verify-attribution 9bcb3db link false /test verify-attribution
documentdb-controller-test 9bcb3db link true /test documentdb-controller-test
s3-olm-test 9bcb3db link false /test s3-olm-test
prometheusservice-controller-test 9bcb3db link true /test prometheusservice-controller-test
cloudfront-controller-test 9bcb3db link true /test cloudfront-controller-test
s3-controller-test 9bcb3db link true /test s3-controller-test
eks-controller-test 9bcb3db link true /test eks-controller-test

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ack-prow
Copy link

ack-prow bot commented Dec 2, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: a-hilaly, michaelhtm

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

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [a-hilaly,michaelhtm]

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants