{"action":"created","issue":{"url":"https://api.github.com/repos/helm/charts/issues/10081","repository_url":"https://api.github.com/repos/helm/charts","labels_url":"https://api.github.com/repos/helm/charts/issues/10081/labels{/name}","comments_url":"https://api.github.com/repos/helm/charts/issues/10081/comments","events_url":"https://api.github.com/repos/helm/charts/issues/10081/events","html_url":"https://github.com/helm/charts/pull/10081","id":391826300,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5MjMzODMx","number":10081,"title":"Allow the override of the preconfigure command","user":{"login":"fakarakas","id":18664425,"node_id":"MDQ6VXNlcjE4NjY0NDI1","avatar_url":"https://avatars1.githubusercontent.com/u/18664425?v=4","gravatar_id":"","url":"https://api.github.com/users/fakarakas","html_url":"https://github.com/fakarakas","followers_url":"https://api.github.com/users/fakarakas/followers","following_url":"https://api.github.com/users/fakarakas/following{/other_user}","gists_url":"https://api.github.com/users/fakarakas/gists{/gist_id}","starred_url":"https://api.github.com/users/fakarakas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fakarakas/subscriptions","organizations_url":"https://api.github.com/users/fakarakas/orgs","repos_url":"https://api.github.com/users/fakarakas/repos","events_url":"https://api.github.com/users/fakarakas/events{/privacy}","received_events_url":"https://api.github.com/users/fakarakas/received_events","type":"User","site_admin":false},"labels":[{"id":1037076588,"node_id":"MDU6TGFiZWwxMDM3MDc2NTg4","url":"https://api.github.com/repos/helm/charts/labels/Contribution%20Allowed","name":"Contribution Allowed","color":"3df47d","default":false},{"id":1120334296,"node_id":"MDU6TGFiZWwxMTIwMzM0Mjk2","url":"https://api.github.com/repos/helm/charts/labels/ok-to-test","name":"ok-to-test","color":"ededed","default":false},{"id":676009699,"node_id":"MDU6TGFiZWw2NzYwMDk2OTk=","url":"https://api.github.com/repos/helm/charts/labels/size/S","name":"size/S","color":"77bb00","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-12-17T17:58:23Z","updated_at":"2018-12-18T19:09:39Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/helm/charts/pulls/10081","html_url":"https://github.com/helm/charts/pull/10081","diff_url":"https://github.com/helm/charts/pull/10081.diff","patch_url":"https://github.com/helm/charts/pull/10081.patch"},"body":"#### What this PR does / why we need it:\r\n\r\nWhen deploying gocd in a kubernetes cluster, we would like to preconfigure the server\r\nwith custom settings. This can be done by a script shell or by a python script.\r\n\r\nBefore we could only specify if we want the server to be preconfigured but\r\nthere was no way to override the configuration script.\r\n\r\nWith this change, one can write a script, put it in a configmap, mount this configmap\r\non the pod and override the preconfigure command using 'preconfigureCommand'.\r\n\r\nFor example :\r\n\r\npreconfigureCommand:\r\n  - \"/usr/bin/python\"\r\n  - \"/preconfigure.py\"\r\n\r\n#### Which issue this PR fixes\r\nNone\r\n\r\n#### Special notes for your reviewer:\r\n@arvindsv @bdpiparva @GaneshSPatil @varshavaradarajan @maheshp : let me know if this change suites you\r\n\r\n#### Checklist\r\n[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]\r\n- [x] [DCO](https://www.helm.sh/blog/helm-dco/index.html) signed\r\n- [x] Chart Version bumped\r\n- [x] Variables are documented in the README.md\r\n\r\nSigned-off-by: Fatih KARAKAS <fakarakas@gmail.com>"},"comment":{"url":"https://api.github.com/repos/helm/charts/issues/comments/448334750","html_url":"https://github.com/helm/charts/pull/10081#issuecomment-448334750","issue_url":"https://api.github.com/repos/helm/charts/issues/10081","id":448334750,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODMzNDc1MA==","user":{"login":"sheroy","id":202832,"node_id":"MDQ6VXNlcjIwMjgzMg==","avatar_url":"https://avatars2.githubusercontent.com/u/202832?v=4","gravatar_id":"","url":"https://api.github.com/users/sheroy","html_url":"https://github.com/sheroy","followers_url":"https://api.github.com/users/sheroy/followers","following_url":"https://api.github.com/users/sheroy/following{/other_user}","gists_url":"https://api.github.com/users/sheroy/gists{/gist_id}","starred_url":"https://api.github.com/users/sheroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheroy/subscriptions","organizations_url":"https://api.github.com/users/sheroy/orgs","repos_url":"https://api.github.com/users/sheroy/repos","events_url":"https://api.github.com/users/sheroy/events{/privacy}","received_events_url":"https://api.github.com/users/sheroy/received_events","type":"User","site_admin":false},"created_at":"2018-12-18T19:09:39Z","updated_at":"2018-12-18T19:09:39Z","author_association":"CONTRIBUTOR","body":"Hi @fakarakas, \r\n   _With this change, one can write a script, put it in a configmap_\r\nHow do you plan to create this new configmap? "}}
{"actor":{"display_login":"sheroy"}}