Skip to content

Commit a50ddf0

Browse files
Merge branch 'main' of https://github.com/somya-bhatnagar/models-as-a-service into somya-fix-overlays
2 parents e5a738b + 6b2d7e4 commit a50ddf0

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.tekton/odh-maas-api-pull-request.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ metadata:
99
pipelinesascode.tekton.dev/cancel-in-progress: "false"
1010
pipelinesascode.tekton.dev/max-keep-runs: "3"
1111
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
12-
== "main" && !files.all.all(x, x.matches('^docs/') || x.matches('\\.md$'))
12+
== "main" && !files.all.all(x, x.matches('^docs/') || x.matches('\\.md$')
13+
|| x.matches('^(.*/)?(\\.gitignore|OWNERS|PROJECT|LICENSE)$')
14+
|| x.matches('^\\.github/') || x.matches('^\\.tekton/'))
1315
creationTimestamp: null
1416
labels:
1517
appstudio.openshift.io/application: opendatahub-builds

.tekton/odh-maas-controller-pull-request.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ metadata:
99
pipelinesascode.tekton.dev/cancel-in-progress: "false"
1010
pipelinesascode.tekton.dev/max-keep-runs: "3"
1111
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
12-
== "main" && !files.all.all(x, x.matches('^docs/') || x.matches('\\.md$'))
12+
== "main" && !files.all.all(x, x.matches('^docs/') || x.matches('\\.md$')
13+
|| x.matches('^(.*/)?(\\.gitignore|OWNERS|PROJECT|LICENSE)$')
14+
|| x.matches('^\\.github/') || x.matches('^\\.tekton/'))
1315
creationTimestamp: null
1416
labels:
1517
appstudio.openshift.io/application: opendatahub-builds

docs/content/configuration-and-management/model-listing-flow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ When the [MaaS controller](https://github.com/opendatahub-io/models-as-a-service
2323

2424
2. For each MaaSModelRef, it reads **id** (`metadata.name`), **url** (`status.endpoint`), **ready** (`status.phase == "Ready"`), and related metadata. The controller has populated `status.endpoint` and `status.phase` from the underlying LLMInferenceService (for llmisvc) or HTTPRoute/Gateway.
2525

26-
3. **Access validation**: The API probes each model’s `/v1/models` endpoint with the **exact Authorization header** the client sent (passed through as-is). Only models that return **2xx**, **3xx** or **405** are included in the response. This ensures the list only shows models the client is authorized to use.
26+
3. **Access validation**: The API probes each model’s `/v1/models` endpoint with the **exact Authorization header** the client sent (passed through as-is). Only models that return **2xx** or **405** are included in the response. This ensures the list only shows models the client is authorized to use.
2727

2828
4. For each model, the API reads **annotations** from the MaaSModelRef to populate `modelDetails` in the response (display name, description, use case, context window). See [CRD annotations](crd-annotations.md) for the full list.
2929

0 commit comments

Comments
 (0)