Skip to content

Commit

Permalink
Rewrite PodSecurityPolicy guide
Browse files Browse the repository at this point in the history
  • Loading branch information
tallclair committed Dec 1, 2017
1 parent a99a42f commit 5d39cfe
Show file tree
Hide file tree
Showing 5 changed files with 538 additions and 206 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
apiVersion: extensions/v1beta1
kind: PodSecurityPolicy
metadata:
name: permissive
name: example
spec:
privileged: false # Don't allow privileged pods!
# The rest fills in some required fields.
seLinux:
rule: RunAsAny
supplementalGroups:
Expand All @@ -11,10 +13,5 @@ spec:
rule: RunAsAny
fsGroup:
rule: RunAsAny
hostPorts:
- min: 8000
max: 8080
volumes:
- '*'
allowedCapabilities:
- '*'
Loading

0 comments on commit 5d39cfe

Please sign in to comment.