streamnative / function-mesh

The serverless framework purpose-built for event streaming applications.
https://functionmesh.io/
Apache License 2.0
210 stars 27 forks source link

fix olm bundle labels #705

Closed freeznet closed 10 months ago

freeznet commented 10 months ago

Motivation

time="2023-10-23T13:18:08Z" level=info msg="check completed" check=DeployableByOLM err="the bundle cannot be deployed because deployment validation has failed: [{Name:function-mesh.v0.18.0 Errors:[Error: Value : (function-mesh.v0.18.0) csv.Spec.MinKubeVersion has an invalid value: v1.17.0] Warnings:[Warning: Value function-mesh.v0.18.0: this bundle is using APIs which were deprecated and removed in v1.25. More info: https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-25. Migrate the API(s) for horizontalpodautoscalers: ([\"ClusterServiceVersion.Spec.InstallStrategy.StrategySpec.ClusterPermissions[0].Rules[1]\"])]} {Name:function-mesh.v0.18.0 Errors:[Error: Value : (function-mesh.v0.18.0) csv.Spec.MinKubeVersion has an invalid value: v1.17.0] Warnings:[Warning: Value : found olm.properties annotation, please define these properties in metadata/properties.yaml instead]}]" result=ERROR

error from openshift certification process

Modifications

Describe the modifications you've done.

Verifying this change

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

Documentation

Check the box below.

Need to update docs?

github-actions[bot] commented 10 months ago

@freeznet:Thanks for your contribution. For this PR, do we need to update docs? (The PR template contains info about doc, which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)

github-actions[bot] commented 10 months ago

@freeznet:Thanks for your contribution. For this PR, do we need to update docs? (The PR template contains info about doc, which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)

github-actions[bot] commented 10 months ago

@freeznet:Thanks for providing doc info!