Skip to content
This repository has been archived by the owner on Feb 10, 2022. It is now read-only.

Commit

Permalink
additional PSP warning in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
seanos11 authored Nov 28, 2018
1 parent b0ff59c commit 86151d5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/pod-security-policy-walkthrough.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ When deploying your cluster using BOSH, ensure the following operations file is

This will add the `PodSecurityPolicy` entry to the `enable-admission-plugins` property in the manifest for the `kube-apiserver`.

:exclamation: **Warning:** You must ensure appropriate policies are applied and bound to exsting workloads before enabling the PodSecurityPolicy in admission controllers. Any existing workloads will **stop working** if they are not bound to a policy, or the policy does not have the right permissions. :exclamation:
:exclamation: **Warning:** You must ensure appropriate policies are applied and bound to exsting workloads before enabling the PodSecurityPolicy in admission controllers. Any existing workloads will likely **stop working** if they are not bound to a policy, or the policy does not have the right permissions. :exclamation:

_Note: utilising PodSecurityPolicy should be enabled in place of SecurityContextDeny admission controller, as SecurityContextDeny will override the benefits of PodSecurityPolicies, as it is cluster wide._

## Apply a policy and binding

Expand Down Expand Up @@ -71,7 +73,7 @@ spec:
readOnlyRootFilesystem: false
```
`$ kubectl apply -f restricted-psp.yaml`

### 2. Apply the role binding

```
Expand Down

0 comments on commit 86151d5

Please sign in to comment.