gate

command
v0.15.0-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Command gate runs a Chainsaw test bundle in a polling loop against the cluster reachable from the current KUBECONFIG / in-cluster service account. It exits 0 once every component has passed continuously for the stability window, exits 1 if the max-wait ceiling is hit before that, and exits 2 on configuration errors.

The bundle is loaded from a local directory (typically a ConfigMap mounted into the pod, but any directory of *.yaml chainsaw tests works). Each file becomes a component named after the filename (sans .yaml suffix).

AICR runs this CLI from a readiness-gate Job emitted by the bundler; the Job mounts the chainsaw Test as a ConfigMap and passes the polling parameters as flags. No CRD or controller is involved.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL