Skip to content

Commit 185512f

Browse files
authored
Merge pull request #32000 from Kartik494/podsecuritypolicies
Added Pod security deprecation note
2 parents 39fd63b + 8540194 commit 185512f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

content/en/docs/concepts/storage/ephemeral-volumes.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,17 @@ driver. These attributes are specific to each driver and not
125125
standardized. See the documentation of each CSI driver for further
126126
instructions.
127127

128+
### CSI driver restrictions
129+
130+
{{< feature-state for_k8s_version="v1.21" state="deprecated" >}}
131+
128132
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
129133
[`allowedCSIDrivers` field](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/#podsecuritypolicyspec-v1beta1-policy).
130134

135+
{{< note >}}
136+
PodSecurityPolicy is deprecated and will be removed in the Kubernetes v1.25 release.
137+
{{< /note >}}
138+
131139
### Generic ephemeral volumes
132140

133141
{{< feature-state for_k8s_version="v1.23" state="stable" >}}

0 commit comments

Comments
 (0)