Annotation Interface CSVMetadata
Provides more information to generate more detailed OLM bundle manifests, in particular in the ClusterServiceVersion
resource. This can be used to provide information that cannot be inferred automatically or override what is generated by
default. Many of these fields map to CSV fields. See the OLM documentation on
operator
manifests for more details.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfacestatic @interfacestatic @interfacestatic @interfacestatic @interfacestatic @interfacestatic @interfaceWhether the associated resource is explicitly marked as optional, i.e. the operator can work without it being present on the cluster.static @interfaceAdditional RBAC rules that need to be provided because they cannot be inferred automatically.static @interfacestatic @interface -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionExtra annotations that should be added to the CSV metadata.The name which should be used for the generated bundle.The name used in the CSV metadata stanza.String[]Extra labels that should be added to the CSV metadata.Deprecated.
-
Element Details
-
name
Deprecated.UsebundleName()andcsvName()instead as previously this method was being used for both values resulting in confusion or even problems setting the correct CSV name as recommended by OLM. See this issue for a more detailed discussion.The name which should be used for the generated bundle. If not provided, the name is derived from the project's (maven or gradle) name. This name can be used to assign reconcilers to the same bundle by creating aSharedCSVMetadataimplementation bearing aCSVMetadataannotation specifying the CSV metadata to be shared among reconcilers assigned to that named bundle.- Default:
- ""
-
bundleName
String bundleNameThe name which should be used for the generated bundle. If not provided, the name is derived from the project's (maven or gradle) name. This name can be used to assign reconcilers to the same bundle by creating aSharedCSVMetadataimplementation bearing aCSVMetadataannotation specifying the CSV metadata to be shared among reconcilers assigned to that named bundle.- Default:
- ""
-
csvName
String csvNameThe name used in the CSV metadata stanza. If not provided, this will default to<bundle name>.v<version>as recommended by OLM.- Default:
- ""
-
annotations
CSVMetadata.Annotations annotationsExtra annotations that should be added to the CSV metadata.- Default:
- @io.quarkiverse.operatorsdk.annotations.CSVMetadata.Annotations
-
labels
CSVMetadata.Label[] labelsExtra labels that should be added to the CSV metadata.- Default:
- {}
-
description
String description- Default:
- ""
-
displayName
String displayName- Default:
- ""
-
icon
CSVMetadata.Icon[] icon- Default:
- {}
-
keywords
String[] keywords- Default:
- {""}
-
maturity
String maturity- Default:
- ""
-
version
String version- Default:
- ""
-
replaces
String replaces- Default:
- ""
-
maintainers
CSVMetadata.Maintainer[] maintainers- Default:
- {}
-
provider
CSVMetadata.Provider provider- Default:
- @io.quarkiverse.operatorsdk.annotations.CSVMetadata.Provider
-
installModes
CSVMetadata.InstallMode[] installModes- Default:
- {}
-
permissionRules
CSVMetadata.PermissionRule[] permissionRules- Default:
- {}
-
requiredCRDs
CSVMetadata.RequiredCRD[] requiredCRDs- Default:
- {}
-
minKubeVersion
String minKubeVersion- Default:
- ""
-
links
CSVMetadata.Link[] links- Default:
- {}
-
bundleName()andcsvName()instead as previously this method was being used for both values resulting in confusion or even problems setting the correct CSV name as recommended by OLM.