This is an automated email from the ASF dual-hosted git repository.

villebro pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/superset-kubernetes-operator.git


The following commit(s) were added to refs/heads/main by this push:
     new 1f5a53c  ci: make kind release notes the sole source of truth for 
kindest/node digests (#83)
1f5a53c is described below

commit 1f5a53c30248c22839f022b5fae3ef1c8e9b02a3
Author: Ville Brofeldt <[email protected]>
AuthorDate: Wed May 27 20:26:04 2026 -0700

    ci: make kind release notes the sole source of truth for kindest/node 
digests (#83)
---
 Makefile                           | 5 +++--
 renovate.json                      | 9 ---------
 scripts/sync-supported-versions.sh | 5 +++++
 3 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/Makefile b/Makefile
index bb78fb0..15d12f0 100644
--- a/Makefile
+++ b/Makefile
@@ -211,8 +211,9 @@ test-integration: manifests generate fmt vet setup-envtest 
## Run integration te
 # CertManager is installed by default; skip with:
 # - CERT_MANAGER_INSTALL_SKIP=true
 KIND_CLUSTER ?= superset-kubernetes-operator-test-e2e
-# Keep in sync with the first entry of .github/supported-k8s.json (Renovate 
manages the digest).
-KIND_NODE_IMAGE ?= 
kindest/node:v1.35.0@sha256:452d707d4862f52530247495d180205e029056831160e22870e37e3f6c1ac31f
+# Derived from .github/supported-k8s.json (the canonical kindest/node pin,
+# regenerated from the kind release notes by `make sync-supported-versions`).
+KIND_NODE_IMAGE ?= $(shell jq -r '.supported[0].node_image' 
.github/supported-k8s.json)
 
 .PHONY: setup-test-e2e
 setup-test-e2e: ## Set up a Kind cluster for e2e tests if it does not exist
diff --git a/renovate.json b/renovate.json
index db18784..4517cc4 100644
--- a/renovate.json
+++ b/renovate.json
@@ -23,15 +23,6 @@
     }
   ],
   "customManagers": [
-    {
-      "customType": "regex",
-      "description": "Track kindest/node image digests in 
.github/supported-k8s.json",
-      "managerFilePatterns": ["/^\\.github/supported-k8s\\.json$/"],
-      "matchStrings": [
-        
"\"node_image\":\\s*\"(?<depName>kindest/node):(?<currentValue>[^@\"]+)@(?<currentDigest>sha256:[a-f0-9]+)\""
-      ],
-      "datasourceTemplate": "docker"
-    },
     {
       "customType": "regex",
       "description": "Track sigs.k8s.io/kind release pin and matching sha256 
in workflows",
diff --git a/scripts/sync-supported-versions.sh 
b/scripts/sync-supported-versions.sh
index 91bf94b..b3e80b7 100755
--- a/scripts/sync-supported-versions.sh
+++ b/scripts/sync-supported-versions.sh
@@ -23,6 +23,11 @@
 #   - `next`      = {minor, version} of the newest stable Kubernetes release if
 #                   its minor isn't already in `supported`; otherwise null.
 #
+# The kind GitHub release notes are the sole source of truth for node-image
+# digests. Docker Hub re-pushes of the `kindest/node:vX.Y.Z` tag are
+# intentionally ignored: a new digest there does not represent a kind release,
+# and tracking it would conflict with this script.
+#
 # Usage:
 #   sync-supported-versions.sh [--check|--write]
 #

Reply via email to