Skip to content

Conversation

@lucferbux
Copy link
Contributor

@mturley @ppadti @manaswinidas This is the referece with all the code, I will follow up with a PR that is exclusively the override to merge, and then another fake PR downstream to test the implementation

@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from lucferbux. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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

@lucferbux lucferbux force-pushed the bff-override branch 3 times, most recently from d8b3d0e to b2fb2a5 Compare December 1, 2025 13:08
Comment on lines 320 to 326
func shouldUseRedHatOverrides(app *api.App) bool {
return app != nil
}
Copy link
Contributor

Choose a reason for hiding this comment

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

@lucferbux when I tried to run the application in mock mode - getting 500 error, as this condition is always true and uses the override. Was that expected?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh that's a great catch, don't worry too much here cause I need to raise another PR with that specific folder downstream but I forgot to include in this wip the other condition, updating, once it's there, can you focus on reviewing #1935 ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks a lot for everything!

Copy link
Contributor

@ppadti ppadti Dec 8, 2025

Choose a reason for hiding this comment

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

can you focus on reviewing #1935 ?

yeah sure, Thanks @lucferbux !!

- Added a new function `NewKubernetesClientFactory` to handle client creation based on authentication method.
- Introduced a new markdown file for documenting BFF handler extensions for downstream builds.
- Implemented handler overrides for Model Registry Settings to support Red Hat-specific behavior.
- Created a new repository for Model Registry Settings with Kubernetes integration.
- Added methods for CRUD operations on Model Registry settings, including handling database secrets.
- Implemented conversion functions for unstructured Kubernetes objects to strongly typed models.
- Ensured that all new functionality adheres to existing interfaces and maintains backward compatibility.
@lucferbux
Copy link
Contributor Author

Closing this in favor of #1935

@lucferbux lucferbux closed this Dec 8, 2025
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.

3 participants