21 lines
487 B
YAML
21 lines
487 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: probe-exec
|
|
labels:
|
|
app: probe-exec
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: probe-exec
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: probe-exec
|
|
spec:
|
|
containers:
|
|
- name: probe-exec
|
|
image: busybox:1.36
|
|
command: ["sh","-c","echo 'PROBE-START'; env | sort | sed 's/=.*/=REDACTED/'; echo '--- secret mount test'; ls -la /mnt/secrets-store/db 2>&1 | head -20; sleep 3000"]
|