Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
223 lines (206 sloc)
9.42 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependencies: | |
# zeitgeist (https://github.com/kubernetes-sigs/zeitgeist) was inspired by | |
# (and now replaces) the cmd/verifydependencies tool to verify external | |
# dependencies across the repo. | |
# | |
# The zeitgeist dependencies.yaml file format is intended to be | |
# backwards-compatible with the original tooling. | |
# | |
# In instances where the file format may change across versions, this meta | |
# dependency check exists to ensure we're pinned to a known good version. | |
# | |
# ref: https://github.com/kubernetes/kubernetes/pull/98845 | |
- name: "zeitgeist" | |
version: "v0.2.0" | |
refPaths: | |
- path: hack/tools/go.mod | |
match: sigs.k8s.io/zeitgeist\ v(?P<major>0|[1-9]\d*)\.(?P<minor>0|[1-9]\d*)\.(?P<patch>0|[1-9]\d*)(?:-(?P<prerelease>(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+(?P<buildmetadata>[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))? | |
# CNI plugins | |
- name: "cni" | |
version: 0.9.1 | |
refPaths: | |
- path: cluster/gce/config-common.sh | |
match: WINDOWS_CNI_VERSION= | |
- path: cluster/gce/gci/configure.sh | |
match: DEFAULT_CNI_VERSION= | |
- path: test/e2e_node/remote/utils.go | |
match: cniVersion[\t\n\f\r ]*= | |
# CoreDNS | |
- name: "coredns-kube-up" | |
version: 1.9.3 | |
refPaths: | |
- path: cluster/addons/dns/coredns/coredns.yaml.base | |
match: registry.k8s.io/coredns | |
- path: cluster/addons/dns/coredns/coredns.yaml.in | |
match: registry.k8s.io/coredns | |
- path: cluster/addons/dns/coredns/coredns.yaml.sed | |
match: registry.k8s.io/coredns | |
- name: "coredns-kubeadm" | |
version: 1.9.3 | |
refPaths: | |
- path: cmd/kubeadm/app/constants/constants.go | |
match: CoreDNSVersion = | |
# CRI Tools | |
- name: "crictl" | |
version: 1.24.2 | |
refPaths: | |
- path: cluster/gce/windows/k8s-node-setup.psm1 | |
match: CRICTL_VERSION = | |
- path: cluster/gce/gci/configure.sh | |
match: DEFAULT_CRICTL_VERSION= | |
# etcd | |
- name: "etcd" | |
version: 3.5.4 | |
refPaths: | |
- path: cluster/gce/manifests/etcd.manifest | |
match: etcd_docker_tag|etcd_version | |
- path: cluster/gce/upgrade-aliases.sh | |
match: ETCD_IMAGE|ETCD_VERSION | |
- path: cmd/kubeadm/app/constants/constants.go | |
match: DefaultEtcdVersion = | |
- path: hack/lib/etcd.sh | |
match: ETCD_VERSION= | |
- path: staging/src/k8s.io/sample-apiserver/artifacts/example/deployment.yaml | |
match: gcr.io/etcd-development/etcd | |
- path: test/e2e/framework/nodes_util.go | |
match: const etcdImage | |
- path: test/utils/image/manifest.go | |
match: configs\[Etcd\] = Config{list\.GcEtcdRegistry, "etcd", "\d+\.\d+.\d+(-(alpha|beta|rc).\d+)?(-\d+)?"} | |
- name: "etcd-image" | |
version: 3.5.4 | |
refPaths: | |
- path: cluster/images/etcd/Makefile | |
match: BUNDLED_ETCD_VERSIONS\?|LATEST_ETCD_VERSION\? | |
- path: cluster/images/etcd/migrate/options.go | |
# From https://github.com/etcd-io/etcd/blob/main/Makefile | |
- name: "golang: etcd release version" | |
version: 1.16.15 # for etcd v3.5.4: https://github.com/etcd-io/etcd/blob/08407ff7600eb16c4445d5f21c4fafaf19412e24/Makefile#L58 | |
refPaths: | |
- path: cluster/images/etcd/Makefile | |
match: 'GOLANG_VERSION\?=\d+.\d+(alpha|beta|rc)?\.?(\d+)?' | |
# Golang | |
- name: "golang: upstream version" | |
version: 1.18.3 | |
refPaths: | |
- path: build/build-image/cross/VERSION | |
- path: staging/publishing/rules.yaml | |
match: 'default-go-version\: \d+.\d+(alpha|beta|rc)?\.?(\d+)?' | |
- path: test/images/Makefile | |
match: GOLANG_VERSION=\d+.\d+(alpha|beta|rc)?\.?\d+ | |
# Golang pre-releases are denoted as `1.y<pre-release stage>` | |
# Example: go1.16rc1 | |
# | |
# This entry is a stub of the major version to allow dependency checks to | |
# pass when building Kubernetes using a pre-release of Golang. | |
- name: "golang: 1.<major>" | |
version: 1.18 | |
refPaths: | |
- path: build/build-image/cross/VERSION | |
# TODO(dims): Uncomment once images are updated to go1.18 | |
#- path: hack/lib/golang.sh | |
# match: minimum_go_version=go([0-9]+\.[0-9]+) | |
- name: "registry.k8s.io/kube-cross: dependents" | |
version: v1.25.0-go1.18.3-bullseye.0 | |
refPaths: | |
- path: build/build-image/cross/VERSION | |
# Base images | |
- name: "registry.k8s.io/debian-base: dependents" | |
version: bullseye-v1.3.0 | |
refPaths: | |
- path: cluster/images/etcd/Makefile | |
match: BASEIMAGE\?\=registry\.k8s\.io\/build-image\/debian-base:[a-zA-Z]+\-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?) | |
- path: cluster/images/etcd/Makefile | |
match: BASEIMAGE\?\=registry\.k8s\.io\/build-image\/debian-base-arm:[a-zA-Z]+\-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?) | |
- path: cluster/images/etcd/Makefile | |
match: BASEIMAGE\?\=registry\.k8s\.io\/build-image\/debian-base-arm64:[a-zA-Z]+\-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?) | |
- path: cluster/images/etcd/Makefile | |
match: BASEIMAGE\?\=registry\.k8s\.io\/build-image\/debian-base-ppc64le:[a-zA-Z]+\-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?) | |
- path: cluster/images/etcd/Makefile | |
match: BASEIMAGE\?\=registry\.k8s\.io\/build-image\/debian-base-s390x:[a-zA-Z]+\-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?) | |
- path: test/conformance/image/Makefile | |
match: BASE_IMAGE_VERSION\?= | |
- name: "registry.k8s.io/debian-iptables: dependents" | |
version: bullseye-v1.4.0 | |
refPaths: | |
- path: build/common.sh | |
match: __default_debian_iptables_version= | |
- path: test/utils/image/manifest.go | |
match: configs\[DebianIptables\] = Config{list\.BuildImageRegistry, "debian-iptables", "[a-zA-Z]+\-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)"} | |
- name: "registry.k8s.io/go-runner: dependents" | |
version: v2.3.1-go1.18.3-bullseye.0 | |
refPaths: | |
- path: build/common.sh | |
match: __default_go_runner_version= | |
- name: "registry.k8s.io/pause" | |
version: 3.8 | |
refPaths: | |
- path: build/pause/Makefile | |
match: TAG\s*\?= | |
- name: "registry.k8s.io/pause: dependents" | |
version: 3.7 | |
refPaths: | |
- path: cluster/gce/config-common.sh | |
match: registry.k8s.io\/pause:\d+\.\d+ | |
- path: cluster/gce/gci/configure-helper.sh | |
match: registry.k8s.io\/pause:\d+\.\d+ | |
- path: cluster/gce/windows/smoke-test.sh | |
match: registry.k8s.io\/pause:\d+\.\d+ | |
- path: cmd/kubeadm/app/constants/constants.go | |
match: PauseVersion\s+= | |
- path: cmd/kubeadm/app/util/template_test.go | |
match: validTmpl\s+= | |
- path: cmd/kubeadm/app/util/template_test.go | |
match: validTmplOut\s+= | |
- path: cmd/kubeadm/app/util/template_test.go | |
match: doNothing\s+= | |
- path: cmd/kubelet/app/options/container_runtime.go | |
match: defaultPodSandboxImageVersion\s+= | |
- path: hack/testdata/pod-with-precision.json | |
match: registry.k8s.io\/pause:\d+\.\d+ | |
- path: staging/src/k8s.io/kubectl/testdata/set/multi-resource-yaml.yaml | |
match: registry.k8s.io\/pause:\d+\.\d+ | |
- path: staging/src/k8s.io/kubectl/testdata/set/namespaced-resource.yaml | |
match: registry.k8s.io\/pause:\d+\.\d+ | |
- path: test/cmd/core.sh | |
match: registry.k8s.io\/pause:\d+\.\d+ | |
- path: test/fixtures/pkg/kubectl/cmd/set/multi-resource-yaml.yaml | |
match: registry.k8s.io\/pause:\d+\.\d+ | |
- path: test/fixtures/pkg/kubectl/cmd/set/namespaced-resource.yaml | |
match: registry.k8s.io\/pause:\d+\.\d+ | |
- path: test/integration/benchmark-controller.json | |
match: registry.k8s.io\/pause:\d+\.\d+ | |
- path: test/integration/scheduler_perf/config/pod-default.yaml | |
match: registry.k8s.io\/pause:\d+\.\d+ | |
- path: test/integration/scheduler_perf/config/pod-with-node-affinity.yaml | |
match: registry.k8s.io\/pause:\d+\.\d+ | |
- path: test/integration/scheduler_perf/config/pod-with-pod-affinity.yaml | |
match: registry.k8s.io\/pause:\d+\.\d+ | |
- path: test/integration/scheduler_perf/config/pod-with-pod-anti-affinity.yaml | |
match: registry.k8s.io\/pause:\d+\.\d+ | |
- path: test/integration/scheduler_perf/config/pod-with-preferred-pod-affinity.yaml | |
match: registry.k8s.io\/pause:\d+\.\d+ | |
- path: test/integration/scheduler_perf/config/pod-with-preferred-pod-anti-affinity.yaml | |
match: registry.k8s.io\/pause:\d+\.\d+ | |
- path: test/integration/scheduler_perf/config/pod-with-preferred-topology-spreading.yaml | |
match: registry.k8s.io\/pause:\d+\.\d+ | |
- path: test/integration/scheduler_perf/config/pod-with-secret-volume.yaml | |
match: registry.k8s.io\/pause:\d+\.\d+ | |
- path: test/integration/scheduler_perf/config/pod-with-topology-spreading.yaml | |
match: registry.k8s.io\/pause:\d+\.\d+ | |
- path: test/utils/runners.go | |
match: registry.k8s.io\/pause:\d+\.\d+ | |
- path: test/utils/image/manifest.go | |
match: configs\[Pause\] = Config{list\.GcRegistry, "pause", "\d+\.\d+(.\d+)?"} | |
- name: "registry.k8s.io/setcap: dependents" | |
version: bullseye-v1.3.0 | |
refPaths: | |
- path: build/common.sh | |
match: __default_setcap_version= | |
# cadvisor | |
- name: "gcr.io/cadvisor/cadvisor: dependents" | |
version: "v0.43.0" | |
refPaths: | |
- path: test/e2e_node/resource_collector.go | |
match: gcr.io\/cadvisor\/cadvisor:v\d+\.\d+\.\d+ | |
- path: test/e2e_node/image_list.go | |
mathc: gcr.io\/cadvisor\/cadvisor:v\d+\.\d+\.\d+ |