in-toto / archivista

Archivista is a graph and storage service for in-toto attestations. Archivista enables the discovery and retrieval of attestations for software artifacts.
Apache License 2.0
62 stars 23 forks source link

fix: explicitly set serviceAccountName in deployment podspec #371

Closed ericwyles closed 4 weeks ago

ericwyles commented 1 month ago

What this PR does / why we need it

This uses the existing archivista.serviceAccountName from helpers to explicitly set the serviceAccountName for pods. Without this change the pods still use the default service account even if a different service account is created by the helm chart when serviceAccount.create is true.

Which issue(s) this PR fixes (optional)

Fixes #370

Acceptance Criteria Met

Special notes for your reviewer:

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 1.64%. Comparing base (a035c62) to head (0867c9a). Report is 160 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #371 +/- ## ========================================== - Coverage 82.40% 1.64% -80.76% ========================================== Files 10 120 +110 Lines 358 28845 +28487 ========================================== + Hits 295 474 +179 - Misses 43 28314 +28271 - Partials 20 57 +37 ```

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