You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/operate/kubernetes/re-clusters/multi-namespace.md
+9-83Lines changed: 9 additions & 83 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,68 +26,20 @@ Before configuring a multi-namespace deployment, you must have a running [Redis
26
26
27
27
## Create role and role binding for managed namespaces
28
28
29
-
Both the operator and the RedisEnterpriseCluster (REC) resource need access to each namespace the REC will manage. For each **managed** namespace, create a `role.yaml` and `role_binding.yaml` file within the managed namespace, as shown in the examples below.
29
+
Both the operator and the RedisEnterpriseCluster (REC) resource need access to each namespace the REC will manage. For each **managed** namespace, create a `consumer_role.yaml` and `consumer_role_binding.yaml` file within the managed namespace, as shown in the examples below.
30
30
31
31
{{<note>}}These will need to be reapplied each time you [upgrade]({{< relref "/operate/kubernetes/upgrade/upgrade-redis-cluster" >}}). {{</note>}}
32
32
33
33
Replace `<rec-namespace>` with the namespace the REC resides in.
34
34
Replace `<service-account-name>` with your own value (defaults to the REC name).
**Alternative approach**: Instead of creating individual `Role` objects for each namespace, you can create a single `ClusterRole` and bind it with multiple `RoleBinding` objects. This reduces the number of objects and simplifies role management.
@@ -101,8 +53,8 @@ To use this approach:
101
53
Apply the files, replacing `<managed-namespace>` with your own values:
0 commit comments