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