31 lines
6.1 KiB
Markdown
31 lines
6.1 KiB
Markdown
### overridepolicy e2e test coverage analysis
|
|
|
|
#### OverridePolicy apply overriders testing
|
|
| Test Case | E2E Describe Text | Comments |
|
|
|---------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|-------------------------------------------------------------------------------------|
|
|
| Check if the OverridePolicy will update the deployment's labels | deployment labelsOverride testing | [OverridePolicy](https://karmada.io/docs/next/userguide/scheduling/override-policy) |
|
|
| Check if the OverridePolicy will update the deployment's annotations | deployment annotationsOverrider testing | |
|
|
| Check if the OverridePolicy will update the deployment's image value | deployment imageOverride testing | |
|
|
| Check if the OverridePolicy will update the pod's image value | pod imageOverride testing | |
|
|
| Check if the OverridePolicy will update the specific image value | deployment imageOverride testing | |
|
|
| Check if the OverridePolicy will update the value inside JSON | deployment fieldOverride testing | |
|
|
| Check if the OverridePolicy will update the value inside YAML | deployment fieldOverride testing | |
|
|
|
|
#### OverridePolicy with nil resourceSelector testing
|
|
| Test Case | E2E Describe Text | Comments |
|
|
|---------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|-------------------------------------------------------------------------------------|
|
|
| Check if the OverridePolicy will update the specific image value when with nil resourceSelector | deployment imageOverride testing | |
|
|
|
|
#### OverrideRules apply overriders testing
|
|
| Test Case | E2E Describe Text | Comments |
|
|
|---------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|-------------------------------------------------------------------------------------|
|
|
| Check if the OverridePolicy will update all the image value of the deployment | deployment imageOverride testing | |
|
|
| Check if the OverridePolicy will update all the image value of the pod | pod imageOverride testing | |
|
|
| Check if the OverridePolicy will update the specific image value | deployment imageOverride testing | |
|
|
|
|
#### OverrideRules with nil resourceSelector testing
|
|
| Test Case | E2E Describe Text | Comments |
|
|
|---------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|-------------------------------------------------------------------------------------|
|
|
| Check if the OverridePolicy will update the deployment's image value when with nil resourceSelector | deployment imageOverride testing | |
|
|
| Check if the OverridePolicy will update the deployment's image value when creating overridePolicy after develop and propagationPolicy have been created | deployment imageOverride testing | |
|