Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Read default image creds for each request #1230

Merged
merged 1 commit into from
Jul 19, 2018

Conversation

squaremo
Copy link
Member

Part of the point of being able to provide a docker config is to be
able to mount it from a volume, and thereby be able to update it on
the fly (e.g., with a sidecar).

But this won't work if it's read only at startup. So, just check it's
OK when we start, and otherwise read it every time we are asked for
credentials.

Part of the point of being able to provide a docker config is to be
able to mount it from a volume, and thereby be able to update it on
the fly (e.g., with a sidecar).

But this won't work if it's read only at startup. So, just check it's
OK when we start, and otherwise read it every time we are asked for
credentials.
@squaremo squaremo mentioned this pull request Jul 13, 2018
@mwhittington21
Copy link

This should solve most of the ECR problem provided the user can refresh the creds themselves. Nice!

@squaremo squaremo requested a review from aaron7 July 16, 2018 09:24
@squaremo squaremo merged commit 40f537c into master Jul 19, 2018
@squaremo squaremo deleted the issue/539-reload-docker-config branch July 19, 2018 10:18
@squaremo
Copy link
Member Author

thanks @aaron7 👾

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.

3 participants