Skip to content

Phase 12 hardening - #11

Merged
tweinmann merged 2 commits into
mainfrom
phase-12-hardening
Oct 28, 2026
Merged

tweinmann merged 2 commits into
mainfrom
phase-12-hardening

Conversation

@tweinmann

Copy link
Copy Markdown
Owner

No description provided.

tweinmann and others added 2 commits October 28, 2026 17:01
The level-3 acceptance passed: the release v0.8.0 is signed keyless, the first tenant build
with the new workflow is signed and scanned, an unsigned artifact and an unsigned image are
refused, and gretter was exposed only once it was verified.

Two follow-ups from the acceptance:
- shelf serve reads the kubeconfig again before every operation (ops.Ops.Reload), so a
  cluster reset no longer needs a restart of the admin UI.
- The add form offers "Registry without TLS" unticked on a cluster with a dev registry; apps
  from GHCR failed when it was ticked.

The deltas are merged into openspec/specs, with the new spec verification.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every app and preview namespace is fenced in, and "green" means the app's own tests passed:

- Pod Security: namespaces enforce baseline and warn about restricted; shelf app status lists
  the pods restricted would refuse, read with a server-side dry run. The chart gives every
  pod seccomp RuntimeDefault and no privilege escalation.
- NetworkPolicy shelf-isolation: pods reach their namespace, the cluster DNS and the
  internet only; only Traefik reaches in, and only cloudflared reaches Traefik.
- LAN exceptions are the operator's: --allow-lan <cidr> / --deny-lan on app add and
  credentials, and on the app page; never for a preview, never over the cluster's pods.
- tests: in app.yaml become Helm test hooks run by helm-controller after every rollout. A
  failing test rolls an app back and leaves a preview on the failing version; the sixth
  stage "the tests" shows exit code and log, and --wait is Ready only once they pass.
- shelf app report [--preview] prints a Markdown or JSON report for a pull request, with
  what a preview runs differently from its app.
- just smoke-hardening joins level 2. The smoke tests start shelf app open as a binary, so
  kill no longer leaves forwarders behind.

Level 2 passed in full on a fresh dev cluster; level 3 follows with the release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tweinmann
tweinmann merged commit 41826f0 into main Oct 28, 2026
2 checks passed
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.

1 participant