Skip to content

fix: allow TTL garbage collection to delete jobs - #121

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift-psap:mainfrom
Harshith-umesh:codex/ttl-rbac-fix
Sep 11, 2026
Merged

openshift-merge-bot[bot] merged 1 commit into
openshift-psap:mainfrom
Harshith-umesh:codex/ttl-rbac-fix

Conversation

@Harshith-umesh

@Harshith-umesh Harshith-umesh commented Sep 11, 2026 •

Copy link
Copy Markdown
Member

Summary

Validation

  • TTL test suite: 22 passed.
  • WIP verification confirmed expired FJobs are deleted once this permission is present.
  • Existing FJobs without TTL remain retained.

The CRD remains deployed separately from the GitOps Application.

Summary by CodeRabbit

  • New Features
    • Authorized users can now delete Fournos jobs, including their status and finalizer subresources.

@coderabbitai

coderabbitai Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 3da0d06c-5a85-4400-859b-c7a8e83bb3b8

📥 Commits

Reviewing files that changed from the base of the PR and between b424d51 and 7bf44b9.

📒 Files selected for processing (1)
  • manifests/rbac/role_fournos.yaml

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The Fournos Role now grants the delete verb for fournosjobs and their status and finalizers subresources.

Changes

Fournos RBAC permissions

Layer / File(s) Summary
Add FournosJob delete permission
manifests/rbac/role_fournos.yaml
The Fournos Role now grants delete access to fournosjobs, fournosjobs/status, and fournosjobs/finalizers.

Priority: ➖ Normal

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Merge Risk: ⚪ Minimal · up to 7bf44

The controller can now remove expired terminal FournosJobs while existing non-TTL jobs remain unaffected.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the main change: granting permission for TTL garbage collection to delete expired jobs.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@kpouget

kpouget commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

/approve
/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Sep 11, 2026
@openshift-ci

openshift-ci Bot commented Sep 11, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kpouget

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 11, 2026
@openshift-merge-bot
openshift-merge-bot Bot merged commit f90168f into openshift-psap:main Sep 11, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants