{
  "name": "kubectl-wait-condition",
  "title": "Wait for a Kubernetes condition",
  "description": "Pause the workflow until a resource reaches a condition such as Ready or Available, and fail the step if the timeout runs out first.",
  "category": "Kubernetes",
  "tags": [
    "kubectl",
    "kubernetes"
  ],
  "latestVersion": "1.0.0",
  "versions": [
    "1.0.0"
  ],
  "parameters": [
    "resource",
    "condition",
    "namespace",
    "selector",
    "timeout"
  ],
  "images": [
    "cgr.dev/chainguard/kubectl@sha256:98f9c337808ecf5d5e80b79af4345762a3d8c803ebf8c857d2dddabf885107ba"
  ],
  "url": "https://catalog.dagweave.com/api/v1/items/kubectl-wait-condition.json",
  "templateUrl": "https://catalog.dagweave.com/api/v1/items/kubectl-wait-condition/latest/template.yaml",
  "page": "https://catalog.dagweave.com/items/kubectl-wait-condition/",
  "entrypoint": "wait",
  "parameterDetails": [
    {
      "name": "resource",
      "title": "Resource",
      "description": "What to wait on: kind/name, or just a kind when a label selector picks the objects.",
      "type": "string",
      "required": true,
      "example": "deployment/checkout-api"
    },
    {
      "name": "condition",
      "title": "Condition",
      "description": "What to wait for, in kubectl wait --for form.",
      "type": "string",
      "required": false,
      "default": "condition=Ready",
      "example": "condition=Available"
    },
    {
      "name": "namespace",
      "title": "Namespace",
      "description": "Namespace the resource lives in.",
      "type": "string",
      "required": false,
      "default": "default",
      "example": "default"
    },
    {
      "name": "selector",
      "title": "Selector",
      "description": "Label selector that picks the objects when resource is only a kind. Leave blank to wait on one named object.",
      "type": "string",
      "required": false,
      "default": "",
      "example": "app=checkout-api"
    },
    {
      "name": "timeout",
      "title": "Timeout",
      "description": "Longest time to wait, such as 300s or 5m.",
      "type": "string",
      "required": false,
      "default": "300s"
    }
  ],
  "imageDetails": [
    {
      "ref": "cgr.dev/chainguard/kubectl@sha256:98f9c337808ecf5d5e80b79af4345762a3d8c803ebf8c857d2dddabf885107ba",
      "repository": "cgr.dev/chainguard/kubectl",
      "tag": "latest-dev",
      "digest": "sha256:98f9c337808ecf5d5e80b79af4345762a3d8c803ebf8c857d2dddabf885107ba"
    }
  ],
  "versionDetails": [
    {
      "version": "1.0.0",
      "date": "2026-10-18",
      "notes": "Initial release.",
      "latest": true,
      "installable": true,
      "url": "https://catalog.dagweave.com/api/v1/items/kubectl-wait-condition/1.0.0.json",
      "templateUrl": "https://catalog.dagweave.com/api/v1/items/kubectl-wait-condition/1.0.0/template.yaml"
    }
  ],
  "source": "https://github.com/dagweave/catalog/tree/67458f74dbbf913b03177f3cefc69424be85eb1d/catalog/kubectl-wait-condition",
  "catalogSha": "67458f74dbbf913b03177f3cefc69424be85eb1d"
}
