Skip to content

Commit cb93607

Browse files
Merge pull request #81832 from michaelryanpeter/OSDOCS-11097-olmv1-supported-extensions
OSDOCS#11097: [OLM v1] Supported extensions
2 parents 6ef178a + addca97 commit cb93607

File tree

5 files changed

+48
-14
lines changed

5 files changed

+48
-14
lines changed

extensions/ce/managing-ce.adoc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,19 @@ After a catalog has been added to your cluster, you have access to the versions,
1313

1414
You can manage extensions declaratively from the CLI using custom resources (CRs).
1515

16+
include::modules/olmv1-supported-extensions.adoc[leveloffset=+1]
17+
18+
[role="_additional-resources"]
19+
.Additional resources
20+
* xref:../../operators/understanding/olm/olm-operatorconditions.adoc#olm-operatorconditions[Operator conditions]
21+
1622
include::modules/olmv1-finding-operators-to-install.adoc[leveloffset=+1]
1723
include::modules/olmv1-catalog-queries.adoc[leveloffset=+2]
1824
include::modules/olmv1-installing-an-operator.adoc[leveloffset=+1]
1925

2026
[role="_additional-resources"]
2127
.Additional resources
28+
* xref:../../extensions/ce/managing-ce.adoc#olmv1-supported-extensions_managing-ce[Supported extensions]
2229
* xref:../../extensions/ce/upgrade-edges.adoc#olmv1-about-target-versions_upgrade-edges[Example custom resources (CRs) that specify a target version]
2330
* xref:../../extensions/ce/upgrade-edges.adoc#olmv1-version-range-support_upgrade-edges[Support for version ranges]
2431
@@ -29,4 +36,3 @@ include::modules/olmv1-updating-an-operator.adoc[leveloffset=+1]
2936
* xref:../../extensions/ce/upgrade-edges.adoc#upgrade-edges[Upgrade edges]
3037
3138
include::modules/olmv1-deleting-an-operator.adoc[leveloffset=+1]
32-

modules/olmv1-installing-an-operator.adoc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
[id="olmv1-installing-an-operator_{context}"]
88
= Installing a cluster extension from a catalog
99

10-
{olmv1-first} supports installing cluster extensions, including {olmv0} Operators via the `registry+v1` bundle format, that are scoped to the cluster. You can install an extension from a catalog by creating a custom resource (CR) and applying it to the cluster.
11-
12-
include::snippets/olmv1-tp-extension-support.adoc[]
10+
You can install an extension from a catalog by creating a custom resource (CR) and applying it to the cluster. {olmv1-first} supports installing cluster extensions, including {olmv0} Operators via the `registry+v1` bundle format, that are scoped to the cluster. For more information, see _Supported extensions_.
1311

1412
.Prerequisites
1513

@@ -240,7 +238,7 @@ The value of `False` in the `status` field indicates that the `reason: Deprecate
240238
`installedBundle.name`:: Displays the name of the bundle installed.
241239
`installedBundle.version`:: Displays the version of the bundle installed.
242240
`resolvedBundle.name`:: Displays the name of the resolved bundle.
243-
`resolvedBundle.version`:: Displays the verson of the resolved bundle.
241+
`resolvedBundle.version`:: Displays the version of the resolved bundle.
244242
====
245243

246244
. Get information about your bundle deployment by running the following command:
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * extensions/ce/managing-ce.adoc
4+
5+
:_mod-docs-content-type: REFERENCE
6+
7+
[id="olmv1-supported-extensions_{context}"]
8+
= Supported extensions
9+
10+
include::snippets/olmv1-tp-extension-support.adoc[]
11+
12+
[IMPORTANT]
13+
====
14+
include::snippets/olmv1-operator-conditions-support.adoc[]
15+
====
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// Text snippet included in the following modules:
2+
//
3+
// * modules/olmv1-supported-extensions.adoc
4+
// * release_notes/ocp-4-17-release-notes.adoc (enterprise-4.17 branch only)
5+
// * release_notes/ocp-4-16-release-notes.adoc (enterprise-4.16 branch only)
6+
// * release_notes/ocp-4-15-release-notes.adoc (enterprise-4.15 branch only)
7+
8+
:_mod-docs-content-type: SNIPPET
9+
10+
{olmv1-first} does not support the `OperatorConditions` API introduced in {olmv0}.
11+
12+
If an extension relies on only the `OperatorConditions` API to manage updates, the extension might not install correctly. Most extensions that rely on this API fail at start time, but some might fail during reconciliation.
13+
14+
As a workaround, you can pin your extension to a specific version. When you want to update your extension, consult the extension's documentation to find out when it is safe to pin the extension to a new version.
Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
// Text snippet included in the following modules:
22
//
3-
// * modules/olmv1-installing-an-operator.adoc
3+
// * modules/olmv1-supported-extensions.adoc
44
// * release_notes/ocp-4-16-release-notes.adoc (enteprise-4.16 branch only)
55
// * release_notes/ocp-4-15-release-notes.adoc (enteprise-4.15 branch only)
66

77
:_mod-docs-content-type: SNIPPET
88

9-
[IMPORTANT]
10-
====
11-
{olmv1} does not support dependency resolution. If an extension declares dependencies for other APIs or packages, the dependencies must be present on the cluster before you attempt to install the extension.
9+
Currently, {olmv1-first} supports installing cluster extensions that meet all of the following criteria:
1210

13-
Currently, {olmv1} supports the installation of extensions that meet the following criteria:
14-
15-
* The extension must use the `AllNamespaces` install mode.
11+
* The extension must use the `registry+v1` bundle format introduced in {olmv0}.
12+
* The extension must support installation via the `AllNamespaces` install mode.
1613
* The extension must not use webhooks.
14+
* The extension must not declare dependencies by using any of the following file-based catalog properties:
15+
16+
** `olm.gvk.required`
17+
** `olm.package.required`
18+
** `olm.constraint`
1719

18-
Cluster extensions that use webhooks or that target a single or specified set of namespaces cannot be installed.
19-
====
20+
{olmv1} checks that the extension you want to install meets these constraints. If the extension that you want to install does not meet these constraints, an error message is printed in the cluster extension's conditions.

0 commit comments

Comments
 (0)