{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/charts/issues/5318","repository_url":"https://api.github.com/repos/kubernetes/charts","labels_url":"https://api.github.com/repos/kubernetes/charts/issues/5318/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/charts/issues/5318/comments","events_url":"https://api.github.com/repos/kubernetes/charts/issues/5318/events","html_url":"https://github.com/kubernetes/charts/pull/5318","id":318880083,"number":5318,"title":"Forcing a new line to be created in the configmap yaml generation","user":{"login":"dwardu89","id":3398505,"avatar_url":"https://avatars0.githubusercontent.com/u/3398505?v=4","gravatar_id":"","url":"https://api.github.com/users/dwardu89","html_url":"https://github.com/dwardu89","followers_url":"https://api.github.com/users/dwardu89/followers","following_url":"https://api.github.com/users/dwardu89/following{/other_user}","gists_url":"https://api.github.com/users/dwardu89/gists{/gist_id}","starred_url":"https://api.github.com/users/dwardu89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwardu89/subscriptions","organizations_url":"https://api.github.com/users/dwardu89/orgs","repos_url":"https://api.github.com/users/dwardu89/repos","events_url":"https://api.github.com/users/dwardu89/events{/privacy}","received_events_url":"https://api.github.com/users/dwardu89/received_events","type":"User","site_admin":false},"labels":[{"id":484586588,"url":"https://api.github.com/repos/kubernetes/charts/labels/cncf-cla:%20yes","name":"cncf-cla: yes","color":"bfe5bf","default":false},{"id":676475149,"url":"https://api.github.com/repos/kubernetes/charts/labels/size/XS","name":"size/XS","color":"009900","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-04-30T12:55:09Z","updated_at":"2018-05-02T12:30:46Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/kubernetes/charts/pulls/5318","html_url":"https://github.com/kubernetes/charts/pull/5318","diff_url":"https://github.com/kubernetes/charts/pull/5318.diff","patch_url":"https://github.com/kubernetes/charts/pull/5318.patch"},"body":"**What this PR does / why we need it**:\r\nThis PR fixes the yaml generation for the \"prometheus.yml\" file. Without this, prometheus-server will not start due to the malformed configuration YAML.\r\nWithout this bug, the yaml generated will contain the following:\r\n```\r\n        source_labels:\r\n        - __meta_kubernetes_pod_name\r\n        target_label: kubernetes_pod_namealerting:\r\n```\r\nThis will force a new line to solve the problem and make the generated YAML valid:\r\n```\r\n        source_labels:\r\n        - __meta_kubernetes_pod_name\r\n        target_label: kubernetes_pod_name\r\n      alerting:\r\n```\r\n**Special notes for your reviewer**:\r\nNone"},"comment":{"url":"https://api.github.com/repos/kubernetes/charts/issues/comments/385961515","html_url":"https://github.com/kubernetes/charts/pull/5318#issuecomment-385961515","issue_url":"https://api.github.com/repos/kubernetes/charts/issues/5318","id":385961515,"user":{"login":"flemzord","id":1952914,"avatar_url":"https://avatars1.githubusercontent.com/u/1952914?v=4","gravatar_id":"","url":"https://api.github.com/users/flemzord","html_url":"https://github.com/flemzord","followers_url":"https://api.github.com/users/flemzord/followers","following_url":"https://api.github.com/users/flemzord/following{/other_user}","gists_url":"https://api.github.com/users/flemzord/gists{/gist_id}","starred_url":"https://api.github.com/users/flemzord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flemzord/subscriptions","organizations_url":"https://api.github.com/users/flemzord/orgs","repos_url":"https://api.github.com/users/flemzord/repos","events_url":"https://api.github.com/users/flemzord/events{/privacy}","received_events_url":"https://api.github.com/users/flemzord/received_events","type":"User","site_admin":false},"created_at":"2018-05-02T12:30:46Z","updated_at":"2018-05-02T12:30:46Z","author_association":"NONE","body":"Please merge this pull request for fix prometheus deployement. "}}
{"actor":{"display_login":"flemzord"}}