mirror of https://github.com/knative/client.git
* 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. |
||
|---|---|---|
| .. | ||
| config_changes.go | ||
| config_changes_test.go | ||
| service.go | ||