From 64ebfe7024f556368d9a1342e6f1ca7746e130bc Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Fri, 15 Sep 2023 10:12:36 -0700
Subject: [PATCH] Update add-roles-and-role-bindings.md (#1555) (#1557)
Removes a pre-requisite as defined in PEM-1751.
(cherry picked from commit 05b2107d10355d0d376a0fe5c40b47378dd3c7b9)
Co-authored-by: Rita Watson <117382432+ritawatson@users.noreply.github.com>
---
.../add-roles-and-role-bindings.md | 22 -------------------
1 file changed, 22 deletions(-)
diff --git a/docs/docs-content/vm-management/vm-packs-profiles/add-roles-and-role-bindings.md b/docs/docs-content/vm-management/vm-packs-profiles/add-roles-and-role-bindings.md
index 3fa00b1308..a6a056bd3a 100644
--- a/docs/docs-content/vm-management/vm-packs-profiles/add-roles-and-role-bindings.md
+++ b/docs/docs-content/vm-management/vm-packs-profiles/add-roles-and-role-bindings.md
@@ -16,14 +16,8 @@ You must configure permissions for actions that users can perform on Virtual Mac
- A cluster profile with the **Virtual Machine Orchestrator** add-on pack configured. Check out the [Create a VMO Profile](/vm-management/vm-packs-profiles/create-vmo-profile) guide to learn more.
-
-- Two defined cluster role bindings for every user: ``spectro-list-namespaces``and ``spectro-list-vmtemplates``.
-
-
- Additional cluster roles, based on the user's persona, must be associated with the user by specifying a cluster role binding or a namespace-restricted role binding:
-
-
- ``spectro-vm-admin``
- ``spectro-vm-power-user``
@@ -34,67 +28,51 @@ You must configure permissions for actions that users can perform on Virtual Mac
Alternatively, you can use standard Kubernetes roles ``cluster-admin``, ``admin``, ``edit``, and ``view`` instead of defining bindings based on ``spectro-vm-*`` roles.
-
- Assigned permissions to access Palette clusters.
-
## Add Roles and Role Bindings
1. Log in to [Palette](https://console.spectrocloud.com).
-
2. From the left **Main Menu**, click **Clusters** and select your cluster.
-
3. Click on **Settings** and choose **RBAC** to add role bindings. Refer to [Create a Role Binding](/clusters/cluster-management/cluster-rbac#createrolebindings) for guidance. Refer to [VM User Roles and Permissions](/vm-management/vm-roles-permissions) for a list of Cluster Roles and equivalent Palette Roles.
-
4. Click **Confirm** to update the cluster.
The cluster status displays as **Upgrading** on the **Cluster Overview** page. Upgrading can take several minutes depending on your environment. You can track events from the **Events** tab.
-
## Validate
You can verify role creation and role binding is successful by following the steps below.
-
-
1. Log in to [Palette](https://console.spectrocloud.com).
-
2. Navigate to the left **Main Menu** and select **Clusters**.
-
3. Select the cluster you created the role binding in to view its details page.
-
4. Download the **kubeconfig** file for the cluster or use the web shell to access the host cluster.
-
5. Use the following commands to review details about the role and to ensure the role binding was successful.
-
#### Cluster Role:
```shell
kubectl get clusterrole --output yaml
```
-
#### Role
```shell
kubectl get role --namespace --show-kind --export
```
-
## Next Steps
Now you are ready to deploy a VM. Review the [Deploy VM From a Template](/vm-management/create-manage-vm/standard-vm-operations/deploy-vm-from-template) guide to get started with the deployment process.
-
## Resources
- [VM User Roles and Permissions](/vm-management/vm-roles-permissions)