File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
grader_service/autograding/kube Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ kubeAutogradeExecutor:
60
60
image : ghcr.io/tu-wien-datalab/grader-service-labextension
61
61
tag : latest
62
62
imagePullPolicy : " Always"
63
- imagePullSecrets : {}
63
+ imagePullSecrets : []
64
64
labels : {}
65
65
namespace : null
66
66
extraVolumes : " "
Original file line number Diff line number Diff line change @@ -153,10 +153,10 @@ class KubeAutogradeExecutor(LocalAutogradeExecutor):
153
153
help = "The image pull policy for the pod. Defaults to 'Always'." ).tag (config = True )
154
154
155
155
# Dictionary to store image pull secrets, helpful when pulling from private registries
156
- image_pull_secrets = Dict (default_value = None ,
156
+ image_pull_secrets = List (default_value = [] ,
157
157
help = """Autograding pod image pull secrets dictionary (str, str).
158
158
Used for pulling images from private registries. Defaults to None.""" ,
159
- key_trait = Unicode (),
159
+ key_trait = Unicode (),
160
160
value_trait = Unicode (),
161
161
allow_none = True ).tag (config = True )
162
162
@@ -319,6 +319,7 @@ def start_pod(self) -> GraderPod:
319
319
env = env ,
320
320
image = self .get_image (),
321
321
image_pull_policy = self .image_pull_policy ,
322
+ image_pull_secrets = self .image_pull_secrets ,
322
323
working_dir = "/" ,
323
324
volumes = volumes ,
324
325
volume_mounts = volume_mounts ,
You can’t perform that action at this time.
0 commit comments