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

Twingate / kubernetes-operator / 18957234874
97%

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

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 %.

23 of 23 new or added lines in 5 files covered. (100.0%)

1 existing line in 1 file now uncovered.

1235 of 1261 relevant lines covered (97.94%)

0.98 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
97.83
-1.02% app/handlers/handlers_resource.py
Jobs
ID Job ID Ran Files Coverage
1 18957234874.1 30 Oct 2025 10:53PM UTC 28
96.57
GitHub Action Run
Source Files on build 18957234874
  • 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 Repo
  • ae6a3f2d on github
  • Prev Build on main (#18924137205)
  • Next Build on main (#18957346854)
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