Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Add token pass-thru for AuthConfig #184

Merged
merged 1 commit into from Dec 7, 2015
Merged

Conversation

dhiltgen
Copy link
Contributor

@dhiltgen dhiltgen commented Nov 6, 2015

This extends the AuthConfig to allow token pass-thru and augments the
CreateContainer API to set the X-Registry-Auth header if an AuthConfig
is passed in. This will allow Swarm to pull private images on specific
nodes based on container creation.

Signed-off-by: Daniel Hiltgen daniel.hiltgen@docker.com

@dhiltgen
Copy link
Contributor Author

dhiltgen commented Nov 6, 2015

This is related to moby/moby/pull/17741

dhiltgen pushed a commit to dhiltgen/swarm that referenced this pull request Nov 6, 2015
Once samalba/dockerclient#184 is merged,
this will be replaced by a proper vendoring of that change.

Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com>
This extends the AuthConfig to allow token pass-thru and augments the
CreateContainer API to set the X-Registry-Auth header if an AuthConfig
is passed in.  This will allow Swarm to pull private images on specific
nodes based on container creation.

Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com>
dhiltgen pushed a commit to dhiltgen/swarm that referenced this pull request Nov 11, 2015
Once samalba/dockerclient#184 is merged,
this will be replaced by a proper vendoring of that change.

Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com>
@ehazlett
Copy link
Collaborator

LGTM -- we shouldn't merge until moby/moby#17741 is merged.

@pdevine
Copy link

pdevine commented Nov 11, 2015

LGTM.

@abronan
Copy link
Collaborator

abronan commented Dec 7, 2015

LGTM

abronan added a commit that referenced this pull request Dec 7, 2015
Add token pass-thru for AuthConfig
@abronan abronan merged commit 707136b into samalba:master Dec 7, 2015
dhiltgen pushed a commit to dhiltgen/dockerclient that referenced this pull request Dec 8, 2015
This change keeps the mock client in sync with the recent
change to the AuthConfig from PR samalba#184

Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com>
@djmaze
Copy link
Contributor

djmaze commented Dec 25, 2015

The README still needs to be updated for the new createContainer syntax.

@thaJeztah
Copy link

@djmaze are you interested in creating a pull request to fix that?

djmaze added a commit to djmaze/dockerclient that referenced this pull request Dec 26, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants