@@ -86,14 +86,15 @@ spec:
86
86
type : string
87
87
containerImage :
88
88
default : " "
89
- description : Container image for AnsibleTest
89
+ description : A URL of a container image that should be used by the
90
+ test-operator for tests execution.
90
91
type : string
91
92
debug :
92
93
default : false
93
94
description : Run ansible playbook with -vvvv
94
95
type : boolean
95
96
extraConfigmapsMounts :
96
- description : Extra configmaps for mounting in the pod.
97
+ description : Extra configmaps for mounting inside the pod
97
98
items :
98
99
properties :
99
100
mountPath :
@@ -115,6 +116,12 @@ spec:
115
116
- subPath
116
117
type : object
117
118
type : array
119
+ nodeSelector :
120
+ additionalProperties :
121
+ type : string
122
+ description : This value contains a nodeSelector value that is applied
123
+ to test pods spawned by the test operator.
124
+ type : object
118
125
openStackConfigMap :
119
126
default : openstack-config
120
127
description : OpenStackConfigMap is the name of the ConfigMap containing
@@ -137,8 +144,50 @@ spec:
137
144
type : boolean
138
145
storageClass :
139
146
default : local-storage
140
- description : StorageClass used to create PVCs that store the logs
147
+ description : StorageClass used to create any test-operator related
148
+ PVCs.
141
149
type : string
150
+ tolerations :
151
+ description : This value contains a toleration that is applied to pods
152
+ spawned by the test pods that are spawned by the test-operator.
153
+ items :
154
+ description : The pod this Toleration is attached to tolerates any
155
+ taint that matches the triple <key,value,effect> using the matching
156
+ operator <operator>.
157
+ properties :
158
+ effect :
159
+ description : Effect indicates the taint effect to match. Empty
160
+ means match all taint effects. When specified, allowed values
161
+ are NoSchedule, PreferNoSchedule and NoExecute.
162
+ type : string
163
+ key :
164
+ description : Key is the taint key that the toleration applies
165
+ to. Empty means match all taint keys. If the key is empty,
166
+ operator must be Exists; this combination means to match all
167
+ values and all keys.
168
+ type : string
169
+ operator :
170
+ description : Operator represents a key's relationship to the
171
+ value. Valid operators are Exists and Equal. Defaults to Equal.
172
+ Exists is equivalent to wildcard for value, so that a pod
173
+ can tolerate all taints of a particular category.
174
+ type : string
175
+ tolerationSeconds :
176
+ description : TolerationSeconds represents the period of time
177
+ the toleration (which must be of effect NoExecute, otherwise
178
+ this field is ignored) tolerates the taint. By default, it
179
+ is not set, which means tolerate the taint forever (do not
180
+ evict). Zero and negative values will be treated as 0 (evict
181
+ immediately) by the system.
182
+ format : int64
183
+ type : integer
184
+ value :
185
+ description : Value is the taint value the toleration matches
186
+ to. If the operator is Exists, the value should be empty,
187
+ otherwise just a regular string.
188
+ type : string
189
+ type : object
190
+ type : array
142
191
workflow :
143
192
description : A parameter that contains a workflow definition.
144
193
items :
@@ -167,23 +216,26 @@ spec:
167
216
and passed to the ansible command using -e @/etc/test_operator/<file>
168
217
type : string
169
218
backoffLimit :
219
+ default : 0
170
220
description : BackoffLimit allows to define the maximum number
171
221
of retried executions (defaults to 0).
172
222
format : int32
173
223
type : integer
174
224
computeSSHKeySecretName :
175
- description : ComputesSSHKeySecretName is the name of the k8s
225
+ description : ComputeSSHKeySecretName is the name of the k8s
176
226
secret that contains an ssh key for computes. The key is mounted
177
227
to ~/.ssh/id_ecdsa in the ansible pod
178
228
type : string
179
229
containerImage :
180
- description : Container image for AnsibleTest
230
+ default : " "
231
+ description : A URL of a container image that should be used
232
+ by the test-operator for tests execution.
181
233
type : string
182
234
debug :
183
235
description : Run ansible playbook with -vvvv
184
236
type : boolean
185
237
extraConfigmapsMounts :
186
- description : Extra configmaps for mounting in the pod
238
+ description : Extra configmaps for mounting inside the pod
187
239
items :
188
240
properties :
189
241
mountPath :
@@ -205,11 +257,19 @@ spec:
205
257
- subPath
206
258
type : object
207
259
type : array
260
+ nodeSelector :
261
+ additionalProperties :
262
+ type : string
263
+ description : This value contains a nodeSelector value that is
264
+ applied to test pods spawned by the test operator.
265
+ type : object
208
266
openStackConfigMap :
267
+ default : openstack-config
209
268
description : OpenStackConfigMap is the name of the ConfigMap
210
269
containing the clouds.yaml
211
270
type : string
212
271
openStackConfigSecret :
272
+ default : openstack-config-secret
213
273
description : OpenStackConfigSecret is the name of the Secret
214
274
containing the secure.yaml
215
275
type : string
@@ -228,9 +288,53 @@ spec:
228
288
maxLength : 100
229
289
type : string
230
290
storageClass :
231
- description : StorageClass used to create PVCs that store the
232
- logs
291
+ default : local-storage
292
+ description : StorageClass used to create any test-operator related
293
+ PVCs.
233
294
type : string
295
+ tolerations :
296
+ description : This value contains a toleration that is applied
297
+ to pods spawned by the test pods that are spawned by the test-operator.
298
+ items :
299
+ description : The pod this Toleration is attached to tolerates
300
+ any taint that matches the triple <key,value,effect> using
301
+ the matching operator <operator>.
302
+ properties :
303
+ effect :
304
+ description : Effect indicates the taint effect to match.
305
+ Empty means match all taint effects. When specified,
306
+ allowed values are NoSchedule, PreferNoSchedule and
307
+ NoExecute.
308
+ type : string
309
+ key :
310
+ description : Key is the taint key that the toleration
311
+ applies to. Empty means match all taint keys. If the
312
+ key is empty, operator must be Exists; this combination
313
+ means to match all values and all keys.
314
+ type : string
315
+ operator :
316
+ description : Operator represents a key's relationship
317
+ to the value. Valid operators are Exists and Equal.
318
+ Defaults to Equal. Exists is equivalent to wildcard
319
+ for value, so that a pod can tolerate all taints of
320
+ a particular category.
321
+ type : string
322
+ tolerationSeconds :
323
+ description : TolerationSeconds represents the period of
324
+ time the toleration (which must be of effect NoExecute,
325
+ otherwise this field is ignored) tolerates the taint.
326
+ By default, it is not set, which means tolerate the
327
+ taint forever (do not evict). Zero and negative values
328
+ will be treated as 0 (evict immediately) by the system.
329
+ format : int64
330
+ type : integer
331
+ value :
332
+ description : Value is the taint value the toleration matches
333
+ to. If the operator is Exists, the value should be empty,
334
+ otherwise just a regular string.
335
+ type : string
336
+ type : object
337
+ type : array
234
338
workloadSSHKeySecretName :
235
339
description : WorkloadSSHKeySecretName is the name of the k8s
236
340
secret that contains an ssh key for the ansible workload.
@@ -251,7 +355,7 @@ spec:
251
355
- ansiblePlaybookPath
252
356
type : object
253
357
status :
254
- description : AnsibleTestStatus defines the observed state of AnsibleTest
358
+ description : CommonTestStatus defines the observed state of the controller
255
359
properties :
256
360
conditions :
257
361
description : Conditions
0 commit comments