forked from aquasecurity/starboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cli): Handle registries with basic authentication mechanism (aqua…
…security#265) Signed-off-by: Daniel Pacak <pacak.daniel@gmail.com>
- Loading branch information
1 parent
1e2e23e
commit 7805e21
Showing
30 changed files
with
1,766 additions
and
450 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# NOTES | ||
|
||
## Starboard CLI and Private Registry Credentials | ||
|
||
![](starboard-cli-private-container-registries.png) | ||
|
||
- Find references to image pull secrets (direct and service account) | ||
- Create a temporary secret with basic credentials for each container of the scanned workload | ||
- Create a scan job that references the temporary secret. The secret has the ownerReference property set to point to the job. | ||
- Watch the job for the completion status | ||
- Delete the job. The secret will be deleted by the Kubernetes garbage collector |
Oops, something went wrong.