Skip to content

Commit e52b13b

Browse files
Merge pull request #2339 from dusk125/bump-4.20-1.32.6
OCPBUGS-57861: Bump 4.20 1.32.6
2 parents 02b9b7e + 00da85e commit e52b13b

File tree

30 files changed

+448
-150
lines changed

30 files changed

+448
-150
lines changed

.go-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.23.8
1+
1.23.10

CHANGELOG/CHANGELOG-1.32.md

Lines changed: 178 additions & 72 deletions
Large diffs are not rendered by default.

build/build-image/cross/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.32.0-go1.23.8-bullseye.0
1+
v1.32.0-go1.23.10-bullseye.0

build/common.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ readonly KUBE_RSYNC_PORT="${KUBE_RSYNC_PORT:-}"
9797
readonly KUBE_CONTAINER_RSYNC_PORT=8730
9898

9999
# These are the default versions (image tags) for their respective base images.
100-
readonly __default_distroless_iptables_version=v0.6.9
101-
readonly __default_go_runner_version=v2.4.0-go1.23.8-bookworm.0
100+
readonly __default_distroless_iptables_version=v0.6.11
101+
readonly __default_go_runner_version=v2.4.0-go1.23.10-bookworm.0
102102
readonly __default_setcap_version=bookworm-v1.0.4
103103

104104
# These are the base images for the Docker-wrapped binaries.

build/dependencies.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ dependencies:
116116

117117
# Golang
118118
- name: "golang: upstream version"
119-
version: 1.23.8
119+
version: 1.23.10
120120
refPaths:
121121
- path: .go-version
122122
- path: build/build-image/cross/VERSION
@@ -140,7 +140,7 @@ dependencies:
140140
match: golang:([0-9]+\.[0-9]+).0-bullseye
141141

142142
- name: "registry.k8s.io/kube-cross: dependents"
143-
version: v1.32.0-go1.23.8-bullseye.0
143+
version: v1.32.0-go1.23.10-bullseye.0
144144
refPaths:
145145
- path: build/build-image/cross/VERSION
146146

@@ -178,15 +178,15 @@ dependencies:
178178
match: 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-]+)*))?)
179179

180180
- name: "registry.k8s.io/distroless-iptables: dependents"
181-
version: v0.6.9
181+
version: v0.6.11
182182
refPaths:
183183
- path: build/common.sh
184184
match: __default_distroless_iptables_version=
185185
- path: test/utils/image/manifest.go
186186
match: configs\[DistrolessIptables\] = Config{list\.BuildImageRegistry, "distroless-iptables", "v([0-9]+)\.([0-9]+)\.([0-9]+)"}
187187

