apiVersion: batch/v1
kind: Job
metadata:
  name: egress-ip-checker
spec:
  parallelism: 1
  template:
    metadata:
      name: egress-ip-checker
    spec:
      restartPolicy: Never
      containers:
      - name: egress-ip-checker
        image: docker-registry.default.svc:5000/__PROJECT_NAME__/egress-ip-checker
        command:
        - curl
        - -s
        - ifconfig.co
