aboutsummaryrefslogtreecommitdiffstats
path: root/syz-cluster/email-reporter/deployment.yaml
blob: 79c00c2c01f6f0757e67ec1d1268571462b04827 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 2025 syzkaller project authors. All rights reserved.
# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.

apiVersion: apps/v1
kind: Deployment
metadata:
  name: email-reporter
spec:
  replicas: 1
  selector:
    matchLabels:
      app: email-reporter
  template:
    metadata:
      labels:
        app: email-reporter
    spec:
      serviceAccountName: gke-email-reporter-ksa
      containers:
      - name: email-reporter
        image: ${IMAGE_PREFIX}email-reporter:${IMAGE_TAG}
        volumeMounts:
          - name: config-volume
            mountPath: /config
          - name: reporter-lore-disk
            mountPath: /lore-repo
        resources:
          requests:
            cpu: 2
            memory: 8G
          limits:
            cpu: 4
            memory: 16G
      volumes:
      - name: config-volume
        configMap:
          name: global-config
      - name: reporter-lore-disk
        persistentVolumeClaim:
          claimName: reporter-lore-disk-claim