Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Commit 2580fd3

Browse files
committed
Decrease the max santizedModelName to allow for suffixes
See #313 for details. Signed-off-by: Brent Salisbury <[email protected]>
1 parent 1961f71 commit 2580fd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

charts/llm-d/templates/sample-application/_helpers.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Sanitize the model name into a valid k8s label.
88
{{- $name = regexReplaceAll "[\\-._]+$" $name "" -}}
99
{{- $name = regexReplaceAll "\\." $name "-" -}}
1010

11-
{{- if gt (len $name) 63 -}}
12-
{{- $name = substr 0 63 $name -}}
11+
{{- if gt (len $name) 45 -}}
12+
{{- $name = substr 0 45 $name -}}
1313
{{- end -}}
1414

1515
{{- $name -}}

0 commit comments

Comments
 (0)