Skip to content

Commit

Permalink
docs: clarify that PodSecurityPolicy is now deprecated (cloudnative…
Browse files Browse the repository at this point in the history
…-pg#3992)

Addressing `PodSecurityPolicy` removal in Kubernetes v1.25. Explaining
our reasons for keeping this section for now, even though it's slated
for removal in the near future.

Closes cloudnative-pg#3991

Signed-off-by: Jonathan Gonzalez V <jonathan.gonzalez@enterprisedb.com>
Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
Co-authored-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
  • Loading branch information
sxd and gbartolini authored Mar 8, 2024
1 parent 40073c6 commit 3f731d5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .wordlist-en-custom.txt
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ PodAntiAffinityType
PodDisruptionBudget
PodMeta
PodMonitor
PodSecurityPolicy
PodSpec
PodStatus
PodTemplateSpec
Expand Down
7 changes: 7 additions & 0 deletions docs/src/security.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,13 @@ CloudNativePG.

### Pod Security Policies

!!! Important
Starting from Kubernetes v1.21, the use of `PodSecurityPolicy` has been
deprecated, and as of Kubernetes v1.25, it has been completely removed. Despite
this deprecation, we acknowledge that the operator is currently undergoing
testing in older and unsupported versions of Kubernetes. Therefore, this
section is retained for those specific scenarios.

A [Pod Security Policy](https://kubernetes.io/docs/concepts/policy/pod-security-policy/)
is the Kubernetes way to define security rules and specifications that a pod needs to meet
to run in a cluster.
Expand Down

0 comments on commit 3f731d5

Please sign in to comment.