Dong Ma | f159677 | 2025-02-11 05:18:42 +0000 | [diff] [blame] | 1 | suite: runtimeclass |
| 2 | tests: |
| 3 | - it: should support not having a runtime class |
| 4 | templates: |
| 5 | - templates/deployment-api.yaml |
| 6 | - templates/deployment-data.yaml |
| 7 | - templates/deployment-scheduler.yaml |
| 8 | - templates/deployment-share.yaml |
| 9 | - templates/pod-rally-test.yaml |
| 10 | - templates/job-db-sync.yaml |
Dong Ma | 36b8922 | 2025-02-13 16:15:52 +0000 | [diff] [blame] | 11 | - templates/job-bootstrap.yaml |
Dong Ma | f159677 | 2025-02-11 05:18:42 +0000 | [diff] [blame] | 12 | asserts: |
| 13 | - template: templates/deployment-api.yaml |
| 14 | documentIndex: 3 |
| 15 | notExists: |
| 16 | path: spec.template.spec.runtimeClassName |
| 17 | - template: templates/deployment-data.yaml |
| 18 | documentIndex: 3 |
| 19 | notExists: |
| 20 | path: spec.template.spec.runtimeClassName |
| 21 | - template: templates/deployment-scheduler.yaml |
| 22 | documentIndex: 3 |
| 23 | notExists: |
| 24 | path: spec.template.spec.runtimeClassName |
| 25 | - template: templates/deployment-share.yaml |
| 26 | documentIndex: 3 |
| 27 | notExists: |
| 28 | path: spec.template.spec.runtimeClassName |
| 29 | - template: templates/pod-rally-test.yaml |
| 30 | documentIndex: 1 |
| 31 | notExists: |
| 32 | path: spec.runtimeClassName |
| 33 | - template: templates/job-db-sync.yaml |
| 34 | documentIndex: 3 |
| 35 | notExists: |
| 36 | path: spec.template.spec.runtimeClassName |
Dong Ma | 36b8922 | 2025-02-13 16:15:52 +0000 | [diff] [blame] | 37 | - template: templates/job-bootstrap.yaml |
| 38 | documentIndex: 1 |
| 39 | notExists: |
| 40 | path: spec.template.spec.runtimeClassName |
Dong Ma | f159677 | 2025-02-11 05:18:42 +0000 | [diff] [blame] | 41 | |
| 42 | - it: should support setting a runtime class |
| 43 | templates: |
| 44 | - templates/deployment-api.yaml |
| 45 | - templates/deployment-data.yaml |
| 46 | - templates/deployment-scheduler.yaml |
| 47 | - templates/deployment-share.yaml |
| 48 | - templates/pod-rally-test.yaml |
| 49 | - templates/job-db-sync.yaml |
Dong Ma | 36b8922 | 2025-02-13 16:15:52 +0000 | [diff] [blame] | 50 | - templates/job-bootstrap.yaml |
Dong Ma | f159677 | 2025-02-11 05:18:42 +0000 | [diff] [blame] | 51 | set: |
| 52 | pod: |
| 53 | runtimeClassName: |
| 54 | manila_api: kata-clh |
| 55 | manila_data: kata-clh |
| 56 | manila_scheduler: kata-clh |
| 57 | manila_tests: kata-clh |
| 58 | manila_share: kata-clh |
| 59 | db_sync: kata-clh |
Dong Ma | 36b8922 | 2025-02-13 16:15:52 +0000 | [diff] [blame] | 60 | bootstrap: kata-clh |
Dong Ma | f159677 | 2025-02-11 05:18:42 +0000 | [diff] [blame] | 61 | asserts: |
| 62 | - template: templates/deployment-api.yaml |
| 63 | documentIndex: 3 |
| 64 | equal: |
| 65 | path: spec.template.spec.runtimeClassName |
| 66 | value: kata-clh |
| 67 | - template: templates/deployment-data.yaml |
| 68 | documentIndex: 3 |
| 69 | equal: |
| 70 | path: spec.template.spec.runtimeClassName |
| 71 | value: kata-clh |
| 72 | - template: templates/deployment-scheduler.yaml |
| 73 | documentIndex: 3 |
| 74 | equal: |
| 75 | path: spec.template.spec.runtimeClassName |
| 76 | value: kata-clh |
| 77 | - template: templates/deployment-share.yaml |
| 78 | documentIndex: 3 |
| 79 | equal: |
| 80 | path: spec.template.spec.runtimeClassName |
| 81 | value: kata-clh |
| 82 | - template: templates/pod-rally-test.yaml |
| 83 | documentIndex: 1 |
| 84 | equal: |
| 85 | path: spec.runtimeClassName |
| 86 | value: kata-clh |
| 87 | - template: templates/job-db-sync.yaml |
| 88 | documentIndex: 3 |
| 89 | equal: |
| 90 | path: spec.template.spec.runtimeClassName |
| 91 | value: kata-clh |
Dong Ma | 36b8922 | 2025-02-13 16:15:52 +0000 | [diff] [blame] | 92 | - template: templates/job-bootstrap.yaml |
| 93 | documentIndex: 1 |
| 94 | equal: |
| 95 | path: spec.template.spec.runtimeClassName |
| 96 | value: kata-clh |