Commit f3a6775
authored
Few last fixes in v1 API (#4113)
* Several fixes in v1 API
* make the `spec.deployment` field optional
* rename `spec.storage.storageWorkloads` => `spec.storage.workloadResourceRequirements`
* move `spec.tuningPolicy` to `spec.virtualization.tuningPolicy`
* do not convert the v1beta1 spec.tuningPolicy, if the value is
"highBurst", as it's not supported in v1.
Signed-off-by: Nahshon Unna Tsameret <nunnatsa@redhat.com>
* fix the application code to match the API changes
Also, the v1 validator now rejects the "highBurst" value for the
tuningPolicy field, instead of just return a warning.
The v1 mutator removes the tuningPolicy field, if its value is
"highBurst".
Signed-off-by: Nahshon Unna Tsameret <nunnatsa@redhat.com>
* fix e2e
Signed-off-by: Nahshon Unna Tsameret <nunnatsa@redhat.com>
* update CRD and docs
Signed-off-by: Nahshon Unna Tsameret <nunnatsa@redhat.com>
---------
Signed-off-by: Nahshon Unna Tsameret <nunnatsa@redhat.com>1 parent 1f2769f commit f3a6775
File tree
22 files changed
+289
-172
lines changed- api
- v1beta1
- v1
- config/crd/bases
- controllers/handlers
- deploy
- crds
- index-image/community-kubevirt-hyperconverged/1.18.0/manifests
- olm-catalog/community-kubevirt-hyperconverged/1.18.0/manifests
- docs
- pkg/webhooks
- mutator
- validator
- tests/func-tests
- tools
- csv-merger
- manifest-templator
22 files changed
+289
-172
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | 32 | | |
35 | 33 | | |
36 | 34 | | |
37 | 35 | | |
38 | 36 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | 37 | | |
48 | 38 | | |
49 | 39 | | |
| |||
224 | 214 | | |
225 | 215 | | |
226 | 216 | | |
| 217 | + | |
227 | 218 | | |
228 | | - | |
| 219 | + | |
229 | 220 | | |
230 | 221 | | |
231 | 222 | | |
232 | 223 | | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
233 | 232 | | |
234 | 233 | | |
235 | 234 | | |
| |||
354 | 353 | | |
355 | 354 | | |
356 | 355 | | |
357 | | - | |
| 356 | + | |
358 | 357 | | |
359 | 358 | | |
360 | | - | |
| 359 | + | |
361 | 360 | | |
362 | 361 | | |
363 | 362 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
111 | 113 | | |
112 | 114 | | |
113 | 115 | | |
| |||
191 | 193 | | |
192 | 194 | | |
193 | 195 | | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
194 | 202 | | |
195 | 203 | | |
196 | 204 | | |
| |||
283 | 291 | | |
284 | 292 | | |
285 | 293 | | |
286 | | - | |
| 294 | + | |
287 | 295 | | |
288 | 296 | | |
289 | 297 | | |
290 | 298 | | |
291 | | - | |
292 | | - | |
293 | | - | |
| 299 | + | |
294 | 300 | | |
295 | 301 | | |
296 | 302 | | |
| |||
314 | 320 | | |
315 | 321 | | |
316 | 322 | | |
317 | | - | |
| 323 | + | |
318 | 324 | | |
319 | 325 | | |
320 | 326 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
516 | | - | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
517 | 528 | | |
518 | 529 | | |
519 | 530 | | |
| |||
860 | 871 | | |
861 | 872 | | |
862 | 873 | | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
863 | 896 | | |
864 | 897 | | |
865 | 898 | | |
| |||
1310 | 1343 | | |
1311 | 1344 | | |
1312 | 1345 | | |
1313 | | - | |
| 1346 | + | |
1314 | 1347 | | |
1315 | 1348 | | |
1316 | 1349 | | |
| |||
1340 | 1373 | | |
1341 | 1374 | | |
1342 | 1375 | | |
1343 | | - | |
| 1376 | + | |
1344 | 1377 | | |
1345 | 1378 | | |
1346 | 1379 | | |
| |||
1458 | 1491 | | |
1459 | 1492 | | |
1460 | 1493 | | |
1461 | | - | |
1462 | | - | |
1463 | | - | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
1464 | 1497 | | |
1465 | 1498 | | |
1466 | 1499 | | |
| |||
1502 | 1535 | | |
1503 | 1536 | | |
1504 | 1537 | | |
1505 | | - | |
1506 | | - | |
1507 | | - | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
1508 | 1541 | | |
1509 | 1542 | | |
1510 | 1543 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 23 | | |
28 | | - | |
29 | 24 | | |
30 | | - | |
| 25 | + | |
31 | 26 | | |
32 | 27 | | |
33 | 28 | | |
| |||
47 | 42 | | |
48 | 43 | | |
49 | 44 | | |
50 | | - | |
| 45 | + | |
| 46 | + | |
51 | 47 | | |
52 | 48 | | |
53 | 49 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2765 | 2765 | | |
2766 | 2766 | | |
2767 | 2767 | | |
2768 | | - | |
| 2768 | + | |
| 2769 | + | |
| 2770 | + | |
| 2771 | + | |
| 2772 | + | |
2769 | 2773 | | |
2770 | | - | |
| 2774 | + | |
2771 | 2775 | | |
2772 | 2776 | | |
2773 | 2777 | | |
| |||
2826 | 2830 | | |
2827 | 2831 | | |
2828 | 2832 | | |
2829 | | - | |
2830 | | - | |
2831 | | - | |
2832 | | - | |
2833 | 2833 | | |
2834 | | - | |
2835 | | - | |
2836 | | - | |
2837 | | - | |
2838 | | - | |
2839 | | - | |
2840 | | - | |
2841 | | - | |
2842 | | - | |
2843 | | - | |
2844 | 2834 | | |
2845 | 2835 | | |
2846 | 2836 | | |
| |||
3279 | 3269 | | |
3280 | 3270 | | |
3281 | 3271 | | |
| 3272 | + | |
| 3273 | + | |
| 3274 | + | |
| 3275 | + | |
| 3276 | + | |
| 3277 | + | |
| 3278 | + | |
| 3279 | + | |
| 3280 | + | |
| 3281 | + | |
3282 | 3282 | | |
3283 | 3283 | | |
3284 | 3284 | | |
| |||
4254 | 4254 | | |
4255 | 4255 | | |
4256 | 4256 | | |
4257 | | - | |
4258 | | - | |
4259 | 4257 | | |
4260 | 4258 | | |
4261 | 4259 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | | - | |
| 393 | + | |
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3809 | 3809 | | |
3810 | 3810 | | |
3811 | 3811 | | |
3812 | | - | |
| 3812 | + | |
3813 | 3813 | | |
3814 | 3814 | | |
3815 | 3815 | | |
| |||
3819 | 3819 | | |
3820 | 3820 | | |
3821 | 3821 | | |
3822 | | - | |
| 3822 | + | |
3823 | 3823 | | |
3824 | 3824 | | |
3825 | 3825 | | |
| |||
3831 | 3831 | | |
3832 | 3832 | | |
3833 | 3833 | | |
3834 | | - | |
| 3834 | + | |
3835 | 3835 | | |
3836 | 3836 | | |
3837 | 3837 | | |
| |||
3843 | 3843 | | |
3844 | 3844 | | |
3845 | 3845 | | |
3846 | | - | |
| 3846 | + | |
3847 | 3847 | | |
3848 | 3848 | | |
3849 | 3849 | | |
| |||
0 commit comments