Skip to content

🐛 add missing delete verb to batch jobs RBAC#1376

Merged
chris-rock merged 1 commit intomainfrom
fix/rbac-batch-job-delete
Feb 5, 2026
Merged

🐛 add missing delete verb to batch jobs RBAC#1376
chris-rock merged 1 commit intomainfrom
fix/rbac-batch-job-delete

Conversation

@chris-rock
Copy link
Member

Summary

  • Adds delete verb to batch/jobs RBAC permissions in both kustomize and helm chart

Context

The operator needs permission to delete individual batch Jobs when cleaning up completed scan jobs. Previously only deletecollection was granted, which doesn't allow deleting single jobs.

Test plan

  • Verify operator can delete individual completed jobs
  • Verify no RBAC errors in operator logs when jobs are cleaned up

Extracted from #1337 - Original author: @jpaodev

The operator needs permission to delete individual batch Jobs when
cleaning up completed scan jobs. Previously only deletecollection
was granted.
@chris-rock chris-rock changed the title fix: add missing delete verb to batch jobs RBAC 🐛 add missing delete verb to batch jobs RBAC Feb 5, 2026
@github-actions
Copy link

github-actions bot commented Feb 5, 2026

Test Results

  5 files  ±0   41 suites  ±0   32m 59s ⏱️ -33s
282 tests ±0  282 ✅ ±0  0 💤 ±0  0 ❌ ±0 
301 runs  ±0  299 ✅ ±0  2 💤 ±0  0 ❌ ±0 

Results for commit e62ad99. ± Comparison against base commit 0d2138f.

@chris-rock chris-rock merged commit 187d055 into main Feb 5, 2026
23 checks passed
@chris-rock chris-rock deleted the fix/rbac-batch-job-delete branch February 5, 2026 19:51
@github-actions github-actions bot locked and limited conversation to collaborators Feb 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants