Skip to content

feat: configurable namespace cleanup grace period and retained finalizers - #190

Open
prometherion wants to merge 1 commit into
projectcapsule:mainfrom
prometherion:feat/namespace-cleanup-grace-period
Open

prometherion wants to merge 1 commit into
projectcapsule:mainfrom
prometherion:feat/namespace-cleanup-grace-period

Conversation

@prometherion

Copy link
Copy Markdown
Member

Documenting changes introduced via projectcapsule/capsule#2313

Copilot AI balanced review requested due to automatic review settings November 23, 2026 15:08
@netlify

netlify Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

👷 Deploy request for docs-projectcapsule pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 2d4d7eb

@prometherion
prometherion force-pushed the feat/namespace-cleanup-grace-period branch from 0f1a3f2 to 1d72b2d Compare November 23, 2026 15:08
@prometherion prometherion changed the title feat: configurable namespace cleanup grace period and retained finalizsers feat: configurable namespace cleanup grace period and retained finalizers Nov 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Unescaped || in two reference-table examples breaks column alignment, truncating CEL expressions and leaving Required blank; the template pipes need escaping and the reference needs regeneration.

1 open issue
What changed in this PR

Documents configurable namespace cleanup introduced by Capsule PR #2313, explaining how administrators can give resource controllers more time to finish and preserve selected finalizers.

Changes:

  • Adds configuration examples, defaults, and operational warnings for namespaceCleanup.
  • Updates namespace termination guidance and release notes.
  • Expands the API reference with cleanup settings, replication health checks and triggers, and class-related rules.
File Description
content/​en/​docs/​whats-new.md Announces configurable namespace cleanup.
content/​en/​docs/​tenants/​namespaces.md Explains grace periods and retained finalizers during termination.
content/​en/​docs/​reference.md Adds cleanup fields and refreshes other API definitions.
content/​en/​docs/​operating/​setup/​configuration.md Provides cleanup configuration examples and operational guidance.

Review effort: Balanced


| **Name** | **Type** | **Description** | **Required** |
| :---- | :---- | :----------- | :-------- |
| **expression** | string | Expression must evaluate to bool using only the observed event variables:<br>object is the new persisted object (null for DELETE), oldObject is the previous<br>persisted object (null for CREATE), and operation is "CREATE", "UPDATE", or "DELETE".<br>Admission request and authorizer variables are unavailable. For example:<br>operation != 'UPDATE' || object.data != oldObject.data | true |
…zers

Signed-off-by: Dario Tranchitella <dario@tranchitella.eu>
@prometherion
prometherion force-pushed the feat/namespace-cleanup-grace-period branch from 1d72b2d to 2d4d7eb Compare November 23, 2026 16:02
@sandert-k8s

sandert-k8s commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

LGTM!
Please merge into release/0.16, because this feature will be released in that version and won't be part of 0.15 (as far as I know :) )

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants