We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f95a1cc commit 1adc582Copy full SHA for 1adc582
internal/bundle/bundle.go
@@ -32,9 +32,10 @@ var ocpToKubeVersion = map[string]string{
32
"4.16": "1.29",
33
"4.17": "1.30",
34
"4.18": "1.31",
35
+ "4.19": "1.32",
36
}
37
-const latestReleasedVersion = "4.17"
38
+const latestReleasedVersion = "4.18"
39
40
func Validate(ctx context.Context, imagePath string) (*Report, error) {
41
logger := logr.FromContextOrDiscard(ctx)
internal/bundle/bundle_test.go
@@ -109,8 +109,9 @@ var _ = Describe("BundleValidateCheck", func() {
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", latestReleasedVersion, true),
112
- Entry(">= 4.17, which is more than released", "v4.17", "4.17", true),
113
- Entry(">= 4.18, which is more than released", "v4.18", "4.18", true),
+ Entry(">= 4.17, which is more than released", "v4.17", latestReleasedVersion, true),
+ Entry(">= 4.18, which is more than released", "v4.18", latestReleasedVersion, true),
114
+ Entry(">= 4.18, which is more than released", "v4.19", "4.19", true),
115
Entry("begins = with error", "=foo", "", false),
116
Entry("bare version with error", "vfoo", "", false),
117
Entry("range with error", "v4.6-vfoo", "", false),
0 commit comments