{"action":"opened","issue":{"url":"https://api.github.com/repos/kubernetes-sigs/aws-alb-ingress-controller/issues/405","repository_url":"https://api.github.com/repos/kubernetes-sigs/aws-alb-ingress-controller","labels_url":"https://api.github.com/repos/kubernetes-sigs/aws-alb-ingress-controller/issues/405/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes-sigs/aws-alb-ingress-controller/issues/405/comments","events_url":"https://api.github.com/repos/kubernetes-sigs/aws-alb-ingress-controller/issues/405/events","html_url":"https://github.com/kubernetes-sigs/aws-alb-ingress-controller/issues/405","id":334807481,"node_id":"MDU6SXNzdWUzMzQ4MDc0ODE=","number":405,"title":"default action is forwarded to the target group of first rule of the list","user":{"login":"ehbello","id":172758,"node_id":"MDQ6VXNlcjE3Mjc1OA==","avatar_url":"https://avatars1.githubusercontent.com/u/172758?v=4","gravatar_id":"","url":"https://api.github.com/users/ehbello","html_url":"https://github.com/ehbello","followers_url":"https://api.github.com/users/ehbello/followers","following_url":"https://api.github.com/users/ehbello/following{/other_user}","gists_url":"https://api.github.com/users/ehbello/gists{/gist_id}","starred_url":"https://api.github.com/users/ehbello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehbello/subscriptions","organizations_url":"https://api.github.com/users/ehbello/orgs","repos_url":"https://api.github.com/users/ehbello/repos","events_url":"https://api.github.com/users/ehbello/events{/privacy}","received_events_url":"https://api.github.com/users/ehbello/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-22T09:22:47Z","updated_at":"2018-06-22T09:22:47Z","closed_at":null,"author_association":"NONE","body":"Hello. I am not sure if this is a bug or a misconfiguration by my side. However, I can't configure the default rule for a listener.\r\n\r\nAccording to the Kubernetes documentation for [Ingress](https://kubernetes.io/docs/concepts/services-networking/ingress/#types-of-ingress) resources, the right way to configure that is:\r\n```\r\napiVersion: extensions/v1beta1\r\nkind: Ingress\r\nmetadata:\r\n  name: test-ingress\r\nspec:\r\n  backend:\r\n    serviceName: testsvc\r\n    servicePort: 80\r\n```\r\nIn my case, I mixed this 'single service' example with another specific rules. My resulting configuration is similar to:\r\n```\r\napiVersion: extensions/v1beta1\r\nkind: Ingress\r\nmetadata:\r\n  name: test-ingress\r\nspec:\r\n  backend:\r\n    serviceName: testsvc0\r\n    servicePort: 80\r\n  rules:\r\n  - host: svc1.example.com\r\n    http:\r\n       paths:\r\n       - backend:\r\n           serviceName: testsvc1\r\n           servicePort: 81\r\n  - host: svc2.example.com\r\n    http:\r\n       paths:\r\n       - backend:\r\n           serviceName: testsvc2\r\n           servicePort: 82\r\n```\r\nWith this configuration, the default action is forwarded to `testsvc1` instead to `testsvc0`. I also tried to add the following rule without hosts and paths like this without success:\r\n```\r\n   - http:\r\n       paths:\r\n       - backend:\r\n           serviceName: testsvc0\r\n           servicePort: 80\r\n```\r\nAny clue about this unwanted behaviour?\r\n\r\nI attach a screenshot of a real case.\r\n\r\n![screenshot_20180622_101050](https://user-images.githubusercontent.com/172758/41769121-2b6f2ad4-7606-11e8-9af3-1d40ce378961.png)"}}
{"actor":{"display_login":"ehbello"}}