Project

General

Profile

Actions

Bug #34398

closed

exclude source redhat containers by default

Added by Ian Ballou about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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

Actions #1

Updated by Ian Ballou about 2 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.

Actions #2

Updated by The Foreman Bot about 2 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
Actions #3

Updated by Justin Sherrill about 2 years ago

  • Target version changed from Katello 4.4.0 to Katello 4.5.0
  • Triaged changed from No to Yes
Actions #4

Updated by The Foreman Bot about 2 years ago

  • Fixed in Releases Katello 4.5.0 added
Actions #5

Updated by Anonymous about 2 years ago

  • Status changed from Ready For Testing to Closed
Actions #6

Updated by Ian Ballou about 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)
Actions

Also available in: Atom PDF