Dong Ma | 16a956a | 2025-02-10 13:28:41 +0000 | [diff] [blame] | 1 | suite: priorityclass |
| 2 | tests: |
| 3 | - it: should support not having a priority class |
| 4 | templates: |
| 5 | - templates/deployment-api.yaml |
Dong Ma | 36b8922 | 2025-02-13 16:15:52 +0000 | [diff] [blame] | 6 | - templates/statefulset-conductor.yaml |
Dong Ma | 16a956a | 2025-02-10 13:28:41 +0000 | [diff] [blame] | 7 | - templates/job-db-sync.yaml |
Dong Ma | 36b8922 | 2025-02-13 16:15:52 +0000 | [diff] [blame] | 8 | - templates/job-bootstrap.yaml |
Dong Ma | 16a956a | 2025-02-10 13:28:41 +0000 | [diff] [blame] | 9 | asserts: |
| 10 | - template: templates/deployment-api.yaml |
| 11 | documentIndex: 3 |
| 12 | notExists: |
| 13 | path: spec.template.spec.priorityClassName |
Dong Ma | 36b8922 | 2025-02-13 16:15:52 +0000 | [diff] [blame] | 14 | - template: templates/statefulset-conductor.yaml |
| 15 | documentIndex: 3 |
| 16 | notExists: |
| 17 | path: spec.template.spec.priorityClassName |
Dong Ma | 16a956a | 2025-02-10 13:28:41 +0000 | [diff] [blame] | 18 | - template: templates/job-db-sync.yaml |
| 19 | documentIndex: 3 |
| 20 | notExists: |
| 21 | path: spec.template.spec.priorityClassName |
Dong Ma | 36b8922 | 2025-02-13 16:15:52 +0000 | [diff] [blame] | 22 | - template: templates/job-bootstrap.yaml |
| 23 | documentIndex: 3 |
| 24 | notExists: |
| 25 | path: spec.template.spec.priorityClassName |
Dong Ma | 16a956a | 2025-02-10 13:28:41 +0000 | [diff] [blame] | 26 | |
| 27 | - it: should support setting a priority class |
| 28 | templates: |
| 29 | - templates/deployment-api.yaml |
Dong Ma | 36b8922 | 2025-02-13 16:15:52 +0000 | [diff] [blame] | 30 | - templates/statefulset-conductor.yaml |
Dong Ma | 16a956a | 2025-02-10 13:28:41 +0000 | [diff] [blame] | 31 | - templates/job-db-sync.yaml |
Dong Ma | 36b8922 | 2025-02-13 16:15:52 +0000 | [diff] [blame] | 32 | - templates/job-bootstrap.yaml |
Dong Ma | 16a956a | 2025-02-10 13:28:41 +0000 | [diff] [blame] | 33 | set: |
| 34 | pod: |
| 35 | priorityClassName: |
| 36 | ironic_api: platform |
Dong Ma | 36b8922 | 2025-02-13 16:15:52 +0000 | [diff] [blame] | 37 | ironic_conductor: platform |
Dong Ma | 16a956a | 2025-02-10 13:28:41 +0000 | [diff] [blame] | 38 | db_sync: platform |
Dong Ma | 36b8922 | 2025-02-13 16:15:52 +0000 | [diff] [blame] | 39 | bootstrap: platform |
Dong Ma | 16a956a | 2025-02-10 13:28:41 +0000 | [diff] [blame] | 40 | asserts: |
| 41 | - template: templates/deployment-api.yaml |
| 42 | documentIndex: 3 |
| 43 | equal: |
| 44 | path: spec.template.spec.priorityClassName |
| 45 | value: platform |
Dong Ma | 36b8922 | 2025-02-13 16:15:52 +0000 | [diff] [blame] | 46 | - template: templates/statefulset-conductor.yaml |
| 47 | documentIndex: 3 |
| 48 | equal: |
| 49 | path: spec.template.spec.priorityClassName |
| 50 | value: platform |
Dong Ma | 16a956a | 2025-02-10 13:28:41 +0000 | [diff] [blame] | 51 | - template: templates/job-db-sync.yaml |
| 52 | documentIndex: 3 |
| 53 | equal: |
| 54 | path: spec.template.spec.priorityClassName |
| 55 | value: platform |
Dong Ma | 36b8922 | 2025-02-13 16:15:52 +0000 | [diff] [blame] | 56 | - template: templates/job-bootstrap.yaml |
| 57 | documentIndex: 3 |
| 58 | equal: |
| 59 | path: spec.template.spec.priorityClassName |
| 60 | value: platform |