# Source: jx-test-collector/templates/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: jx-test-collector
  labels:
    chart: "jx-test-collector-0.0.34"
    gitops.jenkins-x.io/pipeline: 'namespaces'
  namespace: jx
  annotations:
    wave.pusher.com/update-on-config-change: 'true'
spec:
  selector:
    matchLabels:
      app: jx-test-collector
  replicas: 1
  template:
    metadata:
      labels:
        app: jx-test-collector
    spec:
      containers:
        - name: jx-test-collector
          image: "gcr.io/jenkinsxio/jx-test-collector:0.0.34"
          imagePullPolicy: IfNotPresent
          command:
            - "jx-test-collector"
          env:
            - name: HOME
              value: "/home"
            - name: SYNC_DURATION
              value: "5m"
          envFrom: []
          resources:
            limits:
              cpu: 100m
              memory: 256Mi
            requests:
              cpu: 80m
              memory: 128Mi
      terminationGracePeriodSeconds: 30
      serviceAccountName: "jx-test-collector"
