Skip to content

fix: add Kubernetes resource-only teardown - #114953

Merged
steipete merged 7 commits into
openclaw:mainfrom
JackS1237:fix/k8s-teardown-preserves-namespace
Aug 2, 2026
Merged

steipete merged 7 commits into
openclaw:mainfrom
JackS1237:fix/k8s-teardown-preserves-namespace

Conversation

@JackS1237

@JackS1237 JackS1237 commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

Closes #112307

Maintainer decision (founder-approved)

Maintainer decision: for non-default/custom namespaces, --delete intentionally now removes only OpenClaw-managed resources and its generated Secret; this changes the previous destructive custom-namespace behavior to prevent deleting unrelated workloads. Default dedicated namespace --delete still deletes the namespace. Operators requiring full custom-namespace deletion must explicitly pass --delete-namespace; PVC data follows the storage class/PV reclaim policy. This supersedes the earlier compatibility wording and addresses ClawSweeper’s Rank-up move.

What Problem This Solves

Kubernetes operators need a teardown path that removes OpenClaw from a shared or custom namespace without deleting unrelated workloads that live in the same namespace.

Why This Change Was Made

For the default dedicated OpenClaw namespace, --delete preserves full namespace teardown. For every non-default/custom namespace, --delete intentionally changes the earlier destructive behavior: it removes only the OpenClaw Deployment, Service, PVC, ConfigMap, and generated Secret without deleting the Namespace object or unrelated workloads. --delete-resources remains an explicit resource-only alias; --delete-namespace is the explicit full-namespace opt-in.

--delete-namespace explicitly requests full namespace teardown, including when the selected namespace is non-default/custom.

User Impact

Operators using the default dedicated namespace retain the existing full-namespace --delete behavior. Operators using non-default/custom namespaces now get safe resource-only teardown from --delete or --delete-resources; full custom-namespace deletion requires explicit --delete-namespace. PVC data retention or deletion depends on the storage class/PV reclaim policy. Namespaced delete failures still surface from kubectl.

Evidence

  • Historical original-contributor live k3s proof head (not the current reviewed head): 17262b9c2eee4bd2f48c08966d474b90027cbae5.
  • Current reviewed implementation: 9 focused Kubernetes deployment regression tests and 4 main-context behavior tests passed; the historical k3s run below is supporting evidence from the earlier contributor head, not an exact-current-head live run.
  • Rebased onto server main at c3fba2bb200dce2032ede088f49d57d5d585cbea before push.
  • Historical contributor-head CI run 30367643141 completed green (openclaw/ci-gate passed; 76 checks passed, 0 failed): https://github.com/openclaw/openclaw/actions/runs/30367643141
  • node scripts/run-vitest.mjs test/scripts/k8s-deploy.test.ts: 1 file passed, 4 tests passed.
  • bash -n scripts/k8s/deploy.sh passed.
  • git diff --check c3fba2bb200dce2032ede088f49d57d5d585cbea...HEAD passed.
  • node_modules/oxfmt/bin/oxfmt --check scripts/k8s/deploy.sh docs/install/kubernetes.md test/scripts/k8s-deploy.test.ts passed.
  • Current-main merge-result proof: a disposable worktree merged server main at 206f989069fb7b5b3854fb490fc95e65c486b99b into this head without conflicts or target/dependency path overlap; the focused test passed 4/4, bash -n passed, and both-direction git diff --check passed. The branch itself remains unchanged.

Historical original-contributor Kubernetes proof (prior head)

The original contributor validated the historical prior head 17262b9c2eee4bd2f48c08966d474b90027cbae5 on 2026-07-28 against a disposable local k3s v1.36.2+k3s1 cluster with a real Ready node and containerd runtime. The shared namespace contained an unrelated Deployment and ConfigMap. The sentinel Deployment was 1/1 Running before and after teardown. No real credentials were used; the OpenClaw Secret contained only a disposable proof token, and no secret value is shown.

