-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(service update): Only update fields which have been sent by serve…
…r. (#155) * fix(service update): Only update fields which have been sent by server. This reflects the lemonade process step1. Tests have been adapted to verify this behaviours. The only situation when we update field coming from the server is for "kn service update" for envs, image and requests/limits. All other operation are either create (here, we always have to send the old fields), or read (get/describe). Fixes #144. * chore: typo fix * refactor(service update/create): Moved from Configuration to RevisionTemplateSpec In order to proper handling the v1alpha1 -> v1beta1 migration methods has been updated to get rid fo Configuration within the service as this is completely inlined in v1beta1. The helper methods have been also updated accordingly. I think we are good now.
- Loading branch information
1 parent
43061af
commit b6a8fa9
Showing
8 changed files
with
261 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.