📦 Discover injectors through entrypoints#50
Open
webknjaz wants to merge 2 commits intoansible:develfrom
Open
Conversation
Member
Author
|
pre-commit.ci run |
b314739 to
bfabdd3
Compare
This comment was marked as outdated.
This comment was marked as outdated.
bfabdd3 to
6ffec3a
Compare
This patch eliminates import-based injector discovery, switching to distribution package-indepdendent hosting of the respective callables.
6ffec3a to
ca70f64
Compare
TODO: Revert this commit before merging!
ca70f64 to
3e25834
Compare
webknjaz
commented
Nov 15, 2024
|
|
||
| [project.entry-points."awx_plugins.injector"] | ||
| aws = "awx_plugins.credential.injectors:aws" | ||
| azure_rm = "awx_plugins.credential.injectors:azure_rm" |
Member
Author
There was a problem hiding this comment.
Suggested change
| azure_rm = "awx_plugins.credential.injectors:azure_rm" | |
| azure-rm = "awx_plugins.credential.injectors:azure_rm" |
webknjaz
commented
Nov 15, 2024
| azure_rm = "awx_plugins.credential.injectors:azure_rm" | ||
| ec2 = "awx_plugins.credential.injectors:aws" | ||
| gce = "awx_plugins.credential.injectors:gce" | ||
| kubernetes_bearer_token = "awx_plugins.credential.injectors:kubernetes_bearer_token" |
Member
Author
There was a problem hiding this comment.
Suggested change
| kubernetes_bearer_token = "awx_plugins.credential.injectors:kubernetes_bearer_token" | |
| kubernetes-bearer-token = "awx_plugins.credential.injectors:kubernetes_bearer_token" |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This patch eliminates import-based injector discovery, switching to
distribution package-independent hosting of the respective callables.