github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/test/testdata/kubernetes/KSV102/denied.yaml (about) 1 --- 2 apiVersion: apps/v1 3 kind: Deployment 4 metadata: 5 name: mongo-deployment 6 spec: 7 template: 8 spec: 9 containers: 10 - name: carts-db 11 image: tiller 12 securityContext: 13 runAsNonRoot: true 14 allowPrivilegeEscalation: true 15 initContainers: 16 - name: init-svc 17 image: busybox:1.28 18 securityContext: 19 allowPrivilegeEscalation: false