-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support non-access key based AWS credentials (#2032)
* Support non-access key based AWS credentials Currently kots determines if the Docker repo being used is an ECR repo. If it is, it expects to be provided with an access key and secret to authenticate with the ECR repo. However in some cases, kots will be run from an assumed role or EC2 instance that doesn't have an access key. The go SDK will use a default credential provider chain if no credentials are specified that will use the instance role or other credentials. This change allows kots to be installed without an access key when using ECR * Update pkg/docker/registry/ecr.go Co-authored-by: Salah Aldeen Al Saleh <sg.alsaleh@gmail.com> * Code review feedback * Update cmd/kots/cli/admin-console-push-images.go Co-authored-by: Salah Aldeen Al Saleh <sg.alsaleh@gmail.com> * remove unneeded parens Co-authored-by: Salah Aldeen Al Saleh <sg.alsaleh@gmail.com>
- Loading branch information
1 parent
8585a44
commit c960663
Showing
3 changed files
with
15 additions
and
3 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
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