$ kubectl get node
NAME                        STATUS   ROLES           VERSION
lin-61e2948e3d0.zte.intra   Ready    control-plane   v1.36.2+k3s1

$ OPENCLAW_NAMESPACE=openclaw-proof-114953 ./scripts/k8s/deploy.sh --delete-resources
Deleting OpenClaw resources from namespace 'openclaw-proof-114953'...
configmap "openclaw-config" deleted from openclaw-proof-114953 namespace
service "openclaw" deleted from openclaw-proof-114953 namespace
persistentvolumeclaim "openclaw-home-pvc" deleted from openclaw-proof-114953 namespace
deployment.apps "openclaw" deleted from openclaw-proof-114953 namespace
secret "openclaw-secrets" deleted from openclaw-proof-114953 namespace
Done.

$ kubectl get namespace openclaw-proof-114953
NAME                    STATUS
openclaw-proof-114953   Active

$ kubectl get deployment/shared-sentinel configmap/shared-sentinel-config -n openclaw-proof-114953
NAME                              READY   UP-TO-DATE   AVAILABLE
deployment.apps/shared-sentinel   1/1     1            1
NAME                               DATA
configmap/shared-sentinel-config   1

deployment/openclaw: NotFound
service/openclaw: NotFound
persistentvolumeclaim/openclaw-home-pvc: NotFound
configmap/openclaw-config: NotFound
secret/openclaw-secrets: NotFound

The cluster used a locally imported minimal pause image for the unrelated sentinel because outbound registry requests timed out. The sentinel Pod itself was confirmed 1/1 Running; the proof validates real Kubernetes object and workload preservation rather than a stubbed command path.

Historical prior-head full-namespace proof

On the historical contributor head, the previous --delete implementation was exercised against the same real k3s API using a separate namespace containing a marker ConfigMap; this output documents the old destructive custom-namespace behavior, which the founder-approved current change intentionally replaces:

$ OPENCLAW_NAMESPACE=openclaw-proof-full-delete ./scripts/k8s/deploy.sh --delete
Deleting namespace 'openclaw-proof-full-delete' and all resources...
namespace "openclaw-proof-full-delete" deleted
Done.

namespace/openclaw-proof-full-delete: NotFound

This historical output demonstrates why the current implementation intentionally changes custom-namespace --delete: only the default dedicated namespace retains implicit full deletion; custom namespaces require explicit --delete-namespace.

Additional validation

  • Current focused proof covers default-namespace deletion, custom-namespace resource-only deletion, explicit full-namespace opt-in, namespace preservation, and delete error propagation (9 deployment tests plus 4 main-context checks).
  • Isolated autoreview remains blocked before a structured verdict because the review engine receives HTTP 403 (Country, region, or territory not supported) from the OpenAI Responses API. ClawSweeper accepted the historical k3s proof on the preceding head; its earlier compatibility Rank-up move is explicitly resolved by the founder-approved maintainer decision above.
  • AI-assisted contribution. I understand the changed script behavior and test coverage.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts labels Jul 28, 2026
@JackS1237
JackS1237 marked this pull request as ready for review July 28, 2026 05:33
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. labels Jul 28, 2026
@clawsweeper

clawsweeper Bot commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed August 2, 2026, 5:49 AM ET / 09:49 UTC.

ClawSweeper review

What this changes

This PR makes --delete preserve a custom namespace by deleting only OpenClaw resources, adds explicit --delete-resources and --delete-namespace modes, and documents and tests the revised Kubernetes teardown contract.

Merge readiness

⛔ Blocked until stronger real behavior proof is added - 4 items remain

The PR remains necessary: current main still deletes every selected namespace for --delete, while this branch scopes custom-namespace teardown to OpenClaw resources. The latest head has no new implementation change since the prior proof review, and its only live Kubernetes transcript is for an earlier head that did not exercise the new custom-namespace --delete behavior; obtain a redacted current-head k3s run before merge.

