build/dependencies.yaml: enforce PATCH level validation for pause

As it can be seen in build/pause/CHANGELOG.md the PATCH
level version for pause was introduced due to requirements
from the pause image for Windows. This however invalidated
our build/depedencies.yaml validation as it only accounted for
the MAJOR.MINOR version of pause (e.g. 3.10, not 3.10.1).

Enforce full SemVer validation for the pause image dependents.
This commit is contained in:
Lubomir I. Ivanov 2026-04-03 16:04:22 +02:00
parent bc2179d882
commit 1c87f399bf

View file

@ -195,50 +195,50 @@ dependencies:
match: TAG\s*\?=
- name: "registry.k8s.io/pause: dependents"
version: 3.10
version: 3.10.2
refPaths:
- path: cluster/gce/config-common.sh
match: registry.k8s.io\/pause:\d+\.\d+
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
- path: cluster/gce/gci/configure-helper.sh
match: registry.k8s.io\/pause:\d+\.\d+
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
- path: cluster/gce/windows/smoke-test.sh
match: registry.k8s.io\/pause:\d+\.\d+
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
- path: cmd/kubeadm/app/constants/constants.go
match: PauseVersion\s+=
- path: hack/testdata/pod-with-precision.json
match: registry.k8s.io\/pause:\d+\.\d+
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
- path: staging/src/k8s.io/kubectl/testdata/set/multi-resource-yaml.yaml
match: registry.k8s.io\/pause:\d+\.\d+
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
- path: staging/src/k8s.io/kubectl/testdata/set/namespaced-resource.yaml
match: registry.k8s.io\/pause:\d+\.\d+
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
- path: test/cmd/core.sh
match: registry.k8s.io\/pause:\d+\.\d+
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
- path: test/fixtures/pkg/kubectl/cmd/set/multi-resource-yaml.yaml
match: registry.k8s.io\/pause:\d+\.\d+
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
- path: test/fixtures/pkg/kubectl/cmd/set/namespaced-resource.yaml
match: registry.k8s.io\/pause:\d+\.\d+
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
- path: test/integration/benchmark-controller.json
match: registry.k8s.io\/pause:\d+\.\d+
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
- path: test/integration/scheduler_perf/templates/pod-default.yaml
match: registry.k8s.io\/pause:\d+\.\d+
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
- path: test/integration/scheduler_perf/templates/pod-with-node-affinity.yaml
match: registry.k8s.io\/pause:\d+\.\d+
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
- path: test/integration/scheduler_perf/templates/pod-with-pod-affinity.yaml
match: registry.k8s.io\/pause:\d+\.\d+
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
- path: test/integration/scheduler_perf/templates/pod-with-pod-anti-affinity.yaml
match: registry.k8s.io\/pause:\d+\.\d+
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
- path: test/integration/scheduler_perf/templates/pod-with-preferred-pod-affinity.yaml
match: registry.k8s.io\/pause:\d+\.\d+
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
- path: test/integration/scheduler_perf/templates/pod-with-preferred-pod-anti-affinity.yaml
match: registry.k8s.io\/pause:\d+\.\d+
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
- path: test/integration/scheduler_perf/templates/pod-with-preferred-topology-spreading.yaml
match: registry.k8s.io\/pause:\d+\.\d+
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
- path: test/integration/scheduler_perf/templates/pod-with-secret-volume.yaml
match: registry.k8s.io\/pause:\d+\.\d+
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
- path: test/integration/scheduler_perf/templates/pod-with-topology-spreading.yaml
match: registry.k8s.io\/pause:\d+\.\d+
match: registry.k8s.io\/pause:\d+\.\d+\.\d+
- path: test/utils/image/manifest.go
match: configs\[Pause\] = Config{list\.GcRegistry, "pause", "\d+\.\d+(.\d+)?"}
match: configs\[Pause\] = Config{list\.GcRegistry, "pause", "\d+\.\d+\.\d+"}
- path: test/images/agnhost/fakeregistryserver/images.txt
match: pause\s