Documentation ¶
Index ¶
Constants ¶
const K8sVerV1betav1Unsupported = "1.22.0"
K8sVerV1betav1Unsupported version where the apis v1betav1 is no longer supported
const K8sVerV1betavSupported = "1.21.0"
K8sVerV1betavSupported version where the apis v1betav1 is supported
const KubeMaxAnnotation = "operatorhub.io/ui-metadata-max-k8s-version"
KubeMaxAnnotation define the annotation that will be checked
Variables ¶
var K8sCommunityBundleValidator interfaces.Validator = interfaces.ValidatorFunc(k8sCommunityBundleValidator)
K8S Community Bundle Validator validate the bundle manifests against the required and specific criteria to publish the projects on the K8S community catalog
Be aware that this validator is in alpha stage and can be changed. Also, the intention here is to decouple this validator and move it out of this project. Following its current checks:
- Ensure that when found the usage of the removed APIs on 1.22/OCP 4.9 the CSV has the annotation operatorhub.io/ui-metadata-max-k8s-version with a value < 1.22.
Functions ¶
This section is empty.
Types ¶
type K8sCommunityBundleValidatorChecks ¶
type K8sCommunityBundleValidatorChecks struct {
// contains filtered or unexported fields
}
K8sCommunityBundleValidatorChecks defines the attributes used to perform the checks