Skip to content

Commit 7731bab

Browse files
committed
Allow custom command/args for NIM deployments
Signed-off-by: Shiva Krishna, Merla <smerla@nvidia.com>
1 parent e6df0dc commit 7731bab

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

manifests/deployment.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,14 @@ spec:
7575
{{- end }}
7676
image: {{ .Image }}
7777
imagePullPolicy: {{ .ImagePullPolicy }}
78+
{{- if .Command }}
79+
command:
80+
{{ .Command | yaml | nindent 10 }}
81+
{{- end }}
82+
{{- if .Args}}
83+
args:
84+
{{ .Args| yaml | nindent 10 }}
85+
{{- end }}
7886
volumeMounts:
7987
{{- range .VolumeMounts }}
8088
- name: {{ .Name }}

0 commit comments

Comments
 (0)