# 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: no-jobs-target-wide
  labels:
    app.kubernetes.io/created-by: healthcheck-controller
    kfip.sighup.io/group: FuryIntelligentPlatform
    kfip.sighup.io/target: JobStatusAPI
    kfip.sighup.io/check: curl
spec:
  template:
    metadata:
      labels:
        app.kubernetes.io/created-by: healthcheck-controller
        kfip.sighup.io/group: FuryIntelligentPlatform
        kfip.sighup.io/target: JobStatusAPI
        kfip.sighup.io/check: curl
    spec:
      containers:
      - command:
        - curl
        - --fail
        - --silent
        - http://fip-job-status-api:8080/group/BookInfo/target/Backend
        image: travelping/nettools
        name: no-jobs-target-wide
        resources: {}
      restartPolicy: Never
