Skip to content

Conversation

DavidHurta
Copy link
Contributor

I want to run a CI. I will likely break up the PR into smaller ones.

Utilize a new structure, which holds the relevant information
regarding the desired CVO configuration and its status to encapsulate
this information to a simple data structure.
Using the field we can avoid changing the actual logging during testing
by assigning a different function to the field.

We can now also verify that the handler field is being executed.
The information regarding enabled feature gates is now available
sooner in the code. Utilize this information to conditionally initialize
the configuration controller. The subsequent code can then easily check
for existence of the configuration using a nil.
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 23, 2025
Copy link
Contributor

openshift-ci bot commented Sep 23, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: DavidHurta

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:

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 23, 2025
An error in the start logic will now result in the immediate shutdown of the CVO,
rather than in the CVO catching the failed controller and continuing to work
by ignoring the failed start.
Introduce a configuration provider interface. The goal of the interface
is to abstract the underlying system of fetching the CVO configuration.
Be it a Kubernetes API server, or a configuration file. For the moment,
the Kubernetes API server is the sole provider.

Refactor the code to adhere to the new logic.

Apply a default configuration on a NotFound error (was previously noted
as a TODO in the source code).
Due to recent changes, the two tests can now be safely merged together.

The second test verified the overall synchronization, which is now also
being exercised in the first test.

The tests cases were copied or were already present.
@DavidHurta DavidHurta force-pushed the configuration-refactor-and-config-providers branch from 06b6212 to 89c4930 Compare September 24, 2025 13:00
Copy link
Contributor

openshift-ci bot commented Sep 24, 2025

@DavidHurta: 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
ci/prow/e2e-aws-ovn-techpreview 89c4930 link true /test e2e-aws-ovn-techpreview
ci/prow/okd-scos-e2e-aws-ovn 89c4930 link false /test okd-scos-e2e-aws-ovn

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-sigs/prow repository. I understand the commands that are listed here.

@DavidHurta DavidHurta changed the title WIP: CVO configuration refactoring and config providers WIP: CVO configuration: Introduce config provider interface Sep 25, 2025
@DavidHurta DavidHurta changed the title WIP: CVO configuration: Introduce config provider interface WIP: CVO configuration: Introduce a config provider interface Sep 25, 2025
@petr-muller
Copy link
Member

/cc

@openshift-ci openshift-ci bot requested a review from petr-muller September 26, 2025 09:18
@petr-muller
Copy link
Member

/uncc

@openshift-ci openshift-ci bot removed the request for review from petr-muller September 30, 2025 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants