Skip to content

Commit

Permalink
doc: Showcasing a PSS restricred compliant pod
Browse files Browse the repository at this point in the history
Signed-off-by: Fredrik Klingenberg <[email protected]>
  • Loading branch information
fredrkl committed May 8, 2023
1 parent 4f1b37a commit e335e3f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions demo-pods/valid-tech-lead-label-restricted.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apiVersion: v1
kind: Pod
metadata:
namespace: demo-pods
labels:
run: failing-demo
tech-lead: "John"
name: valid-tech-lead-demo
spec:
securityContext:
runAsUser: 3000
runAsGroup: 3000
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
containers:
- image: busybox
name: failing-demo
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
command:
- sleep
- "3600"

0 comments on commit e335e3f

Please sign in to comment.