Mirrormanager: remove the disabled cronjob, commenting it out does not work

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2025-03-14 13:40:26 +01:00
parent d9e0180d83
commit d68dbcba37
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -56,39 +56,6 @@ spec:
volumes:
{{ common_volumes() | indent(4) }}
{{ security_context() | indent(4) }}
# ---
# ===== DISABLED because the source is not published anymore =====
# # Run the script for Internet2 netblocks very late to
# # make sure the files are all there. The script is
# # looking in date dependent directories and depending
# # on the timezone of the remote server the files appear late.
# apiVersion: batch/v1
# kind: CronJob
# metadata:
# name: netblocks-internet2
# spec:
# successfulJobsHistoryLimit: 3
# failedJobsHistoryLimit: 3
# concurrencyPolicy: Forbid
# schedule: "0 23 * * *"
# startingDeadlineSeconds: 500
# suspend: false
# jobTemplate:
# spec:
# template:
# spec:
# restartPolicy: Never
# containers:
# - name: mirrormanager
# image: image-registry.openshift-image-registry.svc:5000/mirrormanager/mirrormanager2:latest
# command: ["mm2_get-netblocks", "--debug", "internet2", "/var/cache/mirrorlist/i2_netblocks.txt"]
# env:
# {{ common_env() | indent(4) }}
# volumeMounts:
# {{ common_volume_mounts() | indent(4) }}
# volumes:
# {{ common_volumes() | indent(4) }}
# {{ security_context() | indent(4) }}
---
# Amazon EC2 netblocks
apiVersion: batch/v1