i197: control arm isolated in subdir (Namespace deny blocks whole-app sync)
This commit is contained in:
@@ -0,0 +1,38 @@
|
|||||||
|
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
|
||||||
Reference in New Issue
Block a user