Skip to content

Phase 11: verification chain - #10

Merged
tweinmann merged 1 commit into
mainfrom
phase-11-verification-chain
Oct 28, 2026
Merged

tweinmann merged 1 commit into
mainfrom
phase-11-verification-chain

Conversation

@tweinmann

Copy link
Copy Markdown
Owner

Only a verified digest goes beyond a preview. The reusable workflow signs every built image and the deploy artifact with keyless cosign, scans every image with Trivy (report as a vuln attestation, CRITICAL/HIGH counts in the artifact annotation dev.shelf.scan before signing), and builds for the input platforms. Releases sign chart and platform.

In the cluster, Flux verifies every OCIRepository (platform, deploy artifacts, chart) against the cluster's signer, and the Sigstore policy-controller admits a built image of an app's package only with its signature, in app and preview namespaces. The signer is a cluster setting: keyless with shelf's workflows as subject by default, or --signer-key for clusters that test shelf; there is no off switch.

  • cluster.Verification and shelf app status/--json/UI show source, signer, verified or why not, findings per component, exposable
  • --cloudflare/--quick refuse an unverified app; a new app is deployed privately, verified, then exposed
  • pods refused by admission or quota show in the pods stage; waits fail fast on a failed signature check
  • init cluster lists apps without a verified artifact
  • dev registry renamed to shelf-registry.local (the policy-controller only speaks HTTP to .local), dev key under .local/cosign signs every dev push, cosign and crane pinned, just smoke-verify
  • signatures in cosign's classic format, the one the policy-controller reads

Only a verified digest goes beyond a preview. The reusable workflow signs
every built image and the deploy artifact with keyless cosign, scans every
image with Trivy (report as a vuln attestation, CRITICAL/HIGH counts in the
artifact annotation dev.shelf.scan before signing), and builds for the input
`platforms`. Releases sign chart and platform.

In the cluster, Flux verifies every OCIRepository (platform, deploy
artifacts, chart) against the cluster's signer, and the Sigstore
policy-controller admits a built image of an app's package only with its
signature, in app and preview namespaces. The signer is a cluster setting:
keyless with shelf's workflows as subject by default, or --signer-key for
clusters that test shelf; there is no off switch.

- cluster.Verification and `shelf app status`/--json/UI show source,
  signer, verified or why not, findings per component, exposable
- --cloudflare/--quick refuse an unverified app; a new app is deployed
  privately, verified, then exposed
- pods refused by admission or quota show in the pods stage; waits fail
  fast on a failed signature check
- init cluster lists apps without a verified artifact
- dev registry renamed to shelf-registry.local (the policy-controller only
  speaks HTTP to .local), dev key under .local/cosign signs every dev push,
  cosign and crane pinned, just smoke-verify
- signatures in cosign's classic format, the one the policy-controller reads

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tweinmann
tweinmann merged commit 51d4700 into main Oct 28, 2026
10 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