---
apiVersion: batch/v1beta1
kind: CronJob
metadata:
  name: eks-pipeline-cron
spec:
  schedule: "0 * * * *"
  jobTemplate:
    spec:
      template:
        spec:
          containers:
          - name: eks-cl2-cron
            image: curlimages/curl
            args: ["curl", "-X", "POST", "--data", "{}", "eks-cl2-listener.hakuna.svc.cluster.local:8080"]
          restartPolicy: Never