-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Description
With #632 I expected the following spec to work for a plugin that is hosted on the repo https://github.com/cloudquery/cq-source-plaid
kind: source
spec:
name: plaid
version: v1.0.0
destinations: [postgresql]
path: cloudquery/cq-source-plaid
spec:
client_id: ${PLAID_CLIENT_ID}
secret: ${PLAID_SECRET}
access_token: ${PLAID_ACCESS_TOKEN}However it doesn't and only the following works:
kind: source
spec:
name: plaid
version: v1.0.0
destinations: [postgresql]
path: cloudquery/plaid
spec:
client_id: ${PLAID_CLIENT_ID}
secret: ${PLAID_SECRET}
access_token: ${PLAID_ACCESS_TOKEN}This is not an issue with said PR, but just how the current code expected to work, see tests:
| Path: "yevgenypats/test", |
I find it a bit unintuitive that the path doesn't match the repo.
It this expected or we should make path: cloudquery/cq-source-plaid work instead?
Maybe someone wants to put their plugin under
<org>/my-cq-plugin-repo-test-5? With the current approach we don't support it. Also it's harder for users to understand where is the plugin hosted
Metadata
Metadata
Assignees
Labels
No labels