Skip to content

Enable users to list content within container-push repository types #600

Open
@lubosmj

Description

@lubosmj

The feature request could be relevant only to pulp_container.

In pulp_container, I want to be able to list content available in a push-repository.

This works:

pulp container repository create --name test123321
pulp container repository content list --repository test123321

This does not work:

podman pull ghcr.io/pulp/hello-world
podman tag ghcr.io/pulp/hello-world localhost:24817/pulp/hello-world
podman push localhost:24817/pulp/hello-world --tls-verify=false
pulp container repository --type push content list --repository pulp/hello-world

We might be required to override the behaviour of the repository-content command in order to disable the "content-add" and "content-remove" capabilities along with changing the value passed to the allowed_with_contexts parameter (

allowed_with_contexts=container_context,
).

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestNew feature request (template-set)

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions