From 8fdd2a3f606812573192695ce4a22a89e91923dc Mon Sep 17 00:00:00 2001 From: Keith Jackson Date: Sat, 29 Aug 2026 11:01:17 -0500 Subject: [PATCH] fix(velero): repoint CRD-hook kubectl image off the removed bitnami mirror MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The velero chart's pre-install `velero-upgrade-crds` hook defaults its kubectl image to docker.io/bitnami/kubectl, whose public Docker Hub catalog Bitnami removed (Aug 2025). `docker.io/bitnami/kubectl:1.31` now 404s, leaving the hook job in Init:ImagePullBackOff so Velero never installs (no Deployment, node-agent, or BackupStorageLocation). Set kubectl.image to the Rancher-maintained mirror docker.io/rancher/kubectl, pinned to the cluster's exact k8s minor v1.31.5 (multi-arch amd64/arm64, verified pullable via the Docker Hub registry API). All other Velero values (BSL → versitygw s3://velero, kopia FSB node-agent, the two Schedules, the velero-cloud-credentials secret) are unchanged. Co-Authored-By: Claude Opus 4.8 --- platform/velero/helmrelease.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/platform/velero/helmrelease.yaml b/platform/velero/helmrelease.yaml index deb6501..31d56f1 100644 --- a/platform/velero/helmrelease.yaml +++ b/platform/velero/helmrelease.yaml @@ -40,6 +40,15 @@ spec: remediation: retries: 3 values: + # --- CRD upgrade/cleanup hook image. The chart default is docker.io/bitnami/kubectl, whose public + # Docker Hub catalog Bitnami REMOVED (Aug 2025) — `docker.io/bitnami/kubectl:1.31` 404s, leaving + # the pre-install `velero-upgrade-crds` hook in Init:ImagePullBackOff and Velero never installing. + # Repoint to the Rancher-maintained kubectl mirror, pinned to the cluster's exact k8s minor + # (v1.31.5, multi-arch amd64/arm64). Verified pullable via the Docker Hub registry API. --- + kubectl: + image: + repository: docker.io/rancher/kubectl + tag: v1.31.5 # --- AWS object-store plugin (BSL provider=aws → MinIO S3-compatible), loaded as an init container. # Image minor MUST track the Velero minor (chart 8.x = Velero 1.15 → plugin v1.11.x). --- initContainers: