• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cilium / cilium / 42530
39%

Build:
DEFAULT BRANCH: master
Ran 02 Jun 2022 03:49PM UTC
Jobs 2
Files 941
Run time 7min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Jun 2022 03:00PM UTC coverage: 33.752% (-0.04%) from 33.791%
42530

push

travis-ci-com

aanm
ingress: Fix issue with port number is not used

This commit is to fix the issue that the port number of backend service
is not used i.e. regardless of port values, all the endpoints of ingress
backend are routable via Ingress.

Before

```
$ kg ingress basic-ingress -o yaml
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: basic-ingress
  namespace: default
spec:
  ingressClassName: cilium
  rules:
  - http:
      paths:
      - backend:
          service:
            name: details
            port:
              number: 9999
        path: /details
        pathType: Prefix
      - backend:
          service:
            name: productpage
            port:
              number: 9080
        path: /
        pathType: Prefix

$ curl http://$lb/details/1
{"id":1,"author":"William Shakespeare","year":1595,"type":"paperback","pages":200,"publisher":"PublisherA","language":"English","ISBN-10":"1234567890","ISBN-13":"123-1234567890"}
```

After

```
$ curl http://$lb/details/1
no healthy upstream

// Change invalid port number 9999 to 9080
$ curl http://$lb/details/1
{"id":1,"author":"William Shakespeare","year":1595,"type":"paperback","pages":200,"publisher":"PublisherA","language":"English","ISBN-10":"1234567890","ISBN-13":"123-1234567890"}
```

Signed-off-by: Tam Mach <tam.mach@cilium.io>

63 of 63 new or added lines in 1 file covered. (100.0%)

47706 of 141344 relevant lines covered (33.75%)

3750.46 hits per line

Jobs
ID Job ID Ran Files Coverage
1 42530.1 02 Jun 2022 03:52PM UTC 0
33.74
Travis Job 42530.1
2 42530.2 02 Jun 2022 03:49PM UTC 0
33.73
Travis Job 42530.2
Source Files on build 42530
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #42530
  • eb902ce3 on github
  • Prev Build on master (#42498)
  • Next Build on master (#42549)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc