We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b926353 commit 282a25bCopy full SHA for 282a25b
internal/bundle/bundle.go
@@ -30,9 +30,10 @@ var ocpToKubeVersion = map[string]string{
30
"4.14": "1.27",
31
"4.15": "1.28",
32
"4.16": "1.29",
33
+ "4.17": "1.30",
34
}
35
-const latestReleasedVersion = "4.15"
36
+const latestReleasedVersion = "4.16"
37
38
func Validate(ctx context.Context, imagePath string) (*Report, error) {
39
logger := logr.FromContextOrDiscard(ctx)
internal/bundle/bundle_test.go
@@ -108,7 +108,8 @@ var _ = Describe("BundleValidateCheck", func() {
108
Entry(">= 4.9", "v4.9", latestReleasedVersion, true),
109
Entry(">= 4.11", "v4.11", latestReleasedVersion, true),
110
Entry(">= 4.15", "v4.15", latestReleasedVersion, true),
111
- Entry(">= 4.16, which is more than released", "v4.16", "4.16", true),
+ Entry(">= 4.16, which is more than released", "v4.16", latestReleasedVersion, true),
112
+ Entry(">= 4.17, which is more than released", "v4.17", "4.17", true),
113
Entry("begins = with error", "=foo", "", false),
114
Entry("bare version with error", "vfoo", "", false),
115
Entry("range with error", "v4.6-vfoo", "", false),
0 commit comments