188188
- name: "registry.k8s.io/go-runner: dependents"
189-
version: v2.4.0-go1.23.8-bookworm.0
189+
version: v2.4.0-go1.23.10-bookworm.0
190190
refPaths:
191191
- path: build/common.sh
192192
match: __default_go_runner_version=

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ require (
1616
bitbucket.org/bertimus9/systemstat v0.5.0
1717
github.com/JeffAshton/win_pdh v0.0.0-20161109143554-76bb4ee9f0ab
1818
github.com/Microsoft/go-winio v0.6.2
19-
github.com/Microsoft/hnslib v0.0.8
19+
github.com/Microsoft/hnslib v0.1.1
2020
github.com/armon/circbuf v0.0.0-20190214190532-5111143e8da2
2121
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5
2222
github.com/blang/semver/v4 v4.0.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ github.com/MakeNowJust/heredoc v1.0.0 h1:cXCdzVdstXyiTqTvfqk9SDHpKNjxuom+DOlyEeQ
132132
github.com/MakeNowJust/heredoc v1.0.0/go.mod h1:mG5amYoWBHf8vpLOuehzbGGw0EHxpZZ6lCpQ4fNJ8LE=
133133
github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY=
134134
github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU=
135-
github.com/Microsoft/hnslib v0.0.8 h1:EBrIiRB7i/UYIXEC2yw22dn+RLzOmsc5S0bw2xf0Qus=
136-
github.com/Microsoft/hnslib v0.0.8/go.mod h1:EYveQJlhKh2obmEIRB3uKN6dBd9pj1frPsrTGFppKuk=
135+
github.com/Microsoft/hnslib v0.1.1 h1:JsZy681SnvSOUAfCZVAxkX4LgQGp+CZZwPbLV0/pdF8=
136+
github.com/Microsoft/hnslib v0.1.1/go.mod h1:DRQR4IjLae6WHYVhW7uqe44hmFUiNhmaWA+jwMbz5tM=
137137
github.com/NYTimes/gziphandler v1.1.1 h1:ZUDjpQae29j0ryrS0u/B8HZfJBtBQHjqw2rQ2cqUQ3I=
138138
github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c=
139139
github.com/RangelReale/osincli v0.0.0-20160924135400-fababb0555f2/go.mod h1:XyjUkMA8GN+tOOPXvnbi3XuRxWFvTJntqvTFnjmhzbk=

openshift-hack/images/hyperkube/Dockerfile.rhel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ COPY --from=builder /tmp/build/* /usr/bin/
1414
LABEL io.k8s.display-name="OpenShift Kubernetes Server Commands" \
1515
io.k8s.description="OpenShift is a platform for developing, building, and deploying containerized applications." \
1616
io.openshift.tags="openshift,hyperkube" \
17-
io.openshift.build.versions="kubernetes=1.32.5"
17+
io.openshift.build.versions="kubernetes=1.32.6"

pkg/apis/core/validation/validation.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3031,6 +3031,13 @@ func gatherPodResourceClaimNames(claims []core.PodResourceClaim) sets.Set[string
30313031
}
30323032

30333033
func validatePodResourceClaim(podMeta *metav1.ObjectMeta, claim core.PodResourceClaim, podClaimNames *sets.Set[string], fldPath *field.Path) field.ErrorList {
3034+
// static pods don't support resource claims
3035+
if podMeta != nil {
3036+
if _, ok := podMeta.Annotations[core.MirrorPodAnnotationKey]; ok {
3037+
return field.ErrorList{field.Forbidden(field.NewPath(""), "static pods do not support resource claims")}
3038+
}
3039+
}
3040+
30343041
var allErrs field.ErrorList
30353042
if claim.Name == "" {
30363043
allErrs = append(allErrs, field.Required(fldPath.Child("name"), ""))

pkg/apis/core/validation/validation_test.go

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24293,6 +24293,8 @@ func TestValidateDynamicResourceAllocation(t *testing.T) {
2429324293
}
2429424294

2429524295
failureCases := map[string]*core.Pod{
24296+
"static pod with resource claim reference": goodClaimReference,
24297+
"static pod with resource claim template": goodClaimTemplate,
2429624298
"pod claim name with prefix": podtest.MakePod("",
2429724299
podtest.SetResourceClaims(core.PodResourceClaim{
2429824300
Name: "../my-claim",
@@ -24422,7 +24424,14 @@ func TestValidateDynamicResourceAllocation(t *testing.T) {
2442224424
}(),
2442324425
}
2442424426
for k, v := range failureCases {
24425-
if errs := ValidatePodSpec(&v.Spec, nil, field.NewPath("field"), PodValidationOptions{}); len(errs) == 0 {
24427+
podMeta := shortPodName
24428+
if strings.HasPrefix(k, "static pod") {
24429+
podMeta = podMeta.DeepCopy()
24430+
podMeta.Annotations = map[string]string{
24431+
core.MirrorPodAnnotationKey: "True",
24432+
}
24433+
}
24434+
if errs := ValidatePodSpec(&v.Spec, podMeta, field.NewPath("field"), PodValidationOptions{}); len(errs) == 0 {
2442624435
t.Errorf("expected failure for %q", k)
2442724436
}
2442824437
}

0 commit comments

Comments
 (0)