summaryrefslogtreecommitdiff
path: root/pkg/api/server
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-06-16 06:04:33 -0400
committerGitHub <noreply@github.com>2021-06-16 06:04:33 -0400
commit1c71c1a5404cd562381c27defb9bdbacf9f7086b (patch)
treebddc593bc59c956011b7abfec57f5f7eb9aca0d1 /pkg/api/server
parent092b2ecafc17fe8ab963102eae049a7f5acf6ba2 (diff)
parenteb927dc84e57e7f9f9a7b912bd349a4dde7749a0 (diff)
downloadpodman-1c71c1a5404cd562381c27defb9bdbacf9f7086b.tar.gz
podman-1c71c1a5404cd562381c27defb9bdbacf9f7086b.tar.bz2
podman-1c71c1a5404cd562381c27defb9bdbacf9f7086b.zip
Merge pull request #10588 from cdoern/imgDocs
[CI:DOCS] converted query parameter for credentials to header parameter.
Diffstat (limited to 'pkg/api/server')
-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 b28818768..d075cd098 100644
--- a/pkg/api/server/register_images.go
+++ b/pkg/api/server/register_images.go
@@ -962,10 +962,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
@@ -986,6 +982,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: