summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorcdoern <cbdoer23@g.holycross.edu>2021-06-07 10:07:45 -0400
committercdoern <cbdoer23@g.holycross.edu>2021-06-15 16:22:01 -0400
commiteb927dc84e57e7f9f9a7b912bd349a4dde7749a0 (patch)
treeea73a453b74f32296c2557686f175a0cb55b5738 /pkg
parentb8dbc1159433f9b5e9d8436b25443bd335917235 (diff)
downloadpodman-eb927dc84e57e7f9f9a7b912bd349a4dde7749a0.tar.gz
podman-eb927dc84e57e7f9f9a7b912bd349a4dde7749a0.tar.bz2
podman-eb927dc84e57e7f9f9a7b912bd349a4dde7749a0.zip
Docs Switch from Query Param to Header
credentials switched from query param to header x-reg due to podman parsing the header for credentials not the query itself. Signed-off-by: cdoern <cbdoer23@g.holycross.edu>
Diffstat (limited to 'pkg')
-rw-r--r--pkg/api/server/register_images.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/api/server/register_images.go b/pkg/api/server/register_images.go
index 9634bd83b..cbe75ded1 100644
--- a/pkg/api/server/register_images.go
+++ b/pkg/api/server/register_images.go
@@ -948,10 +948,6 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// description: "Mandatory reference to the image (e.g., quay.io/image/name:tag)"
// type: string
// - in: query
- // name: credentials
- // description: "username:password for the registry"
- // type: string
- // - in: query
// name: Arch
// description: Pull image for the specified architecture.
// type: string
@@ -972,6 +968,10 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// name: allTags
// description: Pull all tagged images in the repository.
// type: boolean
+ // - in: header
+ // name: X-Registry-Auth
+ // description: "base-64 encoded auth config. Must include the following four values: username, password, email and server address OR simply just an identity token."
+ // type: string
// produces:
// - application/json
// responses: