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

Twingate / kubernetes-operator / 18957234874 / 1
97%
main: 97%

Build:
DEFAULT BRANCH: main
Ran 30 Oct 2025 10:53PM UTC
Files 28
Run time 0s
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

30 Oct 2025 10:52PM UTC coverage: 96.566% (-0.03%) from 96.599%
18957234874.1

push

github

web-flow
fix: Fix the reconciliation logic for Kubernetes resource (#822)

## Changes

- Fix the reconciliation for Kubernetes resource
+ Add port `443` explicitly to Gateway address in `TwingateResource`
CRD.
- Gateway address includes the port number in the backend so the CRD
should also include the port number toto avoid difference between CRD
data and what is returned in public API. Right now the CRD stores
`gateway.svc.default.local.cluster.local` while the API returns
`gateway.svc.default.local.cluster.local:443`, which results in
unnecessary update mutations.
+ When comparing the certificates, convert them to
[`cryptography.x509.Certificate`](https://cryptography.io/en/latest/x509/reference/#cryptography.x509.Certificate)
- Right now we compare certificates in PEM format but the same
certificate can be formatted differently in PEM.

- Add integration test to make sure we don't make unnecessary update
mutation for Kubernetes resources

---------

Co-authored-by: Eran Kampf <eran@ekampf.com>

199 of 224 branches covered (88.84%)

Branch coverage included in aggregate %.

1235 of 1261 relevant lines covered (97.94%)

0.98 hits per line

Source Files on job 18957234874.1
  • Tree
  • List 28
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 18957234874
  • ae6a3f2d on github
  • Prev Job for on main (#18924137205.1)
  • Next Job for on main (#18957346854.1)
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