Skip to content

Commit 3d36e6c

Browse files
committed
remove image pull secret
Signed-off-by: Samhita Alla <aallasamhita@gmail.com>
1 parent 0a9f1d7 commit 3d36e6c

File tree

1 file changed

+1
-2
lines changed
  • plugins/flytekit-inference/flytekitplugins/inference/nim

1 file changed

+1
-2
lines changed

plugins/flytekit-inference/flytekitplugins/inference/nim/serve.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ def setup_nim_pod_template(self):
8484
V1Container,
8585
V1EmptyDirVolumeSource,
8686
V1EnvVar,
87-
V1LocalObjectReference,
8887
V1ResourceRequirements,
8988
V1SecurityContext,
9089
V1Volume,
@@ -97,7 +96,7 @@ def setup_nim_pod_template(self):
9796
empty_dir=V1EmptyDirVolumeSource(medium="Memory", size_limit=self._shm_size),
9897
)
9998
]
100-
self.pod_template.pod_spec.image_pull_secrets = [V1LocalObjectReference(name=self._secrets.ngc_image_secret)]
99+
# self.pod_template.pod_spec.image_pull_secrets = [V1LocalObjectReference(name=self._secrets.ngc_image_secret)]
101100

102101
model_server_container = self.pod_template.pod_spec.init_containers[0]
103102

0 commit comments

Comments
 (0)