Priority: P1
Reviewed head: b1a75b2aa5326b06033bb9fc9e74111fd99c3874

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) The implementation and focused tests are coherent, but the current head lacks real-cluster proof for the behavior it newly changes.
Proof confidence 🦪 silver shellfish (2/6) Needs stronger real behavior proof before merge: The PR body includes a redacted real k3s terminal transcript for prior head 17262b9c, but the current head changed custom --delete semantics and the historical transcript exercises --delete-resources plus the old destructive --delete; post a redacted current-head live run for custom preservation and explicit namespace deletion. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Needs proof Needs stronger real behavior proof before merge: The PR body includes a redacted real k3s terminal transcript for prior head 17262b9c, but the current head changed custom --delete semantics and the historical transcript exercises --delete-resources plus the old destructive --delete; post a redacted current-head live run for custom preservation and explicit namespace deletion. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Evidence reviewed 5 items Current-main behavior: Current main still routes --delete directly to kubectl delete namespace "$NS", so it does not solve shared custom-namespace teardown.
Proposed owner-boundary change: The PR head changes only non-default --delete into the resource-only path; explicit namespace deletion remains available through --delete-namespace.
Focused regression coverage: The branch’s new script tests cover default namespace deletion, custom-namespace preservation, explicit resource deletion, explicit namespace deletion, and command failures through a stubbed kubectl.
Findings None None.
Security None None.

How this fits together

The Kubernetes deployment script turns an operator-selected namespace and teardown option into kubectl deletion commands. It either removes the dedicated OpenClaw namespace or removes only the manifest-managed OpenClaw objects and generated Secret, affecting whether unrelated workloads survive.

flowchart TD
  A[Operator namespace and teardown option] --> B[Kubernetes deploy script]
  B --> C[Teardown mode selection]
  C --> D[Default namespace deletion]
  C --> E[Custom namespace resource deletion]
  D --> F[Namespace and all workloads removed]
  E --> G[OpenClaw resources and Secret removed]
  E --> H[Unrelated workloads preserved]
Loading

Before merge

  • Add real behavior proof - Needs stronger real behavior proof before merge: The PR body includes a redacted real k3s terminal transcript for prior head 17262b9c, but the current head changed custom --delete semantics and the historical transcript exercises --delete-resources plus the old destructive --delete; post a redacted current-head live run for custom preservation and explicit namespace deletion. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
  • Resolve merge risk (P1) - Existing custom-namespace automation that expects --delete to remove the namespace will retain the namespace after merge and must use --delete-namespace instead.
  • Resolve merge risk (P1) - The only real-cluster transcript predates the branch’s changed custom-namespace --delete semantics, so it does not yet prove that the current head preserves unrelated workloads while its explicit destructive path still works.
  • Complete next step (P2) - No narrow code repair is identified; the contributor must provide exact-current-head live Kubernetes proof before a maintainer can safely merge the intentional CLI compatibility change.
Agent review details

Security

None.

PR surface

Tests +185, Docs +16, Other +27. Total +228 across 3 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 185 0 +185
Docs 1 17 1 +16
Config 0 0 0 0
Generated 0 0 0 0
Other 1 31 4 +27
Total 3 233 5 +228

Review metrics

Metric Value Why it matters
Teardown CLI surface 2 modes added, 1 existing mode changed The branch adds two teardown flags and changes --delete for custom namespaces, so upgrade behavior needs explicit operator-visible proof.

Merge-risk options

Maintainer options:

  1. Add exact-head cluster proof (recommended)
    Run the current head against a disposable shared k3s namespace, show that custom --delete preserves a sentinel workload, and separately show that --delete-namespace removes the chosen namespace.
  2. Accept the remaining proof gap
    A maintainer may accept the earlier-head k3s transcript plus current mocked regression coverage, while explicitly owning the lack of exact-head live proof.

Technical review

Best possible solution:

Keep the approved split between safe custom-namespace teardown and explicit full namespace deletion, then add redacted exact-current-head k3s evidence for both paths before merge.

Do we have a high-confidence way to reproduce the issue?

