Skip to content

fix: Separate CronJob and feature-server ServiceAccounts - #6734

Open
ntkathole wants to merge 1 commit into
feast-dev:masterfrom
ntkathole:fix/separate-cronjob-sa
Open

fix: Separate CronJob and feature-server ServiceAccounts#6734
ntkathole wants to merge 1 commit into
feast-dev:masterfrom
ntkathole:fix/separate-cronjob-sa

Conversation

@ntkathole

@ntkathole ntkathole commented Aug 13, 2026

Copy link
Copy Markdown
Member

Summary

Create a dedicated ServiceAccount for CronJob workloads instead of sharing the feature-server ServiceAccount, ensuring proper privilege separation between components.

Changes

  • Add createCronJobServiceAccount() with dedicated SA for CronJobs
  • Update CronJob pod spec to use its own SA
  • Add related tests

Test Plan

  • Unit tests updated and passing

@ntkathole
ntkathole requested a review from a team as a code owner August 13, 2026 15:09
@codecov-commenter

codecov-commenter commented Aug 13, 2026

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 46.80%. Comparing base (a9219d9) to head (b8e32ad).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #6734   +/-   ##
=======================================
  Coverage   46.80%   46.80%           
=======================================
  Files         415      415           
  Lines       50395    50395           
  Branches     7214     7214           
=======================================
  Hits        23588    23588           
  Misses      25155    25155           
  Partials     1652     1652           
Flag Coverage Δ
go-feature-server 30.58% <ø> (ø)
python-unit 48.13% <ø> (ø)

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a9219d9...b8e32ad. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ntkathole
ntkathole force-pushed the fix/separate-cronjob-sa branch 3 times, most recently from 0fdb9cc to ac58f3d Compare August 13, 2026 15:55
@ntkathole
ntkathole force-pushed the fix/separate-cronjob-sa branch from ac58f3d to 8199168 Compare August 13, 2026 16:19
Signed-off-by: ntkathole <nikhilkathole2683@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@ntkathole
ntkathole force-pushed the fix/separate-cronjob-sa branch from 8199168 to b8e32ad Compare August 13, 2026 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants