{"action":"created","issue":{"url":"https://api.github.com/repos/spinnaker/spinnaker/issues/978","repository_url":"https://api.github.com/repos/spinnaker/spinnaker","labels_url":"https://api.github.com/repos/spinnaker/spinnaker/issues/978/labels{/name}","comments_url":"https://api.github.com/repos/spinnaker/spinnaker/issues/978/comments","events_url":"https://api.github.com/repos/spinnaker/spinnaker/issues/978/events","html_url":"https://github.com/spinnaker/spinnaker/issues/978","id":164852050,"number":978,"title":"Using existing server groups as template in deploy stage is incomplete","user":{"login":"leelasharma","id":6091337,"avatar_url":"https://avatars.githubusercontent.com/u/6091337?v=3","gravatar_id":"","url":"https://api.github.com/users/leelasharma","html_url":"https://github.com/leelasharma","followers_url":"https://api.github.com/users/leelasharma/followers","following_url":"https://api.github.com/users/leelasharma/following{/other_user}","gists_url":"https://api.github.com/users/leelasharma/gists{/gist_id}","starred_url":"https://api.github.com/users/leelasharma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leelasharma/subscriptions","organizations_url":"https://api.github.com/users/leelasharma/orgs","repos_url":"https://api.github.com/users/leelasharma/repos","events_url":"https://api.github.com/users/leelasharma/events{/privacy}","received_events_url":"https://api.github.com/users/leelasharma/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spinnaker/spinnaker/labels/Kubernetes","name":"Kubernetes","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"lwander","id":4874941,"avatar_url":"https://avatars.githubusercontent.com/u/4874941?v=3","gravatar_id":"","url":"https://api.github.com/users/lwander","html_url":"https://github.com/lwander","followers_url":"https://api.github.com/users/lwander/followers","following_url":"https://api.github.com/users/lwander/following{/other_user}","gists_url":"https://api.github.com/users/lwander/gists{/gist_id}","starred_url":"https://api.github.com/users/lwander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwander/subscriptions","organizations_url":"https://api.github.com/users/lwander/orgs","repos_url":"https://api.github.com/users/lwander/repos","events_url":"https://api.github.com/users/lwander/events{/privacy}","received_events_url":"https://api.github.com/users/lwander/received_events","type":"User","site_admin":false},"assignees":[{"login":"lwander","id":4874941,"avatar_url":"https://avatars.githubusercontent.com/u/4874941?v=3","gravatar_id":"","url":"https://api.github.com/users/lwander","html_url":"https://github.com/lwander","followers_url":"https://api.github.com/users/lwander/followers","following_url":"https://api.github.com/users/lwander/following{/other_user}","gists_url":"https://api.github.com/users/lwander/gists{/gist_id}","starred_url":"https://api.github.com/users/lwander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwander/subscriptions","organizations_url":"https://api.github.com/users/lwander/orgs","repos_url":"https://api.github.com/users/lwander/repos","events_url":"https://api.github.com/users/lwander/events{/privacy}","received_events_url":"https://api.github.com/users/lwander/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-07-11T14:33:21Z","updated_at":"2016-07-11T16:16:16Z","closed_at":null,"body":"When using an existing server group (that use docker images) as a a template in a different pipeline's deploy stage, the container definitions aren't being propagated. Volume sources, load balancers, settings, etc seem to be copied correctly.\r\n\r\nI am running Spinnaker on kubernetes using docker images from quay to deploy to other kubernetes clusters.\r\n\r\nSteps to Reproduce:\r\nCreate Pipleine A -> Add a docker image trigger -> Add Deploy stage -> Create a server group A with a docker container\r\nCreate Pipleine B -> Add deploy stage -> Add server group and copy configuration from server group A\r\nThis server group seems to be now missing the container configuration details.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/spinnaker/spinnaker/issues/comments/231784296","html_url":"https://github.com/spinnaker/spinnaker/issues/978#issuecomment-231784296","issue_url":"https://api.github.com/repos/spinnaker/spinnaker/issues/978","id":231784296,"user":{"login":"leelasharma","id":6091337,"avatar_url":"https://avatars.githubusercontent.com/u/6091337?v=3","gravatar_id":"","url":"https://api.github.com/users/leelasharma","html_url":"https://github.com/leelasharma","followers_url":"https://api.github.com/users/leelasharma/followers","following_url":"https://api.github.com/users/leelasharma/following{/other_user}","gists_url":"https://api.github.com/users/leelasharma/gists{/gist_id}","starred_url":"https://api.github.com/users/leelasharma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leelasharma/subscriptions","organizations_url":"https://api.github.com/users/leelasharma/orgs","repos_url":"https://api.github.com/users/leelasharma/repos","events_url":"https://api.github.com/users/leelasharma/events{/privacy}","received_events_url":"https://api.github.com/users/leelasharma/received_events","type":"User","site_admin":false},"created_at":"2016-07-11T16:16:16Z","updated_at":"2016-07-11T16:16:16Z","body":"The cloud-driver.yml looks a bit like:\r\n```\r\nkubernetes:\r\n  enabled: true\r\n  accounts:\r\n    - name: kubernetes-account-1\r\n      namespaces:\r\n        - default\r\n      cluster: gke_test_europe-west1-d_test-cluster\r\n      user: gke_test_europe-west1-d_test-cluster\r\n      dockerRegistries:\r\n        - accountName: docker-account-1\r\n    - name: kubernetes-account-2\r\n      namespaces:\r\n        - default\r\n        - namespace1\r\n        - namespace2\r\n        - namespace3\r\n        - namespace4\r\n      cluster: gke_prod_europe-west1-d_test-cluster\r\n      user: gke_prod_europe-west1-d_test-cluster\r\n      dockerRegistries:\r\n        - accountName: docker-account-1\r\n    - name: kubernetes-account-3\r\n      namespaces:\r\n        - namespace1\r\n        - namespace2\r\n        - namespace3\r\n      cluster: gke_test_europe-west1-c_test-cluster\r\n      user: gke_test_europe-west1-c_test-cluster\r\n      dockerRegistries:\r\n        - accountName: docker-account-2\r\n\r\ndockerRegistry:\r\n  enabled: true\r\n  accounts:\r\n    - name: docker-account-1\r\n      address: https://docker-repo.test.com\r\n      username: test\r\n      password: test123\r\n      email: test@test.com\r\n      repositories:\r\n        - repository-1\r\n        - repository-2\r\n        - repository-3\r\n    - name: docker-account-2\r\n      address: https://eu.gcr.io\r\n      username: _json_key\r\n      passwordFile: /docker-registry/registry-key.json\r\n      email: spinnaker-test@test.com\r\n      repositories:\r\n        - test/repository-1\r\n```"}}
{"actor":{"display_login":"leelasharma"}}