You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create an upgrade test case to catch potential problems with upgrades and BYO Revision.
Test case example:
Create BYO Revision name ksvc in Knative 0.x
Upgrade to Knative 0.y
Attempt to update "traffic" in the ksvc
The attempt should succeed.
If the attempt does not succeed it means that we likely added defaulting to a new field in our webhook. Adding a new field for defaulting will modify the RevisionTemplate spec resulting in the Revision creation failing (as Revision with that name already exists).
This issue is to get test coverage to prevent this from happening without us knowing. We will want to explore how we can handle such a case gracefully as we will likely want to add new defaults.
The text was updated successfully, but these errors were encountered:
This adds a new test using BYO Revision name to make sure that the
immutability contract is not violated by adding new defaults to the
Service template.
Fixesknative#6077
* Add upgrade test for new defaults
This adds a new test using BYO Revision name to make sure that the
immutability contract is not violated by adding new defaults to the
Service template.
Fixes#6077
* CR comments
In what area(s)?
/area API
Describe the feature
Create an upgrade test case to catch potential problems with upgrades and BYO Revision.
Test case example:
If the attempt does not succeed it means that we likely added defaulting to a new field in our webhook. Adding a new field for defaulting will modify the RevisionTemplate spec resulting in the Revision creation failing (as Revision with that name already exists).
This issue is to get test coverage to prevent this from happening without us knowing. We will want to explore how we can handle such a case gracefully as we will likely want to add new defaults.
The text was updated successfully, but these errors were encountered: