-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Multiple pull-secrets and optional fallback-secret (#98)
feat: use multiple pull-secrets and add fallback-secret support Signed-off-by: Christian Kotzbauer <[email protected]> Co-authored-by: Mario Ofner <[email protected]> * adding all pull secrets to the ContainerImage objects and loading one by one when necessary * try to debug what exactly is used for authentication * more debugging * add the secret name to the structure for better understanding * remove debugging messages * add global credentials from sbom-operator namespace * fix secret localObjectName * get ownNamespace * fix add missing variables to error message * try reading ownNamespace * add custom global pull-secret * add new parameter to documentation * - The name of the startup-parameter - refactor the ContainerImage struct. - refactor secrets iteration * prevent the upgrade from having a breaking change because of the namespace_name env-variable * add the POD_NAMESPACE env variable to the documentation * finally renamed the configParameter always return allImageCreds removed unnecessary error message from log-message removed unnecessary info message * fix condition for reading the fallbackPullSecret * fix environment variable value for POD_NAMESPACE * use pullSecret without index and fix the situation where no pullsecret is present * fix pullSecret iteration handling * return proper error when necessary update testcases for registry and syft-analysis * several fixes and improvements Signed-off-by: Christian Kotzbauer <[email protected]> * fix: add log-message again Signed-off-by: Christian Kotzbauer <[email protected]> * fix: cleanup
- Loading branch information
1 parent
1286ab3
commit ad7dc28
Showing
10 changed files
with
249 additions
and
118 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
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
Oops, something went wrong.