apiVersion: batch/v1beta1
kind: CronJob
metadata:
  name: eth-boost-bot-stg
  labels:
    app: eth-boost-bot-stg
spec:
  schedule: "*/20 * * * *"
  startingDeadlineSeconds: 180
  suspend: false
  jobTemplate:
    spec:
      template:
        spec:
          serviceAccountName: eth-boost-bot-stg
          containers:
          - name: eth-boost-bot-stg
            image: IMAGE_NAME
            imagePullPolicy: IfNotPresent
            command: ["python", "-m", "scripts.rewards.boost.boost_eth"]
            env:
              - name: LOG_LEVEL
                value: 'info'
              - name: ENV
                value: 'STG'
              - name: KUBE
                value: 'True'
            resources:
              requests:
                memory: "2000m"
                cpu: "500m"
          restartPolicy: OnFailure
