Skip to content

Verifier

A Verifier registers an operator-trusted verification Job image by its SHA-256 digest. Verifier is cluster-scoped, so cluster operators can add, update, or restrict verifier images without restarting the controller or letting namespace users pick arbitrary images.

apiVersion: kslip.dev/v1alpha1
kind: Verifier
metadata:
name: slo-probe
spec:
image: registry.example.com/team/slo-probe@sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
description: Validates post-deploy SLO thresholds
allowedNamespaces:
- team-a
- team-b
defaultTimeoutSeconds: 300
Field Description
image Required OCI image reference pinned by a 64-character lowercase SHA-256 digest (<repo>@sha256:<digest>).
description Optional summary of what the verifier checks.
allowedNamespaces Optional list of up to 64 namespaces permitted to reference this Verifier. Empty allows every namespace.
defaultTimeoutSeconds Optional Job timeout in seconds (1 to 3600) applied when a WorkflowRun verify step omits timeoutSeconds. Defaults to 600.

When a WorkflowRun step names a verifier, the controller looks up a cluster-scoped Verifier with that name first. If one exists, the controller enforces allowedNamespaces and uses its image and defaultTimeoutSeconds. If no Verifier resource matches, the controller falls back to the static map configured via --verifiers or the Helm chart value controller.verifiers.

See Register verifier images for the Job environment contract and security boundary.