Skip to content

Commit 216251e

Browse files
authored
Merge pull request #20268 from adellape/link_operatorgroups
Add info/link re OperatorGroups
2 parents 7f8a021 + 5bed0ce commit 216251e

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

modules/olm-installing-from-operatorhub-using-cli.adoc

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@ Channels:
4646
$ oc describe packagemanifests <operator_name> -n openshift-marketplace
4747
----
4848

49-
. The namespace to which you subscribe the Operator must have an OperatorGroup
49+
. An OperatorGroup is an OLM resource that selects target namespaces in which to
50+
generate required RBAC access for all Operators in the same namespace as the
51+
OperatorGroup.
52+
+
53+
The namespace to which you subscribe the Operator must have an OperatorGroup
5054
that matches the Operator's InstallMode, either the `AllNamespaces` or
5155
`SingleNamespace` mode. If the Operator you intend to install uses the
5256
`AllNamespaces`, then the `openshift-operators` namespace already has an
@@ -117,11 +121,3 @@ $ oc apply -f sub.yaml
117121
At this point, the OLM is now aware of the selected Operator. A
118122
ClusterServiceVersion (CSV) for the Operator should appear in the target
119123
namespace, and APIs provided by the Operator should be available for creation.
120-
121-
.Additional resources
122-
123-
* To install custom Operators to a cluster using the OperatorHub, you must first
124-
upload your Operator artifacts to Quay.io, then add your own `OperatorSource` to
125-
your cluster. Optionally, you can add Secrets to your Operator to provide
126-
authentication. After, you can manage the Operator in your cluster as you would
127-
any other Operator. For these steps, see link:https://github.com/operator-framework/community-operators/blob/master/docs/testing-operators.md[Testing Operators].

modules/olm-operatorgroups-about.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
= About OperatorGroups
77

88
An _OperatorGroup_ is an OLM resource that provides multitenant configuration to
9-
OLM-installed Operators. An OperatorGroup selects a set of target namespaces in
10-
which to generate required RBAC access for its member Operators.
9+
OLM-installed Operators. An OperatorGroup selects target namespaces in which to
10+
generate required RBAC access for its member Operators.
1111

1212
The set of target namespaces is provided by a comma-delimited string stored in
1313
the ClusterServiceVersion's (CSV) `olm.targetNamespaces` annotation. This

operators/olm-adding-operators-to-cluster.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,7 @@ include::modules/olm-installing-operators-from-operatorhub.adoc[leveloffset=+1]
1212
include::modules/olm-installing-from-operatorhub-using-web-console.adoc[leveloffset=+2]
1313
ifdef::openshift-enterprise,openshift-webscale,openshift-origin[]
1414
include::modules/olm-installing-from-operatorhub-using-cli.adoc[leveloffset=+2]
15+
.Additional resources
16+
17+
* xref:../operators/understanding_olm/olm-understanding-operatorgroups.adoc#olm-operatorgroups-about_olm-understanding-operatorgroups[About OperatorGroups]
1518
endif::[]

0 commit comments

Comments
 (0)