Commit b7a3875
authored
fix(standalone): require modelServers.matchLabels when InferencePool is disabled (#1695)
When router.inferencePool.create=false the EPP --endpoint-selector is
rendered solely from router.modelServers.matchLabels. If matchLabels is
omitted the selector renders empty and EPP rejects it at startup, because
standalone mode requires either --pool-name or a non-empty
--endpoint-selector.
The existing matchLabels validation lives in _inferencepool.yaml, which
only renders when an InferencePool is created, so the create=false path
had no guard and produced a broken EPP deployment silently.
Add the check to the standalone validations so helm template fails fast
with an actionable message, and add a negative test case to
hack/verify-helm.sh covering the reproducer from the issue.
Fixes #1665
Signed-off-by: Jonathan Wrede <wrede.jonathan00@gmail.com>1 parent 4c16a44 commit b7a3875
2 files changed
Lines changed: 14 additions & 0 deletions
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
21 | 28 | | |
22 | 29 | | |
23 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
151 | 158 | | |
152 | 159 | | |
153 | 160 | | |
| |||
0 commit comments