Yes for the pre-fix behavior: current main passes every selected namespace to kubectl delete namespace for --delete. The changed branch is source-reproducible through its focused mock-command tests, but exact-current-head live Kubernetes evidence is still missing.

Is this the best way to solve the issue?

Yes, conditionally: one resource-only branch for custom namespaces plus an explicit namespace-wide mode is a coherent repair of the shared-namespace deletion bug. It needs current-head cluster proof before merge because the CLI compatibility change is intentional and operator-visible.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against b7bbb4f98a1f.

Labels

Label justifications:

  • P1: The change addresses deletion of unrelated workloads in shared Kubernetes namespaces and affects an operator-facing teardown path.
  • merge-risk: 🚨 compatibility: Custom-namespace --delete changes from full namespace deletion to resource-only deletion, which can alter existing automation outcomes after upgrade.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🐚 platinum hermit.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs stronger real behavior proof before merge: The PR body includes a redacted real k3s terminal transcript for prior head 17262b9c, but the current head changed custom --delete semantics and the historical transcript exercises --delete-resources plus the old destructive --delete; post a redacted current-head live run for custom preservation and explicit namespace deletion. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Evidence

What I checked:

  • Current-main behavior: Current main still routes --delete directly to kubectl delete namespace "$NS", so it does not solve shared custom-namespace teardown. (scripts/k8s/deploy.sh:75, b7bbb4f98a1f)
  • Proposed owner-boundary change: The PR head changes only non-default --delete into the resource-only path; explicit namespace deletion remains available through --delete-namespace. (scripts/k8s/deploy.sh:87, b1a75b2aa532)
  • Focused regression coverage: The branch’s new script tests cover default namespace deletion, custom-namespace preservation, explicit resource deletion, explicit namespace deletion, and command failures through a stubbed kubectl. (test/scripts/k8s-deploy.test.ts:78, b1a75b2aa532)
  • Feature provenance: The original current-main script implementation deleted the selected namespace for --delete; its retained source attributes this deployment surface to Peter Steinberger. (scripts/k8s/deploy.sh:75, 81031012b222)
  • Proof continuity: The current head leaves all three touched paths unchanged from the prior reviewed head, so the earlier finding still applies: the posted live k3s transcript is for an older head and does not demonstrate the new custom-namespace --delete branch or explicit --delete-namespace branch. (scripts/k8s/deploy.sh:87, b1a75b2aa532)

Likely related people:

  • Peter Steinberger: Current-main provenance attributes the original destructive teardown path to this author, and the PR history supplied for the reviewed branch attributes the policy-resolving implementation commit to the same person. (role: original deployment-script author and recent implementation contributor; confidence: high; commits: 81031012b222, ddcb007ee116; files: scripts/k8s/deploy.sh, docs/install/kubernetes.md)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Post redacted exact-current-head k3s output showing a shared-namespace sentinel survives custom --delete while OpenClaw objects are removed.
  • Post redacted exact-current-head output showing --delete-namespace removes the selected custom namespace; redact cluster names, endpoints, IP addresses, and credentials.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (24 earlier review cycles; latest 8 shown)
  • reviewed August 1, 2026, 4:54 AM ET / 08:54 UTC sha unknown :: needs maintainer review before merge. :: none
  • reviewed 2026-08-01T14:21:28.488Z sha 17262b9 :: needs maintainer review before merge. :: none
  • reviewed August 1, 2026, 1:31 PM ET / 17:31 UTC sha unknown :: needs maintainer review before merge. :: none
  • reviewed 2026-08-01T22:11:16.532Z sha 17262b9 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-02T05:00:25.550Z sha cd0a3a1 :: found issues before merge. :: [P1] Preserve the documented --delete contract
  • reviewed 2026-08-02T08:11:39.576Z sha 77eec8d :: needs real behavior proof before merge. :: [P1] Record approval before changing custom --delete semantics
  • reviewed 2026-08-02T09:17:00.336Z sha 11b6b42 :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-02T09:33:21.962Z sha b46a853 :: needs real behavior proof before merge. :: none

