Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/llm-d/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: llm-d
type: application
version: 0.0.8
version: 0.0.9
appVersion: "0.0.1"
icon: data:null
description: A Helm chart for llm-d
Expand Down
2 changes: 1 addition & 1 deletion charts/llm-d/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# llm-d Helm Chart for OpenShift

![Version: 0.0.8](https://img.shields.io/badge/Version-0.0.8-informational?style=flat-square)
![Version: 0.0.9](https://img.shields.io/badge/Version-0.0.9-informational?style=flat-square)
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)

A Helm chart for llm-d
Expand Down
26 changes: 26 additions & 0 deletions charts/llm-d/templates/modelservice/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,29 @@ Return the proper Docker Image Registry Secret Names
{{- define "vllmSim.renderImagePullSecrets" -}}
{{- include "common.images.renderPullSecrets" (dict "images" (list .Values.modelservice.vllmSim.image) "context" $) -}}
{{- end -}}


{{- define "common.images.renderImagePullSecretsString" -}}
{{- $pullSecrets := list }}
{{- $context := .context }}

{{- range (($context.Values.global).imagePullSecrets) -}}
{{- if kindIs "map" . -}}
{{- $pullSecrets = append $pullSecrets (include "common.tplvalues.render" (dict "value" .name "context" $context)) -}}
{{- else -}}
{{- $pullSecrets = append $pullSecrets (include "common.tplvalues.render" (dict "value" . "context" $context)) -}}
{{- end -}}
{{- end -}}

{{- range .images -}}
{{- range .pullSecrets -}}
{{- if kindIs "map" . -}}
{{- $pullSecrets = append $pullSecrets (include "common.tplvalues.render" (dict "value" .name "context" $context)) -}}
{{- else -}}
{{- $pullSecrets = append $pullSecrets (include "common.tplvalues.render" (dict "value" . "context" $context)) -}}
{{- end -}}
{{- end -}}
{{- end -}}

{{- join "," ($pullSecrets | uniq) | quote }}
{{- end }}
4 changes: 2 additions & 2 deletions charts/llm-d/templates/modelservice/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ spec:
- --epp-cluster-role
- endpoint-picker-clusterrole
- --epp-pull-secrets
- endpoint-picker-pull-secret
- {{ include "common.images.renderImagePullSecretsString" (dict "images" (list .Values.modelservice.epp.image) "context" $) }}
- --pd-cluster-role
- prefill-decode-clusterrole
- --pd-pull-secrets
- prefill-decode-pull-secret
- {{ include "common.images.renderImagePullSecretsString" (dict "images" (list .Values.modelservice.vllm.image) "context" $) }}
# MSV2 HACK END
command:
- /manager
Expand Down

This file was deleted.

4 changes: 0 additions & 4 deletions charts/llm-d/templates/modelservice/ms-v2-hack/secret-pd.yaml

This file was deleted.

Loading