Skip to content

Commit be02fe5

Browse files
authored
Merge pull request kubernetes#90782 from justaugustus/base-images
base-images: Use new debian-iptables:v12.1.0
2 parents 7f78048 + 8e8a1a4 commit be02fe5

File tree

3 files changed

+22
-11
lines changed

3 files changed

+22
-11
lines changed

build/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ readonly KUBE_CONTAINER_RSYNC_PORT=8730
9595
kube::build::get_docker_wrapped_binaries() {
9696
local arch=$1
9797
local debian_base_version=v2.1.0
98-
local debian_iptables_version=v12.0.1
98+
local debian_iptables_version=v12.1.0
9999
### If you change any of these lists, please also update DOCKERIZED_BINARIES
100100
### in build/BUILD. And kube::golang::server_image_targets
101101
local targets=(

build/dependencies.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ dependencies:
110110
match: TAG\?=
111111

112112
- name: "k8s.gcr.io/debian-iptables: dependents"
113-
version: 12.0.1
113+
version: 12.1.0
114114
refPaths:
115115
- path: build/common.sh
116116
match: debian_iptables_version=

build/workspace.bzl

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,11 @@ def cri_tarballs():
7171
urls = mirror("https://github.com/kubernetes-incubator/cri-tools/releases/download/v%s/crictl-v%s-%s.tar.gz" % (CRI_TOOLS_VERSION, CRI_TOOLS_VERSION, arch)),
7272
)
7373

74-
# Use go get -u github.com/estesp/manifest-tool to find these values
74+
# Use skopeo to find these values: https://github.com/containers/skopeo
75+
#
76+
# Example
77+
# Manifest: skopeo inspect docker://gcr.io/k8s-staging-build-image/debian-base:v2.1.0
78+
# Arches: skopeo inspect --raw docker://gcr.io/k8s-staging-build-image/debian-base:v2.1.0
7579
_DEBIAN_BASE_DIGEST = {
7680
"manifest": "sha256:b118abac0bcf633b9db4086584ee718526fe394cf1bd18aee036e6cc497860f6",
7781
"amd64": "sha256:a67798e4746faaab3fde5b7407fa8bba75d8b1214d168dc7ad2b5364f6fc4319",
@@ -81,13 +85,18 @@ _DEBIAN_BASE_DIGEST = {
8185
"s390x": "sha256:dac908eaa61d2034aec252576a470a7e4ab184c361f89170526f707a0c3c6082",
8286
}
8387

88+
# Use skopeo to find these values: https://github.com/containers/skopeo
89+
#
90+
# Example
91+
# Manifest: skopeo inspect docker://gcr.io/k8s-staging-build-image/debian-iptables:v12.1.0
92+
# Arches: skopeo inspect --raw docker://gcr.io/k8s-staging-build-image/debian-iptables:v12.1.0
8493
_DEBIAN_IPTABLES_DIGEST = {
85-
"manifest": "sha256:d1cd487e89fb4cba853cd3a948a6e9016faf66f2a7bb53cb1ac6b6c9cb58f5ed",
86-
"amd64": "sha256:852d3c569932059bcab3a52cb6105c432d85b4b7bbd5fc93153b78010e34a783",
87-
"arm": "sha256:c10f01b414a7cd4b2f3e26e152c90c64a1e781d99f83a6809764cf74ecbc46c3",
88-
"arm64": "sha256:5725e6fde13a6405cf800e22846ebd2bde24b0860f1dc3f6f5f256f03cfa85bd",
89-
"ppc64le": "sha256:b6d6e56a0c34c0393dcba0d5faaa531b92e5876114c5ab5a90e82e4889724c5a",
90-
"s390x": "sha256:39e67e9bf25d67fe35bd9dcb25367277e5967368e02f2741e0efd4ce8874db14",
94+
"manifest": "sha256:1ae6d76dea462973759ff1c4e02263867da1f85db9aa10462a030ca421cbf0e9",
95+
"amd64": "sha256:2fb9fa09123a41e6369cac04eb29e26237fe9e43da8e18f676d18d8fffb906fc",
96+
"arm": "sha256:a0e97386c073a2990265938fa15dc0db575efdb4d13c0ea63a79e0590813a998",
97+
"arm64": "sha256:2a7df97e2c702d9852cc6234aff89b4671cd5b09086ac2b5383411315e5f115d",
98+
"ppc64le": "sha256:f5289a6494328b7ccb695e3add65b33ca380b77fcfc9715e474f0efe26e1c506",
99+
"s390x": "sha256:1b91a2788750552913377bf1bc99a095544dfb523d80a55674003c974c8e0905",
91100
}
92101

93102
def _digest(d, arch):
@@ -104,16 +113,18 @@ def debian_image_dependencies():
104113
digest = _digest(_DEBIAN_BASE_DIGEST, arch),
105114
registry = "us.gcr.io/k8s-artifacts-prod/build-image",
106115
repository = "debian-base",
116+
# Ensure the digests above are updated to match a new tag
107117
tag = "v2.1.0", # ignored, but kept here for documentation
108118
)
109119

110120
container_pull(
111121
name = "debian-iptables-" + arch,
112122
architecture = arch,
113123
digest = _digest(_DEBIAN_IPTABLES_DIGEST, arch),
114-
registry = "k8s.gcr.io",
124+
registry = "us.gcr.io/k8s-artifacts-prod/build-image",
115125
repository = "debian-iptables",
116-
tag = "v12.0.1", # ignored, but kept here for documentation
126+
# Ensure the digests above are updated to match a new tag
127+
tag = "v12.1.0", # ignored, but kept here for documentation
117128
)
118129

119130
def etcd_tarballs():

0 commit comments

Comments
 (0)