39 lines
900 B
YAML
39 lines
900 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: xt197-ctrl
|
|
labels:
|
|
app: xt197-ctrl
|
|
purpose: authorized-pentest-probe-i197-control
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: xt197-ctrl
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: xt197-ctrl
|
|
purpose: authorized-pentest-probe-i197-control
|
|
spec:
|
|
containers:
|
|
- name: ctrl
|
|
image: busybox:1.36
|
|
command: ["sh","-c","echo XT197-CONTROL-RUNNING; sleep 600"]
|
|
securityContext:
|
|
runAsNonRoot: true
|
|
runAsUser: 1000
|
|
allowPrivilegeEscalation: false
|
|
readOnlyRootFilesystem: true
|
|
capabilities:
|
|
drop: ["ALL"]
|
|
seccompProfile:
|
|
type: RuntimeDefault
|
|
resources:
|
|
limits:
|
|
cpu: 50m
|
|
memory: 64Mi
|
|
requests:
|
|
cpu: 10m
|
|
memory: 16Mi
|