From 80f3da055bb686de1672ca4a4307fa96a3029213 Mon Sep 17 00:00:00 2001 From: Mark Bishop Date: Thu, 7 Jun 2018 12:17:45 -0700 Subject: [PATCH] replaced content with link --- .../pod-security-policies/_index.md | 52 +------------------ 1 file changed, 1 insertion(+), 51 deletions(-) diff --git a/content/rancher/v2.x/en/tasks/global-configuration/pod-security-policies/_index.md b/content/rancher/v2.x/en/tasks/global-configuration/pod-security-policies/_index.md index 1862fa44bc5..e1bbbc03b48 100644 --- a/content/rancher/v2.x/en/tasks/global-configuration/pod-security-policies/_index.md +++ b/content/rancher/v2.x/en/tasks/global-configuration/pod-security-policies/_index.md @@ -33,58 +33,8 @@ Using {{< product >}}, you can create a Pod Security Policy using our GUI rather ### What's Next? -Now that you've created a Pod Security Policy, you can apply it to: +Now that you've created a Pod Security Policy, you can apply it to clusters and projects. For more information, see [Adding a Pod Security Policy to a Cluster]({{< baseurl >}}/rancher/v2.x/en/tasks/clusters/adding-a-pod-security-policy). -- An existing cluster. - - - Pod Security Policy can be added to an existing cluster using edit cluster option - - 1. Navigate to the **Cluster** option and click the **Ellipsis icon** (...) - 2. Click **Edit** to launch **Edit Cluster** page - 3. Expand **Cluster Options**. - 4. Choose **Enabled option** for **Pod Security Policy Support** - 5. Select one of the pod security policies from the drop down list for **Default Pod Security Policy** - 6. Click on **Save** - - - Pod Security Policy can be disabled for an existing cluster - - 1. Navigate to the **Cluster** option and click the **Ellipsis icon** (...) - 2. Click **Edit** to launch **Edit Cluster** page - 3. Expand **Cluster Options**. - 4. Choose **Disabled option** for **Pod Security Policy Support** - 5. This will result in **Default Pod Security Policy** to be set to `None` - 6. Click on **Save** - -- A brand new cluster. For more details, see [Creating a Cluster]({{< baseurl >}}/rancher/v2.x/en/tasks/clusters/creating-a-cluster/) - - Pod Security Policy can be added when a new cluster is created. - - 1. Use **Add Cluster** option in **Global** view to add a new cluster. - 2. See [Creating a Cluster]({{< baseurl >}}/rancher/v2.x/en/tasks/clusters/creating-a-cluster/) - 3. Expand **Cluster Options**. - 4. Choose **Enabled option** for **Pod Security Policy Support** - 5. Select one of the podsecurity policies from the drop down list for **Default Pod Security Policy** - -- A new Project in a cluster which has Pod Security Policy enabled. - - Pod Security Policy can be added to a project when we want the project to have a Pod Security Policy that is different from the Pod Security Policy set at cluster level. - - 1. Navigate to the cluster where you want to create a project with Pod Security Policy. - 2. Click on **Projects/Namespaces** and click on **Add Project** to launch **Add Project** page - 3. Provide **Project Name** - 4. Select the desired Pod Security Policy from the drop down for **Pod Security Policy** - 5. Click on **Create** - -- Existing Project in a cluster which has Pod Security Policy enabled. - - Pod Security Policy can be set for a project or altered at anytime after the project has been created. - - 1. Navigate to the cluster where you have the project you want to add Pod Security Policy to be added. - 2. Locate the project and navigate to the **Project** option and click the **Ellipsis icon** (...) - 3. Click on **Edit** to launch the **Edit Project** option - 4. Select the desired Pod Security Policy from the drop down for **Pod Security Policy** - 5. Click on **Save** - [1]: https://kubernetes.io/docs/concepts/policy/pod-security-policy/#volumes-and-file-systems