From 8540194ccd916c0df56145eea6aff248ed488c24 Mon Sep 17 00:00:00 2001 From: kartik494 Date: Wed, 2 Mar 2022 12:15:54 +0530 Subject: [PATCH] Added Pod security deprecation note --- content/en/docs/concepts/storage/ephemeral-volumes.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/content/en/docs/concepts/storage/ephemeral-volumes.md b/content/en/docs/concepts/storage/ephemeral-volumes.md index 0ee07c7c99..863b89533a 100644 --- a/content/en/docs/concepts/storage/ephemeral-volumes.md +++ b/content/en/docs/concepts/storage/ephemeral-volumes.md @@ -125,9 +125,17 @@ driver. These attributes are specific to each driver and not standardized. See the documentation of each CSI driver for further instructions. +### CSI driver restrictions + +{{< feature-state for_k8s_version="v1.21" state="deprecated" >}} + As a cluster administrator, you can use a [PodSecurityPolicy](/docs/concepts/policy/pod-security-policy/) to control which CSI drivers can be used in a Pod, specified with the [`allowedCSIDrivers` field](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/#podsecuritypolicyspec-v1beta1-policy). +{{< note >}} +PodSecurityPolicy is deprecated and will be removed in the Kubernetes v1.25 release. +{{< /note >}} + ### Generic ephemeral volumes {{< feature-state for_k8s_version="v1.23" state="stable" >}}