fix: render RHOAI Trainer manifests into redhat-ods-applications #319
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.39) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 268 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.335
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #319"
general
weight: 0.35
abhijeet-dhumal
What this PR does / why we need it:
The
rhoaioverlay pinnednamespace: opendatahub, so the ServiceMonitor'stlsConfig.serverNamewas rendered askubeflow-trainer-controller-manager.opendatahub.svc. When the platformoperator deploys Trainer into the
redhat-ods-applicationsapplicationsnamespace, the controller's serving certificate is issued for
kubeflow-trainer-controller-manager.redhat-ods-applications.svc, so thePrometheus scrape fails TLS verification and the target stays
down(
TestTrainerPrometheusScrapein opendatahub-io/distributed-workloads fails):Changes:
redhat-ods-applications, matching theconvention used by other RHOAI component overlays (e.g.
data-science-pipelines-operator), so
serverNamematches the servingcertificate.
trainer-tls-profileClusterRoleBinding subject namespace fromthe kustomization namespace via a replacement instead of the hardcoded
opendatahubvalue, so it follows the target namespace on render.APPLICATIONS_NAMESPACEconsistently inMakefile.rhaideploy-rhoai/undeploy-rhoai(previously hardcodedopendatahubeventhough the target applies the kustomization render, which takes its
namespace from the kustomization) and default it to
redhat-ods-applications.Verified by rendering the overlay:
serverNameiskubeflow-trainer-controller-manager.redhat-ods-applications.svc, theClusterRoleBinding subject namespace is
redhat-ods-applications, and norendered resource retains
namespace: opendatahub.Which issue(s) this PR fixes _(optional, in
Fixes #<issue number>, #<issue number>, ...format, will close the issue(s) when PR gets merged)_:Fixes #
Checklist:
🤖 Generated with Claude Code