github.com/datreeio/datree@v1.9.22-rc/pkg/jsonSchemaValidator/test_fixtures/rule-fail.yaml (about)

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