diff --git a/internal/bundle/bundle.go b/internal/bundle/bundle.go index d96bebf3..ff2dbbe4 100644 --- a/internal/bundle/bundle.go +++ b/internal/bundle/bundle.go @@ -29,9 +29,10 @@ var ocpToKubeVersion = map[string]string{ "4.13": "1.26", "4.14": "1.27", "4.15": "1.28", + "4.16": "1.29", } -const latestReleasedVersion = "4.14" +const latestReleasedVersion = "4.15" func Validate(ctx context.Context, imagePath string) (*Report, error) { logger := logr.FromContextOrDiscard(ctx) diff --git a/internal/bundle/bundle_test.go b/internal/bundle/bundle_test.go index 94e98435..c713c66b 100644 --- a/internal/bundle/bundle_test.go +++ b/internal/bundle/bundle_test.go @@ -107,7 +107,8 @@ var _ = Describe("BundleValidateCheck", func() { Entry(">= 4.8", "v4.8", latestReleasedVersion, true), Entry(">= 4.9", "v4.9", latestReleasedVersion, true), Entry(">= 4.11", "v4.11", latestReleasedVersion, true), - Entry(">= 4.15, which is more than released", "v4.15", "4.15", true), + Entry(">= 4.15", "v4.15", latestReleasedVersion, true), + Entry(">= 4.16, which is more than released", "v4.16", "4.16", true), Entry("begins = with error", "=foo", "", false), Entry("bare version with error", "vfoo", "", false), Entry("range with error", "v4.6-vfoo", "", false),