1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 06:46:26 +01:00
Files
openshift-docs/modules/olm-operatorgroups-provided-apis-annotations.adoc
2020-09-28 15:13:08 -06:00

39 lines
1.0 KiB
Plaintext

// Module included in the following assemblies:
//
// * operators/understanding/olm/olm-understanding-operatorgroups.adoc
[id="olm-operatorgroups-provided-apis-annotation_{context}"]
= Provided APIs annotation
Information about what `GroupVersionKinds` (GVKs) are provided by an
OperatorGroup are shown in an `olm.providedAPIs` annotation. The annotation's
value is a string consisting of `<kind>.<version>.<group>` delimited with
commas. The GVKs of CRDs and APIServices provided by all active member CSVs of
an OperatorGroup are included.
Review the following example of an OperatorGroup with a single active member CSV
that provides the PackageManifest resource:
[source,yaml]
----
apiVersion: operators.coreos.com/v1
kind: OperatorGroup
metadata:
annotations:
olm.providedAPIs: PackageManifest.v1alpha1.packages.apps.redhat.com
name: olm-operators
namespace: local
...
spec:
selector: {}
serviceAccount:
metadata:
creationTimestamp: null
targetNamespaces:
- local
status:
lastUpdated: 2019-02-19T16:18:28Z
namespaces:
- local
----