diff --git a/roles/openshift-apps/mirrormanager/templates/cron-mirrorlist-cache.yml.j2 b/roles/openshift-apps/mirrormanager/templates/cron-mirrorlist-cache.yml.j2 index 098b911f18..63b4d8fa2c 100644 --- a/roles/openshift-apps/mirrormanager/templates/cron-mirrorlist-cache.yml.j2 +++ b/roles/openshift-apps/mirrormanager/templates/cron-mirrorlist-cache.yml.j2 @@ -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