github.com/datreeio/datree@v1.9.22-rc/pkg/jsonSchemaValidator/test_fixtures/rule-pass.yaml (about) 1 apiVersion: apps/v1 2 kind: Deployment 3 metadata: 4 name: rss-site 5 namespace: test 6 labels: 7 billing: a 8 owner: -- 9 environment: prod 10 app: web 11 spec: 12 replicas: 2 13 selector: 14 matchLabels: 15 app: web 16 template: 17 metadata: 18 namespace: test 19 labels: 20 app: web 21 spec: 22 containers: 23 - name: front-end 24 image: nginx:latest 25 readinessProbe: 26 tcpSocket: 27 port: 8080 28 initialDelaySeconds: 5 29 periodSeconds: 10 30 resources: 31 requests: 32 memory: "64Mi" 33 cpu: "64m" 34 limits: 35 cpu: "500m" 36 ports: 37 - containerPort: 80 38 - name: rss-reader 39 image: datree/nginx@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb2 40 livenessProbe: 41 httpGet: 42 path: /healthz 43 port: 8080 44 httpHeaders: 45 - name: Custom-Header 46 value: Awesome 47 readinessProbe: 48 tcpSocket: 49 port: 8080 50 initialDelaySeconds: 5 51 periodSeconds: 10 52 resources: 53 requests: 54 cpu: "64m" 55 memory: "128Mi" 56 limits: 57 memory: "128Mi" 58 cpu: "500m" 59 ports: 60 - containerPort: 88