This repository was archived by the owner on Oct 15, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11apiVersion : v2
22name : llm-d
33type : application
4- version : 0.0.8
4+ version : 0.0.9
55appVersion : " 0.0.1"
66icon : data:null
77description : A Helm chart for llm-d
Original file line number Diff line number Diff line change 11
22# llm-d Helm Chart for OpenShift
33
4- ![ Version: 0.0.8 ] ( https://img.shields.io/badge/Version-0.0.8 -informational?style=flat-square )
4+ ![ Version: 0.0.9 ] ( https://img.shields.io/badge/Version-0.0.9 -informational?style=flat-square )
55![ Type: application] ( https://img.shields.io/badge/Type-application-informational?style=flat-square )
66
77A Helm chart for llm-d
Original file line number Diff line number Diff line change @@ -70,3 +70,29 @@ Return the proper Docker Image Registry Secret Names
7070{{- define " vllmSim.renderImagePullSecrets" -}}
7171 {{- include " common.images.renderPullSecrets" (dict " images" (list .Values.modelservice.vllmSim.image ) " context" $ ) -}}
7272{{- end -}}
73+
74+
75+ {{- define " common.images.renderImagePullSecretsString" -}}
76+ {{- $pullSecrets := list }}
77+ {{- $context := .context }}
78+
79+ {{- range (($context .Values.global ).imagePullSecrets ) -}}
80+ {{- if kindIs " map" . -}}
81+ {{- $pullSecrets = append $pullSecrets (include " common.tplvalues.render" (dict " value" .name " context" $context )) -}}
82+ {{- else -}}
83+ {{- $pullSecrets = append $pullSecrets (include " common.tplvalues.render" (dict " value" . " context" $context )) -}}
84+ {{- end -}}
85+ {{- end -}}
86+
87+ {{- range .images -}}
88+ {{- range .pullSecrets -}}
89+ {{- if kindIs " map" . -}}
90+ {{- $pullSecrets = append $pullSecrets (include " common.tplvalues.render" (dict " value" .name " context" $context )) -}}
91+ {{- else -}}
92+ {{- $pullSecrets = append $pullSecrets (include " common.tplvalues.render" (dict " value" . " context" $context )) -}}
93+ {{- end -}}
94+ {{- end -}}
95+ {{- end -}}
96+
97+ {{- join " ," ($pullSecrets | uniq) | quote }}
98+ {{- end }}
Original file line number Diff line number Diff line change @@ -46,11 +46,11 @@ spec:
4646 - --epp-cluster-role
4747 - endpoint-picker-clusterrole
4848 - --epp-pull-secrets
49- - endpoint-picker-pull-secret
49+ - {{ include "common.images.renderImagePullSecretsString" (dict "images" (list .Values.modelservice.epp.image) "context" $) }}
5050 - --pd-cluster-role
5151 - prefill-decode-clusterrole
5252 - --pd-pull-secrets
53- - prefill-decode-pull-secret
53+ - {{ include "common.images.renderImagePullSecretsString" (dict "images" (list .Values.modelservice.vllm.image) "context" $) }}
5454 # MSV2 HACK END
5555 command :
5656 - /manager
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments