33 lines
721 B
YAML
33 lines
721 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: probe-inert
|
|
labels:
|
|
app: probe-inert
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: probe-inert
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: probe-inert
|
|
spec:
|
|
securityContext:
|
|
runAsNonRoot: true
|
|
runAsUser: 1000
|
|
runAsGroup: 1000
|
|
seccompProfile:
|
|
type: RuntimeDefault
|
|
containers:
|
|
- name: sleeper
|
|
image: busybox:1.36
|
|
securityContext:
|
|
runAsNonRoot: true
|
|
allowPrivilegeEscalation: false
|
|
readOnlyRootFilesystem: true
|
|
capabilities:
|
|
drop: ["ALL"]
|
|
command: ["sh", "-c", "echo I423-INERT-SLEEPER; sleep 3000"]
|