diff --git a/ci-operator/jobs/infra-image-mirroring.yaml b/ci-operator/jobs/infra-image-mirroring.yaml index d4f0c9f82fd6..ae1a8cbfaa40 100644 --- a/ci-operator/jobs/infra-image-mirroring.yaml +++ b/ci-operator/jobs/infra-image-mirroring.yaml @@ -888,3 +888,53 @@ periodics: - configMap: name: image-mirror-mappings name: config +- agent: kubernetes + cluster: app.ci + cron: '@hourly' + decorate: true + decoration_config: + timeout: 5h0m0s + labels: + ci.openshift.io/area: telcov10n-ci + ci.openshift.io/role: image-mirroring + name: periodic-image-mirroring-telcov10n-ci + reporter_config: + slack: + channel: '#eco-ci-cd-notifications' + job_states_to_report: + - failure + - error + report_template: ' :volcano: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. + <{{.Status.URL}}|View logs> :volcano: ' + spec: + automountServiceAccountToken: true + containers: + - command: + - /tp-entrypoint.sh + env: + - name: HOME + value: /home/mirror + - name: MAPPING_FILE_PREFIX + value: mapping_telcov10n-ci + - name: dry_run + value: "false" + image: registry.ci.openshift.org/ci/image-mirror:oc-415 + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 500m + volumeMounts: + - mountPath: /home/mirror/.docker/config.json + name: push + readOnly: true + subPath: config.json + - mountPath: /etc/imagemirror + name: config + volumes: + - name: push + secret: + secretName: registry-push-credentials-quay-io-telcov10n-ci + - configMap: + name: image-mirror-mappings + name: config