A pod the restricted level admits

Complete the manifest

Difficulty 2 of 3Not solved yet

payments enforces restricted. Fill the blanks so the ledger pods are admitted, the image's non-root user is verified at start, and the application can still write scratch files.

Your first answer is the one that counts. After a miss you can try again, or ask for the answer.

apiVersion: apps/v1
kind: Deployment
metadata:
name: ledger
namespace: payments
spec:
replicas: 2
selector:
matchLabels:
app: ledger
template:
metadata:
labels:
app: ledger
spec:
securityContext:
: true
seccompProfile:
type:
containers:
- name: api
image: ghcr.io/kx-labs/web:1.1
ports:
- containerPort: 8080
securityContext:
: false
readOnlyRootFilesystem: true
capabilities:
drop: []
volumeMounts:
- name: tmp
mountPath: /tmp
volumes:
- name: tmp
: {}