Bug #34398
closedexclude source redhat containers by default
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1845471
Description of problem:
Once source container are enabled, they will be included as regular types of the images in the repositories.
Source container images are quite big, they cannot be pulled( podman docker pull will fail) and run.
Only with skopeo copy command those containers can be installed.
Katello's Registry won't have an issue to mirror down such content, however the sync time might be much longer due to the fact that source container images are quite large. This might decrease customer experience.
Solution: add an option to opt out of mirroring source container images.
Every source container will be tagged with the following convention:
Source container images are named based on the binary containers they represent. For example, for a particular standard RHEL UBI 8 container registry.access.redhat.com/ubi8:8.1-397 append -source to get the source container image (registry.access.redhat.com/ubi8:8.1-397-source).
We already have a whitelist option, adjust the code so it can handle regular expressions and a negation of the search pattern can be used.
Version-Release number of selected component (if applicable):
All versions
Updated by Ian Ballou almost 3 years ago
- Subject changed from exclude source redhat containers by default to exclude source redhat containers by default
The exclude_tags field isn't configurable in Katello today, so I'll be adding that in. I'll also add those fields to the repository creation page as well.
Updated by The Foreman Bot almost 3 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ian Ballou
- Pull request https://github.com/Katello/katello/pull/9926 added
Updated by Justin Sherrill over 2 years ago
- Target version changed from Katello 4.4.0 to Katello 4.5.0
- Triaged changed from No to Yes
Updated by The Foreman Bot over 2 years ago
- Fixed in Releases Katello 4.5.0 added
Updated by Anonymous over 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|9375ebb3f9c9a2ae5a1467ac4c6f937a2d3092c3.
Updated by Ian Ballou over 2 years ago
- Target version changed from Katello 4.5.0 to Katello 4.4.0
- Fixed in Releases Katello 4.4.0 added
- Fixed in Releases deleted (
Katello 4.5.0)