Skip to content

Commit

Permalink
Fixes #35783 - Remove old Pulp 2 docker port setting (#10366)
Browse files Browse the repository at this point in the history
* Fixes #35783 - Remove old Pulp 2 docker port setting

* Refs #35783 - delete docker pulp 2 repository service class
  • Loading branch information
ianballou committed Dec 6, 2022
1 parent a06d647 commit b31ae26
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 89 deletions.
82 changes: 0 additions & 82 deletions app/services/katello/pulp/repository/docker.rb

This file was deleted.

@@ -0,0 +1,5 @@
class RemovePulpDockerRegistryPortSetting < ActiveRecord::Migration[6.1]
def change
Setting.where(name: 'pulp_docker_registry_port').destroy_all
end
end
6 changes: 0 additions & 6 deletions lib/katello/plugin.rb
Expand Up @@ -522,12 +522,6 @@ def katello_template_setting_values(name)
description: N_("Default download policy for Smart Proxy syncs (either 'inherit', immediate', or 'on_demand')"),
collection: proxy_download_policies

setting 'pulp_docker_registry_port',
type: :integer,
default: 5000,
full_name: N_('Pulp Docker registry port'),
description: N_("The port used by Pulp Crane to provide Docker Registries")

setting 'pulp_export_destination',
type: :string,
default: "/var/lib/pulp/katello-export",
Expand Down
1 change: 0 additions & 1 deletion lib/katello/repository_types/docker.rb
@@ -1,5 +1,4 @@
Katello::RepositoryTypeManager.register(::Katello::Repository::DOCKER_TYPE) do
service_class Katello::Pulp::Repository::Docker
default_managed_content_type Katello::DockerManifest::CONTENT_TYPE
pulp3_service_class Katello::Pulp3::Repository::Docker
pulp3_api_class Katello::Pulp3::Api::Docker
Expand Down

0 comments on commit b31ae26

Please sign in to comment.