{"action":"created","issue":{"url":"https://api.github.com/repos/EnMasseProject/enmasse/issues/1398","repository_url":"https://api.github.com/repos/EnMasseProject/enmasse","labels_url":"https://api.github.com/repos/EnMasseProject/enmasse/issues/1398/labels{/name}","comments_url":"https://api.github.com/repos/EnMasseProject/enmasse/issues/1398/comments","events_url":"https://api.github.com/repos/EnMasseProject/enmasse/issues/1398/events","html_url":"https://github.com/EnMasseProject/enmasse/issues/1398","id":334559392,"node_id":"MDU6SXNzdWUzMzQ1NTkzOTI=","number":1398,"title":"Using empty addressSpace endpoint list along with services doesn't work anymore","user":{"login":"calohmn","id":891931,"node_id":"MDQ6VXNlcjg5MTkzMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/891931?v=4","gravatar_id":"","url":"https://api.github.com/users/calohmn","html_url":"https://github.com/calohmn","followers_url":"https://api.github.com/users/calohmn/followers","following_url":"https://api.github.com/users/calohmn/following{/other_user}","gists_url":"https://api.github.com/users/calohmn/gists{/gist_id}","starred_url":"https://api.github.com/users/calohmn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calohmn/subscriptions","organizations_url":"https://api.github.com/users/calohmn/orgs","repos_url":"https://api.github.com/users/calohmn/repos","events_url":"https://api.github.com/users/calohmn/events{/privacy}","received_events_url":"https://api.github.com/users/calohmn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-21T16:04:15Z","updated_at":"2018-06-28T07:43:39Z","closed_at":"2018-06-28T07:19:38Z","author_association":"CONTRIBUTOR","body":"As a way of configuring external loadbalancer annotations and properties in endpoints (see #661), we create an addressSpace with an empty endpoint list (`\"endpoints\": [],`)  and deploy our own endpoint services (with `type: LoadBalancer` label), so that these are adopted as endpoints via `EndpointController.updateEndpoints()`.\r\n\r\nWith EnMasse 0.21.0 however, this doesn't work anymore. There is this exception, occuring repeatedly:\r\n````\r\n2018-06-21 13:32:13.335 [Thread-4] INFO  ControllerChain:109 - Check address spaces: [hono:default]\r\n2018-06-21 13:32:13.354 [Thread-4] INFO  CreateController:72 - Creating address space {name=default,namespace=hono,type=standard,plan=unlimited-standard-without-mqtt,endpoints=[],status={isReady=false,endpointStatuses=[],messages=[]}}\r\n2018-06-21 13:32:14.088 [Thread-4] WARN  ResourceChecker:53 - Exception in checker task\r\njava.lang.IllegalArgumentException: No value available for parameter name: CONSOLE_SECRET\r\n  at io.fabric8.openshift.client.dsl.internal.TemplateOperationsImpl.processLocally(TemplateOperationsImpl.java:203)\r\n  at io.fabric8.openshift.client.dsl.internal.TemplateOperationsImpl.processLocally(TemplateOperationsImpl.java:157)\r\n  at io.fabric8.openshift.client.dsl.internal.TemplateOperationsImpl.processLocally(TemplateOperationsImpl.java:59)\r\n  at io.enmasse.controller.common.KubernetesHelper.processTemplate(KubernetesHelper.java:123)\r\n  at io.enmasse.controller.TemplateInfraResourceFactory.createResourceList(TemplateInfraResourceFactory.java:85)\r\n  at io.enmasse.controller.CreateController.handle(CreateController.java:104)\r\n  at io.enmasse.controller.ControllerChain.onUpdate(ControllerChain.java:120)\r\n  at io.enmasse.k8s.api.ResourceChecker.doWork(ResourceChecker.java:48)\r\n  at io.enmasse.k8s.api.ResourceChecker.run(ResourceChecker.java:40)\r\n  at java.lang.Thread.run(Thread.java:748)\r\n````\r\n\r\nRelated commit:\r\nhttps://github.com/EnMasseProject/enmasse/commit/12d3ebbf07d0d83541136d99d8b5db08dc8631ea#diff-c1906ad2f12f179d2ea72800cf87281cL85\r\n\r\n(The `Step 3: Create missing secrets if not specified` in `TemplateInfraResourceFactory.createResourceList` has been removed, so template params aren't set anymore.)"},"comment":{"url":"https://api.github.com/repos/EnMasseProject/enmasse/issues/comments/400943339","html_url":"https://github.com/EnMasseProject/enmasse/issues/1398#issuecomment-400943339","issue_url":"https://api.github.com/repos/EnMasseProject/enmasse/issues/1398","id":400943339,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDk0MzMzOQ==","user":{"login":"calohmn","id":891931,"node_id":"MDQ6VXNlcjg5MTkzMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/891931?v=4","gravatar_id":"","url":"https://api.github.com/users/calohmn","html_url":"https://github.com/calohmn","followers_url":"https://api.github.com/users/calohmn/followers","following_url":"https://api.github.com/users/calohmn/following{/other_user}","gists_url":"https://api.github.com/users/calohmn/gists{/gist_id}","starred_url":"https://api.github.com/users/calohmn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calohmn/subscriptions","organizations_url":"https://api.github.com/users/calohmn/orgs","repos_url":"https://api.github.com/users/calohmn/repos","events_url":"https://api.github.com/users/calohmn/events{/privacy}","received_events_url":"https://api.github.com/users/calohmn/received_events","type":"User","site_admin":false},"created_at":"2018-06-28T07:43:39Z","updated_at":"2018-06-28T07:43:39Z","author_association":"CONTRIBUTOR","body":"Thanks!"}}
{"actor":{"display_login":"calohmn"}}