mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
OSSM-4341: Add conceptual images to adding projects
This commit is contained in:
committed by
openshift-cherrypick-robot
parent
26ba30b73f
commit
016a023c7d
BIN
images/ossm-adding-project-using-label-selector.png
Normal file
BIN
images/ossm-adding-project-using-label-selector.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 75 KiB |
BIN
images/ossm-adding-project-using-smm.png
Normal file
BIN
images/ossm-adding-project-using-smm.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 83 KiB |
BIN
images/ossm-adding-project-using-smmr.png
Normal file
BIN
images/ossm-adding-project-using-smmr.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 68 KiB |
@@ -6,7 +6,11 @@
|
||||
[id="ossm-about-adding-projects-using-label-selectors_{context}"]
|
||||
= About adding projects using label selectors
|
||||
|
||||
For cluster-wide deployments, you can use label selectors to add projects to the mesh. Label selectors specified in the `ServiceMeshMemberRoll` resource enable the {SMProductShortName} operator to add or remove namespaces to or from the mesh based on namespace labels. Unlike other standard {product-title} resources that you can use to specify a single label selector, you can use the `ServiceMeshMemberRoll` resource to specify multiple label selectors. If the labels for a namespace match any of the selectors specified in the `ServiceMeshMemberRoll` resource, then the namespace is included in the mesh.
|
||||
For cluster-wide deployments, you can use label selectors to add projects to the mesh. Label selectors specified in the `ServiceMeshMemberRoll` resource enable the {SMProductShortName} Operator to add or remove namespaces to or from the mesh based on namespace labels. Unlike other standard {product-title} resources that you can use to specify a single label selector, you can use the `ServiceMeshMemberRoll` resource to specify multiple label selectors.
|
||||
|
||||
image::ossm-adding-project-using-label-selector.png[Adding project using label selector image]
|
||||
|
||||
If the labels for a namespace match any of the selectors specified in the `ServiceMeshMemberRoll` resource, then the namespace is included in the mesh.
|
||||
|
||||
[NOTE]
|
||||
====
|
||||
|
||||
@@ -7,4 +7,6 @@
|
||||
|
||||
A `ServiceMeshMember` resource provides a way to add a project to a service mesh without modifying the `ServiceMeshMemberRoll` resource. To add a project, create a `ServiceMeshMember` resource in the project that you want to add to the service mesh. When the {SMProductShortName} Operator processes the `ServiceMeshMember` object, the project appears in the `status.members` list of the `ServiceMeshMemberRoll` resource. Then, the services that reside in the project are made available to the mesh.
|
||||
|
||||
image::ossm-adding-project-using-smm.png[Adding project using `ServiceMeshMember` resource image]
|
||||
|
||||
The mesh administrator must grant each mesh user permission to reference the `ServiceMeshControlPlane` resource in the `ServiceMeshMember` resource. With this permission in place, a mesh user can add a project to a mesh even when that user does not have direct access rights for the service mesh project or the `ServiceMeshMemberRoll` resource. For more information, see Creating the {SMProductName} members.
|
||||
@@ -7,6 +7,8 @@
|
||||
|
||||
Using the `ServiceMeshMemberRoll` resource is the simplest way to add a project to a service mesh. To add a project, specify the project name in the `spec.members` field of the `ServiceMeshMemberRoll` resource. The `ServiceMeshMemberRoll` resource specifies which projects are controlled by the `ServiceMeshControlPlane` resource.
|
||||
|
||||
image::ossm-adding-project-using-smmr.png[Adding project using `ServiceMeshMemberRoll` resource image]
|
||||
|
||||
[NOTE]
|
||||
====
|
||||
Adding projects using this method requires the user to have the `update servicemeshmemberrolls` and the `update pods` privileges in the project that is being added.
|
||||
|
||||
Reference in New Issue
Block a user