{
  "name": "velero-backup",
  "title": "Back up a cluster with Velero",
  "description": "Ask Velero to back up some or all namespaces, wait for the backup to finish, and fail the step unless it completes cleanly. Passes the backup name to later steps.",
  "category": "Kubernetes",
  "tags": [
    "kubectl",
    "kubernetes"
  ],
  "latestVersion": "1.0.0",
  "versions": [
    "1.0.0"
  ],
  "parameters": [
    "name-prefix",
    "namespaces",
    "storage-location",
    "timeout-seconds",
    "ttl",
    "velero-namespace"
  ],
  "images": [
    "cgr.dev/chainguard/kubectl@sha256:98f9c337808ecf5d5e80b79af4345762a3d8c803ebf8c857d2dddabf885107ba"
  ],
  "url": "https://catalog.dagweave.com/api/v1/items/velero-backup.json",
  "templateUrl": "https://catalog.dagweave.com/api/v1/items/velero-backup/latest/template.yaml",
  "page": "https://catalog.dagweave.com/items/velero-backup/",
  "entrypoint": "backup",
  "parameterDetails": [
    {
      "name": "name-prefix",
      "title": "Name prefix",
      "description": "Prefix for the backup name. Kubernetes adds a random suffix.",
      "type": "string",
      "required": false,
      "default": "backup"
    },
    {
      "name": "namespaces",
      "title": "Namespaces",
      "description": "Comma-separated namespaces to back up. Leave blank to back up all of them.",
      "type": "string",
      "required": false,
      "default": "",
      "example": "checkout,payments"
    },
    {
      "name": "storage-location",
      "title": "Storage location",
      "description": "Name of the Velero backup storage location. Leave blank for the default one.",
      "type": "string",
      "required": false,
      "default": ""
    },
    {
      "name": "timeout-seconds",
      "title": "Timeout seconds",
      "description": "Seconds to wait for the backup to finish before failing the step.",
      "type": "string",
      "required": false,
      "default": "1800"
    },
    {
      "name": "ttl",
      "title": "Ttl",
      "description": "How long Velero keeps the backup before deleting it.",
      "type": "string",
      "required": false,
      "default": "720h0m0s"
    },
    {
      "name": "velero-namespace",
      "title": "Velero namespace",
      "description": "Namespace Velero is installed in.",
      "type": "string",
      "required": false,
      "default": "velero"
    }
  ],
  "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/velero-backup/1.0.0.json",
      "templateUrl": "https://catalog.dagweave.com/api/v1/items/velero-backup/1.0.0/template.yaml"
    }
  ],
  "source": "https://github.com/dagweave/catalog/tree/67458f74dbbf913b03177f3cefc69424be85eb1d/catalog/velero-backup",
  "catalogSha": "67458f74dbbf913b03177f3cefc69424be85eb1d"
}
