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

Use the ready condition builder in relevant controllers #3303

Merged
merged 1 commit into from
May 29, 2024

Conversation

danail-branekov
Copy link
Member

Is there a related GitHub Issue?

#3237

What is this change about?

Korifi custom resources that have their Ready condition set by
controllers now utilise the ready condition builder pattern we recently
came up with. The afffected resources are:

  • CFPackage
  • CFOrg
  • CFSpace
  • CFProcess
  • AppWorkload

While being here,

  • take the opportunity to slightly improve their tests
  • use the korifiv1alpha1.StatusConditionReady constant wherever it
    makes sense

Does this PR introduce a breaking change?

No

Acceptance Steps

No functional change

Tag your pair, your PM, and/or team

@cloudfoundry/wg-cf-on-k8s

Korifi custom resources that have their `Ready` condition set by
controllers now utilise the ready condition builder pattern we recently
came up with. The afffected resources are:

* CFPackage
* CFOrg
* CFSpace
* CFProcess
* AppWorkload

While being here,
* take the opportunity to slightly improve their tests
* use the `korifiv1alpha1.StatusConditionReady` constant wherever it
  makes sense

fixes #3237
Copy link
Member

@davewalter davewalter left a comment

Choose a reason for hiding this comment

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

Looks good.

@tcdowney tcdowney merged commit 7a499b7 into main May 29, 2024
11 checks passed
@tcdowney tcdowney deleted the issues/3237-use-ready-condition-builder branch May 29, 2024 22:06
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.

3 participants