{
  "name": "kubectl-delete",
  "title": "kubectl delete",
  "description": "Delete a named Kubernetes resource with kubectl, using the workflow pod's in-cluster serviceAccount. Idempotent via --ignore-not-found.",
  "category": "Kubernetes",
  "tags": [
    "kubectl",
    "kubernetes"
  ],
  "latestVersion": "1.0.6",
  "versions": [
    "1.0.6",
    "1.0.5",
    "1.0.4",
    "1.0.3",
    "1.0.2",
    "1.0.1",
    "1.0.0"
  ],
  "parameters": [
    "kind",
    "name",
    "namespace"
  ],
  "images": [
    "bitnami/kubectl@sha256:bedd34c910e2a5ce9836813d16444af449d7fe07a29136d59f34e861e8e660c5"
  ],
  "url": "https://catalog.dagweave.com/api/v1/items/kubectl-delete.json",
  "templateUrl": "https://catalog.dagweave.com/api/v1/items/kubectl-delete/latest/template.yaml",
  "page": "https://catalog.dagweave.com/items/kubectl-delete/",
  "entrypoint": "delete",
  "parameterDetails": [
    {
      "name": "kind",
      "title": "Kind",
      "description": "Resource kind, e.g. deployment, service, configmap.",
      "type": "string",
      "required": true
    },
    {
      "name": "name",
      "title": "Name",
      "type": "string",
      "required": true
    },
    {
      "name": "namespace",
      "title": "Namespace",
      "type": "string",
      "required": false,
      "default": "default"
    }
  ],
  "imageDetails": [
    {
      "ref": "bitnami/kubectl@sha256:bedd34c910e2a5ce9836813d16444af449d7fe07a29136d59f34e861e8e660c5",
      "repository": "bitnami/kubectl",
      "tag": "latest",
      "digest": "sha256:bedd34c910e2a5ce9836813d16444af449d7fe07a29136d59f34e861e8e660c5"
    }
  ],
  "versionDetails": [
    {
      "version": "1.0.6",
      "date": "2026-10-19",
      "notes": "Repin bitnami/kubectl:latest on the tag's current digest. What is still open against it is recorded in hack/image-cve-exceptions.txt. Same tool, same arguments; nothing about what the step runs changes.",
      "latest": true,
      "installable": true,
      "url": "https://catalog.dagweave.com/api/v1/items/kubectl-delete/1.0.6.json",
      "templateUrl": "https://catalog.dagweave.com/api/v1/items/kubectl-delete/1.0.6/template.yaml"
    },
    {
      "version": "1.0.5",
      "date": "2026-09-10",
      "notes": "Declare localSupport unsupported with its reason, and write the same pair onto the entrypoint template as dagweave.io/local-support annotations. Dagweave Local's lint rules on the compiled pod spec and so cannot see a command that shells out to kubectl, which leaves the item to say it itself. Template metadata only; nothing about what this runs on a real cluster changes.",
      "latest": false,
      "installable": false,
      "url": "https://catalog.dagweave.com/api/v1/items/kubectl-delete/1.0.5.json"
    },
    {
      "version": "1.0.4",
      "date": "2026-08-23",
      "notes": "Repin bitnami/kubectl:latest on the current digest, to clear CVE-2026-14456. That is a HIGH openssl denial of service via unbounded memory, fixed upstream in 3.5.7-5.ph5 and present in openssl and openssl-libs on the old pin. The scheduled CVE scan had been red on it for two fires, 22 and 23 August, and nothing else was failing. Same tag, same kubectl, newer build, and the new digest reports no fixed HIGH or CRITICAL at all so it needs no record in hack/image-cve-exceptions.txt.",
      "latest": false,
      "installable": false,
      "url": "https://catalog.dagweave.com/api/v1/items/kubectl-delete/1.0.4.json"
    },
    {
      "version": "1.0.3",
      "date": "2026-08-18",
      "notes": "Repin bitnami/kubectl:latest on the current digest. Same tag, same kubectl v1.36.3, newer build. Clears the OS half outright, rpm-libs CVE-2026-44604 on PhotonOS, so this image needs no OS record at all, and takes the eight Go 1.26.6 stdlib advisories with it. Vendored HIGH goes 12 to 6: five x/net and one x/text in the kubectl and yq binaries, recorded in hack/image-cve-exceptions.txt.",
      "latest": false,
      "installable": false,
      "url": "https://catalog.dagweave.com/api/v1/items/kubectl-delete/1.0.3.json"
    },
    {
      "version": "1.0.2",
      "date": "2026-08-11",
      "notes": "Repin bitnami/kubectl:latest on the current digest. Same tag, same kubectl v1.36.3, newer build. Clears the one fixable OS-package HIGH the old digest carried, libacl CVE-2026-54369. The twelve vendored HIGH in the kubectl and yq binaries are unchanged and recorded in hack/image-cve-exceptions.txt.",
      "latest": false,
      "installable": false,
      "url": "https://catalog.dagweave.com/api/v1/items/kubectl-delete/1.0.2.json"
    },
    {
      "version": "1.0.1",
      "date": "2026-08-02",
      "notes": "Repin bitnami/kubectl:latest on the current digest. Same tag, newer build. Clears the four CRITICAL CVEs the old digest carried; twelve fixable HIGH are still there.",
      "latest": false,
      "installable": false,
      "url": "https://catalog.dagweave.com/api/v1/items/kubectl-delete/1.0.1.json"
    },
    {
      "version": "1.0.0",
      "date": "2026-07-17",
      "notes": "Initial release.",
      "latest": false,
      "installable": false,
      "url": "https://catalog.dagweave.com/api/v1/items/kubectl-delete/1.0.0.json"
    }
  ],
  "source": "https://github.com/dagweave/catalog/tree/67458f74dbbf913b03177f3cefc69424be85eb1d/catalog/kubectl-delete",
  "catalogSha": "67458f74dbbf913b03177f3cefc69424be85eb1d"
}
