api
api copied to clipboard
Contains the API definitions used by OLM and Marketplace
validation that exists today in the operatorhub test suite only checks that the csv name is "name + a version" not "name + the version field" https://github.com/operator-framework/api/blob/a7ebc81c9577a300814448a901edae74c6e6e44e/pkg/validation/internal/operatorhub.go#L247 This means teams...
OLM requires the ClusterServiceVersion's `spec.version` field to be valid semver (parsable with `blang/semver.Parse()`). For example, In opm: - to generate a [semver-based package manifest in replaces mode](https://github.com/operator-framework/operator-registry/blob/c496cf028568091b18633a9ee59dadcc6d4b4edb/pkg/registry/populator.go#L320) - to add...
Bundles have a size limitation because their manifests are used to create a configMap, and the Kubernetes API does not allow configMaps larger than ~1MB. However, from OCP version 4.9,...
feature request... if a user of this api wanted to specifically check a CSV for 'example annotations' it would be nice to have a predefined sub-type for that specific validation...
We were playing with deploying the gitlab.com/redhat gitlab-runner-operator. It does not specify resources in the rbac proxy in the csv. We tried overriding them with the Subscription object but it...
this Issue is to request an API call be created so that we can get a bundle's contents from a bundle image, something similar to this: ``` func GetBundleFromImage(imageName string)...
See that we have https://pkg.go.dev/github.com/operator-framework/[email protected]/pkg/validation/, however, the validators available are their current options has not been properly documented. That would be great to have a description of what is checked...
Would be nice to be able to return INFO level Messages for the validators. See that currently, we have not this option: https://github.com/operator-framework/api/blob/master/pkg/validation/errors/error.go
I was looking for a description of the "Provider" field and went looking at the API sources but that field and others are undocumented: https://github.com/operator-framework/api/blob/a80624eab36b2005fa5d84c9b539bb4817e44daa/pkg/operators/v1alpha1/clusterserviceversion_types.go#L270-L288 @varshaprasad96 Has pointed me to...
Currently, the `make manifests` to regen go-bindata needs to be run manually and sometimes it is forgotten. This step should be either run automatically or verify and warn people in...