{"action":"closed","issue":{"url":"https://api.github.com/repos/habitat-sh/habitat/issues/1174","repository_url":"https://api.github.com/repos/habitat-sh/habitat","labels_url":"https://api.github.com/repos/habitat-sh/habitat/issues/1174/labels{/name}","comments_url":"https://api.github.com/repos/habitat-sh/habitat/issues/1174/comments","events_url":"https://api.github.com/repos/habitat-sh/habitat/issues/1174/events","html_url":"https://github.com/habitat-sh/habitat/issues/1174","id":171895104,"number":1174,"title":"Support different toml files with default configs","user":{"login":"spa-87","id":6259448,"avatar_url":"https://avatars.githubusercontent.com/u/6259448?v=3","gravatar_id":"","url":"https://api.github.com/users/spa-87","html_url":"https://github.com/spa-87","followers_url":"https://api.github.com/users/spa-87/followers","following_url":"https://api.github.com/users/spa-87/following{/other_user}","gists_url":"https://api.github.com/users/spa-87/gists{/gist_id}","starred_url":"https://api.github.com/users/spa-87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spa-87/subscriptions","organizations_url":"https://api.github.com/users/spa-87/orgs","repos_url":"https://api.github.com/users/spa-87/repos","events_url":"https://api.github.com/users/spa-87/events{/privacy}","received_events_url":"https://api.github.com/users/spa-87/received_events","type":"User","site_admin":false},"labels":[{"id":397560094,"url":"https://api.github.com/repos/habitat-sh/habitat/labels/Discussing","name":"Discussing","color":"e99695","default":false},{"id":390274553,"url":"https://api.github.com/repos/habitat-sh/habitat/labels/Feature","name":"Feature","color":"1d76db","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-18T13:00:29Z","updated_at":"2016-12-13T20:29:38Z","closed_at":"2016-12-13T20:29:38Z","body":"Currently habitat reads default configs from default.toml which is located in the package root. I believe it make sense to extend that behavior via providing an environment variable where can be set which file with default configs should be used.\n\nThen we can have a bunch of toml files in the package and define at launch time which one should be used.\n\nOur use case: we have kubernetes infrastructure and want to use habitata for building docker containers.\n\nDescribed above feature will let to both developers and operations to manage values for habitat variables based on application environment:\nDevelopers create per-environment toml-files where they set values which can be different for different environments.\nOperations define which config should be used based on environment where service is running, and override infrastructure-specific parameters.\n"}}
{"actor":{"display_login":"smurawski"}}