kubernetes-security/resources/alpine-privileged.yml

16 lines
298 B
YAML
Raw Normal View History

2018-04-21 04:34:11 +00:00
apiVersion: v1
kind: Pod
metadata:
2018-04-21 05:45:29 +00:00
name: attacker-pod-privileged
2018-04-21 04:34:11 +00:00
namespace: attacker
spec:
containers:
2018-04-21 05:45:29 +00:00
- image: redis:alpine
2018-04-21 04:34:11 +00:00
command:
- sleep
- "3600"
imagePullPolicy: IfNotPresent
2018-04-21 05:45:29 +00:00
name: attacker-pod
securityContext:
runAsUser: 1000
2018-04-21 04:34:11 +00:00
restartPolicy: Always