github.com/datreeio/datree@v1.9.22-rc/pkg/policy/tests/47/pass/47-pass.yaml (about)

     1  apiVersion: apps/v1
     2  kind: Deployment
     3  metadata:
     4    name: nginx-deployment
     5  spec:
     6    replicas: 1
     7    selector:
     8      matchLabels:
     9        app: nginx
    10    template:
    11      spec:
    12        containers:
    13          - name: nginx
    14            image: nginx:latest
    15            securityContext:
    16              allowPrivilegeEscalation: false