{"action":"created","issue":{"url":"https://api.github.com/repos/ksonnet/ksonnet/issues/309","repository_url":"https://api.github.com/repos/ksonnet/ksonnet","labels_url":"https://api.github.com/repos/ksonnet/ksonnet/issues/309/labels{/name}","comments_url":"https://api.github.com/repos/ksonnet/ksonnet/issues/309/comments","events_url":"https://api.github.com/repos/ksonnet/ksonnet/issues/309/events","html_url":"https://github.com/ksonnet/ksonnet/pull/309","id":294014989,"number":309,"title":"Migrate environment spec.json to the app.yaml model","user":{"login":"jessicayuen","id":3442374,"avatar_url":"https://avatars0.githubusercontent.com/u/3442374?v=4","gravatar_id":"","url":"https://api.github.com/users/jessicayuen","html_url":"https://github.com/jessicayuen","followers_url":"https://api.github.com/users/jessicayuen/followers","following_url":"https://api.github.com/users/jessicayuen/following{/other_user}","gists_url":"https://api.github.com/users/jessicayuen/gists{/gist_id}","starred_url":"https://api.github.com/users/jessicayuen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessicayuen/subscriptions","organizations_url":"https://api.github.com/users/jessicayuen/orgs","repos_url":"https://api.github.com/users/jessicayuen/repos","events_url":"https://api.github.com/users/jessicayuen/events{/privacy}","received_events_url":"https://api.github.com/users/jessicayuen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jessicayuen","id":3442374,"avatar_url":"https://avatars0.githubusercontent.com/u/3442374?v=4","gravatar_id":"","url":"https://api.github.com/users/jessicayuen","html_url":"https://github.com/jessicayuen","followers_url":"https://api.github.com/users/jessicayuen/followers","following_url":"https://api.github.com/users/jessicayuen/following{/other_user}","gists_url":"https://api.github.com/users/jessicayuen/gists{/gist_id}","starred_url":"https://api.github.com/users/jessicayuen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessicayuen/subscriptions","organizations_url":"https://api.github.com/users/jessicayuen/orgs","repos_url":"https://api.github.com/users/jessicayuen/repos","events_url":"https://api.github.com/users/jessicayuen/events{/privacy}","received_events_url":"https://api.github.com/users/jessicayuen/received_events","type":"User","site_admin":false},"assignees":[{"login":"jessicayuen","id":3442374,"avatar_url":"https://avatars0.githubusercontent.com/u/3442374?v=4","gravatar_id":"","url":"https://api.github.com/users/jessicayuen","html_url":"https://github.com/jessicayuen","followers_url":"https://api.github.com/users/jessicayuen/followers","following_url":"https://api.github.com/users/jessicayuen/following{/other_user}","gists_url":"https://api.github.com/users/jessicayuen/gists{/gist_id}","starred_url":"https://api.github.com/users/jessicayuen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessicayuen/subscriptions","organizations_url":"https://api.github.com/users/jessicayuen/orgs","repos_url":"https://api.github.com/users/jessicayuen/repos","events_url":"https://api.github.com/users/jessicayuen/events{/privacy}","received_events_url":"https://api.github.com/users/jessicayuen/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-02-02T20:34:16Z","updated_at":"2018-02-05T20:25:27Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/ksonnet/ksonnet/pulls/309","html_url":"https://github.com/ksonnet/ksonnet/pull/309","diff_url":"https://github.com/ksonnet/ksonnet/pull/309.diff","patch_url":"https://github.com/ksonnet/ksonnet/pull/309.patch"},"body":"Partially implements #292 \r\n\r\nCurrently spec.json contains detail about an environment's namespace and\r\nserver. Following the proposal at\r\ndesign/proposals/modular-components.md, this change will consolidate\r\nenvironment specifications in the common ksonnet app.yaml file.\r\n\r\nAn environment specification for the environment \"dev\", may look as\r\nfollows:\r\n\r\n```\r\nenvironments:\r\n  dev:\r\n    destinations:\r\n    - namespace: foo\r\n      server: example.com\r\n    k8sVersion: \"1.8.1\"\r\n    path: dev\r\n    targets:\r\n    - db\r\n```\r\n\r\nNote: This change currently doesn't support\r\n\r\n(1) population of the k8sVersion field. This will occur as we migrate\r\nthe environment .metadata folder.\r\n(2) deployment to more than one destination. This will occur once ks\r\nsupports multi-cluster deployment.\r\n(3) setting of details other than the env name in `ks env set`. Prior\r\nto this change, users are able to namespace and server URI, however it\r\nbecomes ambiguous which namespace is being set for an environment where\r\nthere can be multiple destinations. We will encourage configuration in\r\napp.yaml itself.\r\n(4) targets. This will come in a later change.\r\n\r\nSigned-off-by: Jessica Yuen <im.jessicayuen@gmail.com>"},"comment":{"url":"https://api.github.com/repos/ksonnet/ksonnet/issues/comments/363210428","html_url":"https://github.com/ksonnet/ksonnet/pull/309#issuecomment-363210428","issue_url":"https://api.github.com/repos/ksonnet/ksonnet/issues/309","id":363210428,"user":{"login":"bryanl","id":240,"avatar_url":"https://avatars3.githubusercontent.com/u/240?v=4","gravatar_id":"","url":"https://api.github.com/users/bryanl","html_url":"https://github.com/bryanl","followers_url":"https://api.github.com/users/bryanl/followers","following_url":"https://api.github.com/users/bryanl/following{/other_user}","gists_url":"https://api.github.com/users/bryanl/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanl/subscriptions","organizations_url":"https://api.github.com/users/bryanl/orgs","repos_url":"https://api.github.com/users/bryanl/repos","events_url":"https://api.github.com/users/bryanl/events{/privacy}","received_events_url":"https://api.github.com/users/bryanl/received_events","type":"User","site_admin":false},"created_at":"2018-02-05T20:25:27Z","updated_at":"2018-02-05T20:25:27Z","author_association":"CONTRIBUTOR","body":"Yes, we can temporarily say that a change needs to happen, but we should offer to upgrade before the 0.9.0 release. "}}
{"actor":{"display_login":"bryanl"}}