{"action":"created","issue":{"url":"https://api.github.com/repos/helm/charts/issues/7553","repository_url":"https://api.github.com/repos/helm/charts","labels_url":"https://api.github.com/repos/helm/charts/issues/7553/labels{/name}","comments_url":"https://api.github.com/repos/helm/charts/issues/7553/comments","events_url":"https://api.github.com/repos/helm/charts/issues/7553/events","html_url":"https://github.com/helm/charts/issues/7553","id":357248621,"node_id":"MDU6SXNzdWUzNTcyNDg2MjE=","number":7553,"title":"[stable/rabbitmq-ha] add custom definitions in definitions.json","user":{"login":"didjcodt","id":3254450,"node_id":"MDQ6VXNlcjMyNTQ0NTA=","avatar_url":"https://avatars2.githubusercontent.com/u/3254450?v=4","gravatar_id":"","url":"https://api.github.com/users/didjcodt","html_url":"https://github.com/didjcodt","followers_url":"https://api.github.com/users/didjcodt/followers","following_url":"https://api.github.com/users/didjcodt/following{/other_user}","gists_url":"https://api.github.com/users/didjcodt/gists{/gist_id}","starred_url":"https://api.github.com/users/didjcodt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/didjcodt/subscriptions","organizations_url":"https://api.github.com/users/didjcodt/orgs","repos_url":"https://api.github.com/users/didjcodt/repos","events_url":"https://api.github.com/users/didjcodt/events{/privacy}","received_events_url":"https://api.github.com/users/didjcodt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-05T14:11:30Z","updated_at":"2018-10-06T13:04:57Z","closed_at":null,"author_association":"NONE","body":"\r\n**Is this a request for help?**: Yes and no :)\r\n\r\n---\r\n\r\n**Is this a BUG REPORT or FEATURE REQUEST?** (choose one): Feature request\r\n\r\n<!--\r\nIf this is a FEATURE REQUEST, please:\r\n  - Describe *in detail* the feature/behavior/change you'd like to see.\r\n\r\nIn both cases, be ready for followup questions, and please respond in a timely\r\nmanner.  If we can't reproduce a bug or think a feature already exists, we\r\nmight close your issue.  If we're wrong, PLEASE feel free to reopen it and\r\nexplain why.\r\n-->\r\n\r\n**Version of Helm and Kubernetes**: Helm v2.9.1, Kubernetes v1.10.0\r\n\r\n\r\n**Which chart**: stable/rabbitmq-ha\r\n\r\n\r\n**What happened**: Since v1.9.0, a `definitions.json` file have been created, needed for users creation for health check, prometheus, etc. It is thus impossible to get these features using a custom `definitions.json` file without patching it. \r\n\r\nIs using the definitions file not a normal workflow to get a declarative way to configure rabbitmq? (I'm a rabbitmq newbie)\r\n\r\nI would like to deploy a pre-configured rabbitmq with already defined queues, bindings, etc. but I cannot figure out how to do it without patching this file. \r\n\r\n**Anything else we need to know**: I can make a PR to add the ability to add custom definitions inside the generated `definitions.json` if it is a correct way to do it.\r\n\r\nI could add the following variables in the values file:\r\n```yaml\r\ndefinitions:\r\n  users: |-\r\n    { \"name\": \"username\", ... }\r\n  vhosts: |-\r\n    {\"name\": \"/\" }\r\n  permissions: |-\r\n    { \"user\": \"username\", ...}\r\n  other:\r\n  - policies: |-\r\n  - queues: |-\r\n  - exchanges: |-\r\n  - bindings: |-\r\n  - ...\r\n```"},"comment":{"url":"https://api.github.com/repos/helm/charts/issues/comments/427572152","html_url":"https://github.com/helm/charts/issues/7553#issuecomment-427572152","issue_url":"https://api.github.com/repos/helm/charts/issues/7553","id":427572152,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzU3MjE1Mg==","user":{"login":"stale[bot]","id":26384082,"node_id":"MDM6Qm90MjYzODQwODI=","avatar_url":"https://avatars3.githubusercontent.com/in/1724?v=4","gravatar_id":"","url":"https://api.github.com/users/stale%5Bbot%5D","html_url":"https://github.com/apps/stale","followers_url":"https://api.github.com/users/stale%5Bbot%5D/followers","following_url":"https://api.github.com/users/stale%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/stale%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/stale%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stale%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/stale%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/stale%5Bbot%5D/repos","events_url":"https://api.github.com/users/stale%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/stale%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-10-06T13:04:57Z","updated_at":"2018-10-06T13:04:57Z","author_association":"NONE","body":"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.\n"}}
{"actor":{"display_login":"stale"}}