{"action":"created","issue":{"url":"https://api.github.com/repos/helm/helm/issues/4919","repository_url":"https://api.github.com/repos/helm/helm","labels_url":"https://api.github.com/repos/helm/helm/issues/4919/labels{/name}","comments_url":"https://api.github.com/repos/helm/helm/issues/4919/comments","events_url":"https://api.github.com/repos/helm/helm/issues/4919/events","html_url":"https://github.com/helm/helm/pull/4919","id":380576632,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwNzQxMTg0","number":4919,"title":"Fix incorrect flow example and improve operator documentation","user":{"login":"consolewitch","id":6244158,"node_id":"MDQ6VXNlcjYyNDQxNTg=","avatar_url":"https://avatars1.githubusercontent.com/u/6244158?v=4","gravatar_id":"","url":"https://api.github.com/users/consolewitch","html_url":"https://github.com/consolewitch","followers_url":"https://api.github.com/users/consolewitch/followers","following_url":"https://api.github.com/users/consolewitch/following{/other_user}","gists_url":"https://api.github.com/users/consolewitch/gists{/gist_id}","starred_url":"https://api.github.com/users/consolewitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/consolewitch/subscriptions","organizations_url":"https://api.github.com/users/consolewitch/orgs","repos_url":"https://api.github.com/users/consolewitch/repos","events_url":"https://api.github.com/users/consolewitch/events{/privacy}","received_events_url":"https://api.github.com/users/consolewitch/received_events","type":"User","site_admin":false},"labels":[{"id":676174034,"node_id":"MDU6TGFiZWw2NzYxNzQwMzQ=","url":"https://api.github.com/repos/helm/helm/labels/size/S","name":"size/S","color":"77bb00","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-11-14T07:56:38Z","updated_at":"2018-12-05T18:10:23Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/helm/helm/pulls/4919","html_url":"https://github.com/helm/helm/pull/4919","diff_url":"https://github.com/helm/helm/pull/4919.diff","patch_url":"https://github.com/helm/helm/pull/4919.patch"},"body":"The syntax demonstrated in the present documentation is incorrect\r\n\r\nvalues.yaml\r\n```\r\nstringVar: \"foo\"\r\nboolVar: true\r\n#unsetVar: \"unset\"\r\nsetVar: \"set\"\r\n```\r\ntemplates/test.yaml\r\n```\r\n{{ if (.Values.setVar) and eq .Values.setVar \"set\" }}\r\n#infixing 'and', this should be included \r\n{{- end}}\r\n \r\n{{- if (.Values.setVar) and false }}\r\n#infixing 'and', this should NOT be included\r\n{{- end}}\r\n \r\n{{- if and .Values.setVar (eq .Values.setVar \"set\") }}\r\n#prefixing 'and', this should be included\r\n{{- end}}\r\n \r\n{{- if and .Values.setVar (eq .Values.setVar \"garbage\") }}\r\n#prefixing 'and', this should NOT be included\r\n{{- end}}\r\n```\r\n\r\nresults:\r\n``` \r\n$ helm template ./test                                                                                                                                                                     \r\n---\r\n#infixing 'and', this should be included\r\n#infixing 'and', this should NOT be included\r\n#prefixing 'and', this should be included\r\n```\r\n\r\nSigned-off-by: Alex <login@sneaksneak.org>"},"comment":{"url":"https://api.github.com/repos/helm/helm/issues/comments/444585466","html_url":"https://github.com/helm/helm/pull/4919#issuecomment-444585466","issue_url":"https://api.github.com/repos/helm/helm/issues/4919","id":444585466,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDU4NTQ2Ng==","user":{"login":"bacongobbler","id":1360539,"node_id":"MDQ6VXNlcjEzNjA1Mzk=","avatar_url":"https://avatars2.githubusercontent.com/u/1360539?v=4","gravatar_id":"","url":"https://api.github.com/users/bacongobbler","html_url":"https://github.com/bacongobbler","followers_url":"https://api.github.com/users/bacongobbler/followers","following_url":"https://api.github.com/users/bacongobbler/following{/other_user}","gists_url":"https://api.github.com/users/bacongobbler/gists{/gist_id}","starred_url":"https://api.github.com/users/bacongobbler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bacongobbler/subscriptions","organizations_url":"https://api.github.com/users/bacongobbler/orgs","repos_url":"https://api.github.com/users/bacongobbler/repos","events_url":"https://api.github.com/users/bacongobbler/events{/privacy}","received_events_url":"https://api.github.com/users/bacongobbler/received_events","type":"User","site_admin":false},"created_at":"2018-12-05T18:10:23Z","updated_at":"2018-12-05T18:10:23Z","author_association":"MEMBER","body":"ping"}}
{"actor":{"display_login":"bacongobbler"}}