-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(backend): add namespace & prefix scoped credentials to kfp-launc…
…her config for object store paths (#10625) * add bucket session info to pipeline context Signed-off-by: Humair Khan <[email protected]> * allow driver to read bucket session info Instead of only reading the kfp-launcher when a custom pipeline root is specified, the root dag will now always read the kfp-launcher config to search for a matching bucket if such a configuration is provided in kfp-launcher Signed-off-by: Humair Khan <[email protected]> * add support for bucket prefix matching Provides a structured configuration for bucket providers, whereby user can specify credentials for different providers and path prefixes. A new interface for providing sessions is introduced, which should be implemented for any new provider configuration support. Signed-off-by: Humair Khan <[email protected]> * allow object store to handle different providers Utilizes blob provider specific constructors to open s3, minio, gcs accordingly. If a sessioninfo is provided (via kfp-launcher config) then the associated secret is fetched for each case to gain credentials. If fromEnv is provided, then the standard url opener is used. Also separates out config fields and operations to a separate file. Signed-off-by: Humair Khan <[email protected]> * utilize session info in launcher & importer retrieves the session info (if provided via kfp-launcher) and utilizes it for opening the provider's associated bucket Signed-off-by: Humair Khan <[email protected]> * skip config for default aws s3 endpoint Signed-off-by: Humair Khan <[email protected]> * chore: refactor/clarify store session info naming also added some additional code comments clarifying store cred variable usage Signed-off-by: Humair Khan <[email protected]> * chore: handle query parameters as s3 as well as update validation logic for provider config, and fix tests accordingly. Signed-off-by: Humair Khan <[email protected]> --------- Signed-off-by: Humair Khan <[email protected]>
- Loading branch information
Showing
17 changed files
with
1,831 additions
and
209 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
Oops, something went wrong.