apiVersion: v1
kind: ReplicationController
metadata:
  name: dronescheduler
  labels:
    name: dronescheduler
    drone: scheduler
  namespace: ci
spec:
  replicas: 1
  template:
    metadata:
      labels:
        name: dronescheduler
    spec:
      containers:
      - image: quay.io/ukhomeofficedigital/dronescheduler:latest
        name: dronescheduler
        resources:
          limits:
            memory: "256Mi"
        env:
          - name: CRONTASK_1
            value: "* 2 * * * /dronescheduler"
          - name: HOST
            value: "https://drone.notprod.homeoffice.gov.uk"
          - name: TOKEN
            value: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZXh0IjoiaXBlZHJhemFzIiwidHlwZSI6InVzZXIifQ.7rGJ-FUtwpoXNK3tfjA6fzv5-g0sNVTi7FnVL5dxq2s"
          - name: REPO
            value: "UKHomeOffice/dronescheduler"
          - name: BRANCH
            value: "master"

