validation

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const K8sVerV1betav1Unsupported = "1.22.0"

K8sVerV1betav1Unsupported version where the apis v1betav1 is no longer supported

View Source
const K8sVerV1betavSupported = "1.21.0"

K8sVerV1betavSupported version where the apis v1betav1 is supported

View Source
const KubeMaxAnnotation = "operatorhub.io/ui-metadata-max-k8s-version"

KubeMaxAnnotation define the annotation that will be checked

Variables

View Source
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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL