# Copyright (c) 2021 SIGHUP s.r.l All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

---
apiVersion: batch/v1
kind: Job
metadata:
  name: e2e-1
  labels:
    app.kubernetes.io/created-by: healthcheck-controller
    kfip.sighup.io/group: ResultController
    kfip.sighup.io/target: Controller
    kfip.sighup.io/check: e2e
spec:
  template:
    spec:
      containers:
      - name: pi
        image: perl
        command: ["perl",  "-Mbignum=bpi", "-wle", "print bpi(2000)"]
      restartPolicy: Never
  backoffLimit: 4
