File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,8 @@ spec:
107
107
cpu : 2
108
108
memory : 8G
109
109
nvidia.com/gpu : 0
110
+ imagePullSecrets :
111
+ - name : unit-test-pull-secret
110
112
rayVersion : 2.1.0
111
113
workerGroupSpecs :
112
114
- groupName : small-group-unit-test-cluster
@@ -164,6 +166,8 @@ spec:
164
166
cpu : 3
165
167
memory : 5G
166
168
nvidia.com/gpu : 7
169
+ imagePullSecrets :
170
+ - name : unit-test-pull-secret
167
171
initContainers :
168
172
- command :
169
173
- sh
Original file line number Diff line number Diff line change @@ -220,6 +220,7 @@ def test_config_creation():
220
220
gpu = 7 ,
221
221
instascale = True ,
222
222
machine_types = ["cpu.small" , "gpu.large" ],
223
+ image_pull_secrets = ["unit-test-pull-secret" ],
223
224
)
224
225
225
226
assert config .name == "unit-test-cluster" and config .namespace == "ns"
@@ -234,6 +235,7 @@ def test_config_creation():
234
235
assert config .template == f"{ parent } /src/codeflare_sdk/templates/base-template.yaml"
235
236
assert config .instascale
236
237
assert config .machine_types == ["cpu.small" , "gpu.large" ]
238
+ assert config .image_pull_secrets == ["unit-test-pull-secret" ]
237
239
return config
238
240
239
241
You can’t perform that action at this time.
0 commit comments