github.com/datreeio/datree@v1.9.22-rc/pkg/policy/tests/60/fail/60-fail.yaml (about) 1 apiVersion: apps/v1 2 kind: Deployment 3 metadata: 4 name: myDeployment 5 spec: 6 replicas: 2 7 template: 8 metadata: 9 namespace: test 10 labels: 11 app: web 12 spec: 13 containers: 14 - name: myContainer 15 image: nginx:latest 16 lifecycle: 17 postStart: 18 exec: 19 command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"]