{"action":"created","issue":{"url":"https://api.github.com/repos/rancher/rancher/issues/2500","labels_url":"https://api.github.com/repos/rancher/rancher/issues/2500/labels{/name}","comments_url":"https://api.github.com/repos/rancher/rancher/issues/2500/comments","events_url":"https://api.github.com/repos/rancher/rancher/issues/2500/events","html_url":"https://github.com/rancher/rancher/issues/2500","id":114553528,"number":2500,"title":"Possibility to save own stack as template in a Catalog ( official or private)","user":{"login":"demarant","id":320440,"avatar_url":"https://avatars.githubusercontent.com/u/320440?v=3","gravatar_id":"","url":"https://api.github.com/users/demarant","html_url":"https://github.com/demarant","followers_url":"https://api.github.com/users/demarant/followers","following_url":"https://api.github.com/users/demarant/following{/other_user}","gists_url":"https://api.github.com/users/demarant/gists{/gist_id}","starred_url":"https://api.github.com/users/demarant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demarant/subscriptions","organizations_url":"https://api.github.com/users/demarant/orgs","repos_url":"https://api.github.com/users/demarant/repos","events_url":"https://api.github.com/users/demarant/events{/privacy}","received_events_url":"https://api.github.com/users/demarant/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-02T09:06:32Z","updated_at":"2015-11-02T17:26:19Z","closed_at":null,"body":"The addition of a Catalog of docker-compose+rancher-compose is a great enhancement to Rancher.\r\n\r\nWe have a couple of feature requests related to this:\r\n\r\n1. Possibility to save private stack as templare in official catalog/add private catalog\r\n2. Enable versioning of stack templates\r\n\r\n\r\n1.\r\nAs a Rancher owner/admin I would like to be able to save Stacks I created within my development team as Templates in the Catalog. Alternatively the possibility to at least add own private Catalogs (project catalogs) on the side of Rancher official Catalog. This way different teams would be able to experiment and create their own stacks and save them in the project Catalog.\r\n\r\nThis also useful for Rancher so that more stacks becomes available for reuse in the official catalog.\r\n\r\nI do know that the current Catalog is connected to a rancher github repo. It would be fairly simple to allow rancher admin to add private catalogs, just by indicating the github repo to add. Partially related to #2481\r\n\r\n2.\r\nHaving them in github, makes it also possibile to provvide another important missing feature: versioning of stacks. So user can see if a stack templare gas bene updated and which version is in sue.(this is probably another distinct feature)\r\n\r\nThanks!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rancher/rancher/issues/comments/153091032","html_url":"https://github.com/rancher/rancher/issues/2500#issuecomment-153091032","issue_url":"https://api.github.com/repos/rancher/rancher/issues/2500","id":153091032,"user":{"login":"vincent99","id":753917,"avatar_url":"https://avatars.githubusercontent.com/u/753917?v=3","gravatar_id":"","url":"https://api.github.com/users/vincent99","html_url":"https://github.com/vincent99","followers_url":"https://api.github.com/users/vincent99/followers","following_url":"https://api.github.com/users/vincent99/following{/other_user}","gists_url":"https://api.github.com/users/vincent99/gists{/gist_id}","starred_url":"https://api.github.com/users/vincent99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincent99/subscriptions","organizations_url":"https://api.github.com/users/vincent99/orgs","repos_url":"https://api.github.com/users/vincent99/repos","events_url":"https://api.github.com/users/vincent99/events{/privacy}","received_events_url":"https://api.github.com/users/vincent99/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T17:26:19Z","updated_at":"2015-11-02T17:26:19Z","body":"Templates are revision controlled (git) and versioned (the user can choose between different releases of the catalog application).  When a new version is available the UI shows an upgrade button and will do an in-place upgrade.  Since the catalog is new there just aren't any versions, except the [ElasticSearch](https://github.com/rancher/rancher-catalog/tree/master/templates/elasticsearch) template has two so QA could test upgrade.  You'll need to specifically choose the older one when initially deploying it since it defaults to the newer one.\r\n\r\nYou can do private catalog today with a little bit of work; change /v1/settings/catalog.url to a different url `git clone ...` can pull (possibly but not necessarily a fork of our [rancher-catalog](https://github.com/rancher/rancher-catalog)) and then restart the rancher/server container.  We will support multiple catalog URLs soon so you can add your own additional things without having to fork ours."}}