Skip to content

operators.operatorframework.io.bundle.channel.default.v1 annotation ought to be OPTIONAL  #5569

@camilamacedo86

Description

@camilamacedo86

Bug Report

time="2022-02-11T05:06:51Z" level=error msg="error validating format in ../preflight-3031960168/fs: Bundle validation errors: Expecting annotation \"operators.operatorframework.io.bundle.channel.default.v1\" to have non-empty value"

What did you do?

Tried to build/validate a bundle without the annotation: operators.operatorframework.io.bundle.channel.default.v1

See: https://github.com/redhat-openshift-ecosystem/certified-operators/pull/486/files#diff-6dd35511658d7b1c202d1add2f8[…]63af05aba09357592c62f764e7eecdR7

What did you expect to see?

The bundle check does not fail since it is defined as OPTIONAL at https://github.com/operator-framework/operator-registry/blob/master/docs/design/operator-bundle.md:

The label operators.operatorframework.io.bundle.channel.default.v1 reflects the default channel an operator should be subscribed to when installed from a registry. This label is optional if the default channel has been set by previous bundles and the default channel is unchanged for this bundle.

What did you see instead? Under which circumstances?

time="2022-02-11T05:06:51Z" level=error msg="error validating format in ../preflight-3031960168/fs: Bundle validation errors: Expecting annotation \"operators.operatorframework.io.bundle.channel.default.v1\" to have non-empty value"

Environment

Operator type:

/language go
/language ansible
/language helm

Metadata

Metadata

Assignees

Labels

language/ansibleIssue is related to an Ansible operator projectlanguage/goIssue is related to a Go operator projectlanguage/helmIssue is related to a Helm operator projectlifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.triage/needs-informationIndicates an issue needs more information in order to work on it.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions