[MONIT-4028] Automate Image Upload and Switch to Internal CERN Registry
Description
This Merge Request includes the implementation of two significant updates related to the automation and management of image uploads and their usage within the internal repository. These changes are essential for improving the consistency of image handling across our deployment infrastructure.
Summary of Changes:
- Automated Upload of External Images to Internal Repository ( 650ae1bb)
Added two files to automate the process of uploading external images into our internal repository. The main components are:
- requirements.txt: This file enables the definition of external images that need to be imported.
- hack/* folder: A script located here handles the automation of the upload process, streamlining the image management workflow.
- Switching Images to Use the Internal CERN Registry ( c4c1d199):
- docker.io/prom/node-exporter:v1.8.1 -> registry.cern.ch/monit/cern-it-monitoring-node-exporter:v1.8.1.
- docker.io/prom/prometheus:v2.50.0 -> registry.cern.ch/monit/cern-it-monitoring-prometheus:v2.50.0.
- quay.io/prometheus-operator/prometheus-operator:v0.72.0 -> registry.cern.ch/monit/cern-it-monitoring-prometheus-operator:v0.72.0
- quay.io/prometheus-operator/prometheus-config-reloader:v0.72.0 -> registry.cern.ch/monit/cern-it-monitoring-prometheus-config-reloader:v0.72.0
- docker.io/fluent/fluent-bit:3.0.6 -> registry.cern.ch/monit/cern-it-monitoring-fluent-bit:3.0.6
- registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.11.0 -> registry.cern.ch/monit/cern-it-monitoring-kube-state-metrics:v2.11.0
Based on feedback from the Kubernetes team, it became necessary to point all the images from the Helm chart to the internal CERN registry. All images within the chart have been updated to reference the internal repository.
Motivation
Only images from the registry.cern.ch and hosted on GitLab are available in the TN. Therefore, clusters from the TN do not have access to download images from the external sources that were previously on the chart.
Potential Impact
Clusters with no access to registry.cern.ch will not be able to download this images. To be tested in the OCI (Oracle Cloud Infra) clusters.
Merge Request Checklist
-
Documentation has been updated, if applicable. -
Changes have been tested locally using helm install . ...
.
Additional Notes
N/A.