From d68dbcba37e02c51e0e776dda70e630e079f0b78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Fri, 14 Mar 2025 13:40:26 +0100 Subject: [PATCH] Mirrormanager: remove the disabled cronjob, commenting it out does not work MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- .../templates/cron-mirrorlist-cache.yml.j2 | 33 ------------------- 1 file changed, 33 deletions(-) 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