File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,9 @@ class LeptonExecutor(Executor):
5353 node_group : str = ""
5454 mounts : list [dict [str , Any ]] = field (default_factory = list )
5555 lepton_job_dir : str = field (init = False , default = "" )
56+ image_pull_secrets : list [str ] = field (
57+ default_factory = list
58+ ) # Image pull secrets for container registry authentication
5659 custom_spec : dict [str , Any ] = field (default_factory = dict )
5760 pre_launch_commands : list [str ] = field (default_factory = list ) # Custom commands before launch
5861
@@ -249,7 +252,7 @@ def create_lepton_job(self, name: str):
249252 max_job_failure_retry = None ,
250253 envs = envs ,
251254 mounts = [Mount (** mount ) for mount in self .mounts ],
252- image_pull_secrets = [] ,
255+ image_pull_secrets = self . image_pull_secrets ,
253256 ttl_seconds_after_finished = None ,
254257 intra_job_communication = True ,
255258 privileged = False ,
You can’t perform that action at this time.
0 commit comments