Skip to content

Commit 0db4896

Browse files
committed
add names for rules under maas api http route
Signed-off-by: Nir Rozenbaum <nrozenba@redhat.com>
1 parent d0dc95b commit 0db4896

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

deployment/base/maas-api/networking/httproute.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ spec:
88
namespace: openshift-ingress
99
rules:
1010
# OpenAI-compatible /v1/models endpoint at top level
11-
- matches:
11+
- name: maas-v1-models
12+
matches:
1213
- path:
1314
type: PathPrefix
1415
value: /v1/models
@@ -17,7 +18,8 @@ spec:
1718
port: 8080
1819
weight: 100
1920
# All other maas-api endpoints remain under /maas-api prefix
20-
- matches:
21+
- name: maas-api
22+
matches:
2123
- path:
2224
type: PathPrefix
2325
value: /maas-api

0 commit comments

Comments
 (0)