argoproj-labs / argocd-agent

Redefining the multi cluster story of Argo CD
Apache License 2.0
82 stars 15 forks source link

refactor: Provide additional kubernetes client to servers #176

Closed jannfis closed 2 months ago

jannfis commented 2 months ago

This is a small refactor so that the agent and principal both will have access to a generic Kubernetes API client in addition to the versioned Application client.

It is a prerequisite for some changes to come.

codecov-commenter commented 2 months ago

Codecov Report

Attention: Patch coverage is 83.33333% with 1 line in your changes missing coverage. Please review.

Project coverage is 48.64%. Comparing base (a7a31f0) to head (5d33f77). Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
cmd/principal/main.go 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #176 +/- ## ======================================= Coverage 48.64% 48.64% ======================================= Files 52 52 Lines 3384 3384 ======================================= Hits 1646 1646 Misses 1594 1594 Partials 144 144 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.