Skip to content

Commit f6d810f

Browse files
Merge pull request #30979 from sosiouxme/20260408-terminationMessage-hack
TRT-2084: terminationmessagepolicy: relax for 5.0
2 parents c6e9e5f + b447720 commit f6d810f

File tree

1 file changed

+5
-0
lines changed
  • pkg/monitortests/clusterversionoperator/terminationmessagepolicy

1 file changed

+5
-0
lines changed

pkg/monitortests/clusterversionoperator/terminationmessagepolicy/monitortest.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ func init() {
2727
for i := 0; i < 16; i++ {
2828
unfixedVersions.Insert(fmt.Sprintf("4.%d", i))
2929
}
30+
31+
// TODO: [lmeyer 2026-04-08] replace this temporary hack.
32+
unfixedVersions.Insert("5.0")
33+
// the algorithm below has permitted every release since 4.20 to flake because "4.2" is in the version.
34+
// predictably, a number of violations have crept in. once those are fixed, fix hasOldVersion determination below.
3035
}
3136

3237
type terminationMessagePolicyChecker struct {

0 commit comments

Comments
 (0)