Skip to content

feat(gen-ai): Add POST /nemo-guardrails/init BFF endpoint#7364

Draft
NickGagan wants to merge 1 commit intoopendatahub-io:mainfrom
NickGagan:54547_ng
Draft

feat(gen-ai): Add POST /nemo-guardrails/init BFF endpoint#7364
NickGagan wants to merge 1 commit intoopendatahub-io:mainfrom
NickGagan:54547_ng

Conversation

@NickGagan
Copy link
Copy Markdown
Contributor

Issue: https://redhat.atlassian.net/browse/RHOAIENG-54547

Description

Adds a new endpoint to create and update NemoGuardrails K8s resources (per-model ConfigMaps + NemoGuardrails CR) from the same model list used for LSD install. Model source type is encoded in resource names (e.g. guardrail-maas-granite-3b) for downstream discoverability. Subsequent calls upsert existing resources and clean up stale ConfigMaps.

How Has This Been Tested?

TODO

Test Impact

TODO

Request review criteria:

Self checklist (all need to be checked):

  • The developer has manually tested the changes and verified that the changes work
  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
  • The developer has added tests or explained why testing cannot be added (unit or cypress tests for related changes)
  • The code follows our Best Practices (React coding standards, PatternFly usage, performance considerations)

If you have UI changes:

  • Included any necessary screenshots or gifs if it was a UI change.
  • Included tags to the UX team if it was a UI/UX change.

After the PR is posted & before it merges:

  • The developer has tested their solution on a cluster by using the image produced by the PR to main

…4547)

Adds a new endpoint to create and update NemoGuardrails K8s resources
(per-model ConfigMaps + NemoGuardrails CR) from the same model list used
for LSD install. Model source type is encoded in resource names
(e.g. guardrail-maas-granite-3b) for downstream discoverability.
Subsequent calls upsert existing resources and clean up stale ConfigMaps.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress This PR is in WIP state label Apr 22, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Apr 22, 2026

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Apr 22, 2026

[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 assign antowaddle for approval. For more information see the 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

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 22, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited), Organization UI (inherited)

Review profile: CHILL

Plan: Pro Plus

Run ID: e34124b9-638a-4a68-aecb-83c5dc0faeae

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

1 participant