Skip to content

Commit 656576e

Browse files
shivamerlavisheshtanksale
authored andcommitted
Allow custom command/args for NIM deployments
Signed-off-by: Shiva Krishna, Merla <smerla@nvidia.com>
1 parent dd7ab9e commit 656576e

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
@@ -79,6 +79,14 @@ spec:
7979
{{- end }}
8080
image: {{ .Image }}
8181
imagePullPolicy: {{ .ImagePullPolicy }}
82+
{{- if .Command }}
83+
command:
84+
{{ .Command | yaml | nindent 10 }}
85+
{{- end }}
86+
{{- if .Args}}
87+
args:
88+
{{ .Args| yaml | nindent 10 }}
89+
{{- end }}
8290
volumeMounts:
8391
{{- range .VolumeMounts }}
8492
- name: {{ .Name }}

0 commit comments

Comments
 (0)