From faa9d3c514c639596753b3a58d11f718c8a4e25f Mon Sep 17 00:00:00 2001 From: Marian Koreniuk Date: Wed, 14 Oct 2026 10:41:37 +0200 Subject: [PATCH] fix(kubernetes): run proxmox-cloud-controller-manager v0.16.1, pinned by digest The Proxmox CCM was referenced by its bare v0.15.0 tag, and that tag no longer names the image it named when the template was written. It was re-pushed on 2026-09-27 (index sha256:d81702998ae1, replacing the 2026-08-06 build sha256:fbc553921145) to a binary whose gitVersion is "0.15.0" without the leading v. component-base v0.37 parses that string in the init() of its legacy metrics registry and panics: panic: version string "0.15.0" doesn't match expected regular expression: "^v(\d+\.\d+\.\d+)" so the Deployment crash-loops, no Node ever loses the node.cloudprovider.kubernetes.io/uninitialized taint, and workloads on a new worker stay Pending. Any node that pulls the tag fresh gets it, which is every fresh install. v0.16 builds with goreleaser and stamps gitVersion as v{{.Version}}. The configuration this template writes is read unchanged: the cluster entry moved to go-proxmox-pool's ClusterConfig with the same url, insecure, token_id, token_secret and region keys, and features.provider: capmox still writes proxmox://, the providerID capmox puts on the Machine. The reference now lives in images/proxmox-cloud-controller-manager.tag as tag plus digest, the shape the chart already uses for the KubeVirt cloud provider, so a moving tag can no longer change what runs. Assisted-by: LLM Signed-off-by: Marian Koreniuk (cherry picked from commit 05a347e6f6f74427e1b9f0e7b1a726e93046f110) Signed-off-by: cozystack-ci[bot] <274107086+cozystack-ci[bot]@users.noreply.github.com> --- .../apps/kubernetes/images/proxmox-cloud-controller-manager.tag | 1 + packages/apps/kubernetes/templates/ccm-proxmox/controller.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 packages/apps/kubernetes/images/proxmox-cloud-controller-manager.tag diff --git a/packages/apps/kubernetes/images/proxmox-cloud-controller-manager.tag b/packages/apps/kubernetes/images/proxmox-cloud-controller-manager.tag new file mode 100644 index 000000000..421f1b9fe --- /dev/null +++ b/packages/apps/kubernetes/images/proxmox-cloud-controller-manager.tag @@ -0,0 +1 @@ +ghcr.io/sergelogvinov/proxmox-cloud-controller-manager:v0.16.1@sha256:474dbfd3be5c2e0866e520bc6ddb60b7accef554ca7401488eee35252cdf8734 diff --git a/packages/apps/kubernetes/templates/ccm-proxmox/controller.yaml b/packages/apps/kubernetes/templates/ccm-proxmox/controller.yaml index 35c5c438c..6e6f842cb 100644 --- a/packages/apps/kubernetes/templates/ccm-proxmox/controller.yaml +++ b/packages/apps/kubernetes/templates/ccm-proxmox/controller.yaml @@ -101,7 +101,7 @@ spec: readOnlyRootFilesystem: true containers: - name: cloud-controller-manager - image: ghcr.io/sergelogvinov/proxmox-cloud-controller-manager:v0.15.0 + image: "{{ $.Files.Get "images/proxmox-cloud-controller-manager.tag" | trim }}" args: - --v=4 - --cloud-provider=proxmox