{"action":"created","issue":{"url":"https://api.github.com/repos/Mailu/Mailu/issues/576","repository_url":"https://api.github.com/repos/Mailu/Mailu","labels_url":"https://api.github.com/repos/Mailu/Mailu/issues/576/labels{/name}","comments_url":"https://api.github.com/repos/Mailu/Mailu/issues/576/comments","events_url":"https://api.github.com/repos/Mailu/Mailu/issues/576/events","html_url":"https://github.com/Mailu/Mailu/pull/576","id":353021845,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwMTg1NTM5","number":576,"title":"Kubernetes fixed for production","user":{"login":"hacor","id":7940367,"node_id":"MDQ6VXNlcjc5NDAzNjc=","avatar_url":"https://avatars2.githubusercontent.com/u/7940367?v=4","gravatar_id":"","url":"https://api.github.com/users/hacor","html_url":"https://github.com/hacor","followers_url":"https://api.github.com/users/hacor/followers","following_url":"https://api.github.com/users/hacor/following{/other_user}","gists_url":"https://api.github.com/users/hacor/gists{/gist_id}","starred_url":"https://api.github.com/users/hacor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hacor/subscriptions","organizations_url":"https://api.github.com/users/hacor/orgs","repos_url":"https://api.github.com/users/hacor/repos","events_url":"https://api.github.com/users/hacor/events{/privacy}","received_events_url":"https://api.github.com/users/hacor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2018-08-22T16:03:50Z","updated_at":"2018-10-09T13:10:29Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/Mailu/Mailu/pulls/576","html_url":"https://github.com/Mailu/Mailu/pull/576","diff_url":"https://github.com/Mailu/Mailu/pull/576.diff","patch_url":"https://github.com/Mailu/Mailu/pull/576.patch"},"body":"Hello,\r\n\r\nI made some breaking changes to the whole kubernetes layout and ideas. This was because it seemed after using it for a month with success my Mailu setup became an open relay and I had to redesign the implementation completely.\r\n\r\n**Major changes:**\r\n- `Nginx Ingress Controller` Daemonset will now coexist with the `Mailu Front` Daemonset both using the `hostNetwork: true` mode. The reason was that I made an open relay because the Nginx Controller who forwarded the mail traffic automatically made it appearing from the pod network. That's why I had to make the front container public to be able to see the real IPs.\r\n- Port `80` and `443` will be closed on the front container when environment variable `KUBERNETES_INGRESS=true` exists. Leaving this ports in favor of the standard Ingress Controller. This has no effect on the docker compose environment!\r\n- All mappings of the port `80` and `443` of the front containers `nginx.conf` were replaced by `Ingress manifests` for the Ingress controller (including the auto-fetching of lets-encrypt certificates)\r\n- I replaced all the `:master` tags by images in my docker account (`haor/mailu-*:1.6`). This was for testing purposes to be sure no changes on master branch would affect my setup. These can of course be replaced when some definitive tags were chosen by the Mailu team.\r\n\r\n**Elements tested successfully:**\r\n- Rouncube\r\n- Webdav\r\n- Antispam\r\n- Admin UI\r\nAnd all seem to work very good and stable now\r\n\r\n**Minor change:**\r\n- I added the ability to use the environment variable `RSPAMD_PASSWORD` to provide a more secure password for rspamd. If the variable doesn't exist, it still uses the older `mailu` value.\r\n\r\nAll remarks are welcome!\r\nSorry for the big error on my previous release, I hope this one will make things right.\r\n\r\nBest regards,\r\n\r\nHacor"},"comment":{"url":"https://api.github.com/repos/Mailu/Mailu/issues/comments/428185503","html_url":"https://github.com/Mailu/Mailu/pull/576#issuecomment-428185503","issue_url":"https://api.github.com/repos/Mailu/Mailu/issues/576","id":428185503,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODE4NTUwMw==","user":{"login":"consideRatio","id":3837114,"node_id":"MDQ6VXNlcjM4MzcxMTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/3837114?v=4","gravatar_id":"","url":"https://api.github.com/users/consideRatio","html_url":"https://github.com/consideRatio","followers_url":"https://api.github.com/users/consideRatio/followers","following_url":"https://api.github.com/users/consideRatio/following{/other_user}","gists_url":"https://api.github.com/users/consideRatio/gists{/gist_id}","starred_url":"https://api.github.com/users/consideRatio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/consideRatio/subscriptions","organizations_url":"https://api.github.com/users/consideRatio/orgs","repos_url":"https://api.github.com/users/consideRatio/repos","events_url":"https://api.github.com/users/consideRatio/events{/privacy}","received_events_url":"https://api.github.com/users/consideRatio/received_events","type":"User","site_admin":false},"created_at":"2018-10-09T13:10:29Z","updated_at":"2018-10-09T13:10:29Z","author_association":"NONE","body":"@hacor @kaiyou this LGTM!"}}
{"actor":{"display_login":"consideRatio"}}