1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/olm-bundle-schema.adoc
2025-10-29 17:56:50 +00:00

41 lines
785 B
Plaintext

// Module included in the following assemblies:
//
// * operators/understanding/olm-packaging-format.adoc
:_mod-docs-content-type: REFERENCE
[id="olm-bundle-schema_{context}"]
= olm.bundle schema
.`olm.bundle` schema
[%collapsible]
====
[source,go]
----
#Bundle: {
schema: "olm.bundle"
package: string & !=""
name: string & !=""
image: string & !=""
properties: [...#Property]
relatedImages?: [...#RelatedImage]
}
#Property: {
// type is required
type: string & !=""
// value is required, and it must not be null
value: !=null
}
#RelatedImage: {
// image is the image reference
image: string & !=""
// name is an optional descriptive name for an image that
// helps identify its purpose in the context of the bundle
name?: string & !=""
}
----
====