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

coryodaniel / k8s / 470133c2df5f31c010785b5071c2f50e58a71641-PR-302
84%
master: 88%

Build:
Build:
LAST BUILD BRANCH: dependabot/hex/yaml_elixir-2.12.1
DEFAULT BRANCH: master
Ran 24 Jan 2024 10:03PM UTC
Jobs 1
Files 58
Run time 5s
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

24 Jan 2024 10:01PM UTC coverage: 82.696% (-1.1%) from 83.776%
470133c2df5f31c010785b5071c2f50e58a71641-PR-302

Pull #302

github

elliottneilclark
feat: start a dynamic supervisor for auth providers

Summary:

- Start `K8s.Conn.Auth.ProviderSupervisor`
- Start `K8s.Conn.Auth.ExecWorker` for kube context with auth exec
  configured. This respects expiration and will not give out known
  expired tokens.
- Start `K8s.Conn.Auth.ServiceAccountWorker` for connections started
  with `K8s.Conn.from_service_account/2`. This periodically refreshes
  the token.
- Add refresh timers with jitter on for all of those
- Start `K8s.Conn.Auth.CertificateWorker` for kube context where given a
  .pem file. Some cloud providers are giving very short duration certs.

Test Plan:

- Added test for exec parsing
- Added test for exec worker
- Added test for service account
- Added integration-ish test for service account worker refresh
- Changed test for certificate to ensure genserver
- Added test for certificate worker

`mix test`
Pull Request #302: feat: cache auth tokens in GenServer per connection

908 of 1098 relevant lines covered (82.7%)

194.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 470133c2df5f31c010785b5071c2f50e58a71641-PR-302.1 24 Jan 2024 10:03PM UTC 0
82.7
GitHub Action Run
Source Files on build 470133c2df5f31c010785b5071c2f50e58a71641-PR-302
Detailed source file information is not available for this build.
  • Back to Repo
  • Pull Request #302
  • PR Base - develop (#990507EF...)
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