{"action":"reopened","issue":{"url":"https://api.github.com/repos/coreos/kpm/issues/26","repository_url":"https://api.github.com/repos/coreos/kpm","labels_url":"https://api.github.com/repos/coreos/kpm/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/coreos/kpm/issues/26/comments","events_url":"https://api.github.com/repos/coreos/kpm/issues/26/events","html_url":"https://github.com/coreos/kpm/issues/26","id":147777982,"number":26,"title":"Use PATCH or apply to update resources","user":{"login":"ant31","id":1044332,"avatar_url":"https://avatars.githubusercontent.com/u/1044332?v=3","gravatar_id":"","url":"https://api.github.com/users/ant31","html_url":"https://github.com/ant31","followers_url":"https://api.github.com/users/ant31/followers","following_url":"https://api.github.com/users/ant31/following{/other_user}","gists_url":"https://api.github.com/users/ant31/gists{/gist_id}","starred_url":"https://api.github.com/users/ant31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ant31/subscriptions","organizations_url":"https://api.github.com/users/ant31/orgs","repos_url":"https://api.github.com/users/ant31/repos","events_url":"https://api.github.com/users/ant31/events{/privacy}","received_events_url":"https://api.github.com/users/ant31/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/coreos/kpm/labels/component/client","name":"component/client","color":"bfd4f2"},{"url":"https://api.github.com/repos/coreos/kpm/labels/priority/P1","name":"priority/P1","color":"d93f0b"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-04-12T14:55:53Z","updated_at":"2016-10-23T01:14:18Z","closed_at":null,"body":"Currently kpm replace the resource (delete/create). \r\nPerforming a PATCH seems a better default. \r\n\r\nTo keep the previous behavior (replace) available add a key in the manifest:\r\n\r\n```\r\nresources:\r\n  - name: kube-ui-rc.yaml\r\n    type: rc\r\n    strategy: replace  \r\n\r\n- name: resource.yaml\r\n  type: deployment\r\n  strategy: update   # Default  behavior\r\n```"}}
{"actor":{"display_login":"ant31"}}