Project

General

Profile

Actions

Bug #37399

closed

Container gateway needs to send ACCEPT headers from podman to Pulp

Added by Ian Ballou 2 months ago. Updated about 1 month ago.

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

Description

https://github.com/pulp/pulp_container/issues/1509 causes the old datatypes to no longer be stored, so we need to start sending ACCEPT headers from podman.

The headers look like:

'Accept: application/vnd.docker.distribution.manifest.list.v2+json,application/vnd.docker.distribution.manifest.v2+json,application/vnd.oci.image.manifest.v1+json,application/vnd.oci.image.index.v1+json'

curl example to Pulp:

curl -L --cert foreman-client.crt --key foreman-client.key 'https://smart-proxy.com/pulpcore_registry/v2/prometheus_busybox/manifests/latest' --header 'Accept: application/vnd.docker.distribution.manifest.list.v2+json,application/vnd.docker.distribution.manifest.v2+json,application/vnd.oci.image.manifest.v1+json,application/vnd.oci.image.index.v1+json'

Actions

Also available in: Atom PDF