-
-
Notifications
You must be signed in to change notification settings - Fork 511
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: authenticate docker on PullImage (#2446)
* feat: authenticate docker on PullImage I'm using k3s and specifically its LoadImages function to avoid hassle for images not published to a public repository. Through this, I noticed we were accidentally only authenticating docker pulls when launching a container. This authenticates the same way, regardless of if you are launching a container or pulling its image. This also improves the LoadImages test as before, the pod could have not started due to an image problem, yet still pass the test. Signed-off-by: Adrian Cole <adrian@tetrate.io> * early quit on terminated Signed-off-by: Adrian Cole <adrian@tetrate.io> --------- Signed-off-by: Adrian Cole <adrian@tetrate.io>
- Loading branch information
1 parent
09648d1
commit 3541728
Showing
2 changed files
with
50 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters