Project

General

Profile

Actions

Bug #16037

closed

Enable katello docker registries to use other ports

Added by Partha Aji over 7 years ago. Updated over 5 years ago.

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

Description

https://github.com/Katello/katello/blob/master/app/models/katello/concerns/container_extensions.rb#L17 hard codes crane registry the port in the pull url. This means that value is not configurable causing all sorts of issues. We need to make it use a Settings var

        if Repository.where(:pulp_id => repository_name).count > 0
          manifest_capsule = self.capsule || CapsuleContent.default_capsule.capsule
          "#{URI(manifest_capsule.url).hostname}:5000/#{repo_url}" 
        else
          repo_url
        end


Related issues 1 (0 open1 closed)

Related to Katello - Bug #16051: Need to enable setting the crane port in puppet-capsuleDuplicateChris Roberts08/10/2016Actions
Actions #1

Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6240 added
Actions #2

Updated by Partha Aji over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Partha Aji over 7 years ago

  • Related to Bug #16051: Need to enable setting the crane port in puppet-capsule added
Actions

Also available in: Atom PDF