@JackS1237
JackS1237 force-pushed the fix/k8s-teardown-preserves-namespace branch from ede12e0 to 732a52b Compare July 28, 2026 05:59
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. labels Jul 28, 2026
@JackS1237
JackS1237 force-pushed the fix/k8s-teardown-preserves-namespace branch 7 times, most recently from d9cad2d to 9d9b2b6 Compare July 28, 2026 09:25
@JackS1237 JackS1237 changed the title fix: Kubernetes teardown preserves custom namespaces fix: add Kubernetes resource-only teardown Jul 28, 2026
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Jul 28, 2026
@JackS1237
JackS1237 force-pushed the fix/k8s-teardown-preserves-namespace branch from 9d9b2b6 to b315c0f Compare July 28, 2026 10:23
@JackS1237

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Real k3s proof for exact head b315c0f1e06217237668ee140043078f28bc5b80 is now in the PR body. The unrelated sentinel Deployment remained 1/1 Running, the namespace and unrelated ConfigMap remained present, and all OpenClaw Deployment/Service/PVC/ConfigMap/Secret objects were NotFound after --delete-resources.

@clawsweeper

clawsweeper Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Jul 28, 2026
@clawsweeper clawsweeper Bot removed the merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. label Jul 28, 2026
@JackS1237

Copy link
Copy Markdown
Contributor Author

Maintainer decision context: issue #112307 also links #113469, but the two PRs make different compatibility choices rather than being identical patches.

  • fix(k8s): scope --delete to OpenClaw resources instead of the whole namespace #113469 changes the established --delete command to resource-only teardown and uses an additional namespace flag for the old behavior.
  • This PR retains the documented legacy meaning of --delete, adds an opt-in --delete-resources path, and also provides the explicit --delete-namespace spelling.
  • This PR has focused regression coverage plus exact-head real k3s proof for both resource-only preservation and full namespace deletion; ClawSweeper found no actionable correctness issue on 17262b9c2eee4bd2f48c08966d474b90027cbae5.
  • Current main at 964c5abbded40cdb964345a4ae5d7599ff232bee still contains neither fix and has not changed the target files since the reviewed merge-result proof.

The remaining choice is therefore the public CLI compatibility policy: preserve existing automation and add a separate safe command (this PR), or intentionally change the default meaning of --delete.

@JackS1237

Copy link
Copy Markdown
Contributor Author

@sallyom Would you be able to advise on the Kubernetes teardown CLI contract here, since you originally introduced and maintain this deployment surface?
The implementation and validation are ready:
CI is green.
ClawSweeper reports proof: sufficient, no actionable findings, and ready for maintainer look.
Exact-head k3s proof covers both shared-namespace resource teardown and the existing full-namespace teardown.
The branch has been verified against current main without conflicts.
The remaining decision is only the public CLI behavior:
This PR preserves the documented meaning of --delete for backward compatibility and adds --delete-resources for shared namespaces.
#113469 changes the existing --delete command to resource-only teardown by default.
My recommendation is option 1, because it fixes the shared-namespace use case without silently changing existing automation. I’m happy to adjust the command shape immediately if maintainers prefer option 2 or a different spelling.
Maintainer edits are welcome.

@clawsweeper clawsweeper Bot added rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. labels Jul 31, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 2, 2026
@clawsweeper clawsweeper Bot added status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed proof: sufficient ClawSweeper judged the real behavior proof convincing. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 2, 2026
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 2, 2026
@steipete
steipete merged commit 0bc32f0 into openclaw:main Aug 2, 2026
100 checks passed
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 3, 2026
* fix: add Kubernetes resource-only teardown

* fix(k8s): preserve shared namespaces on teardown

---------

Co-authored-by: Peter Steinberger <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. scripts Repository scripts size: M status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: How can Kubernetes deployment uninstalling perform a crude deletion of the namespace?

2 participants