pipedv1-exp quickstart: syncing legacy-style example apps fails with "no plugin specified"
What happened:
Following the v1.0.x quickstart with pipedv1-exp, registering an application from the examples repo (e.g. kubernetes/kustomize-local-base) and triggering a sync fails with:
Unable to plan the deployment (no plugin specified)
Environment:
- Setup: local kind cluster, control-plane + pipedv1-exp installed via the quickstart manifests (master branch)
- Application: kubernetes/kustomize-local-base from pipe-cd/examples, added via "PIPED v1 ADD FROM SUGGESTIONS"
What I expected to happen:
Either the deployment to sync successfully, or the quickstart docs to note that pipedv1-exp requires app.pipecd.yaml configs to declare a plugins field, and that legacy-style example configs in pipe-cd/examples don't yet include one for the v1 plugin flow.
How to reproduce it:
- Follow docs-v1.0.x/quickstart with pipedv1-exp
- Add any application from examples via "ADD FROM SUGGESTIONS"
- Trigger SYNC from the console
- Observe the deployment fails immediately with "no plugin specified"
Screenshot of the failure:
I'd like to work on this.
Hi @iamrishu11 — since it's been about a month and there aren't any linked PRs yet, I'd love to go ahead and pick this up so we can get it resolved.
If you already have a fix in progress locally, just let me know and I'd be happy to collaborate! Otherwise, I'll submit a PR for this shortly.
2. Hi @iamrishu11 — since it's been about a month and there aren't any linked PRs yet, I'd love to go ahead and pick this up so we can get it resolved. If you already have a fix in progress locally, just let me know and I'd be happy to collaborate! Otherwise, I'll submit a PR for this shortly.
@Atharva-Ramawat besides the docs note (#7509), the quickstart still suggests legacy v0/ configs that can never plan on pipedv1, and the error is a bare no plugin specified (pkg/app/pipedv1/plugin/registry.go:95). Would you be up for the small core fixes too.
Hi @harshalsp07 — thanks for reviewing! I’d be absolutely up for tackling those core fixes too.
I'll dive into pkg/app/pipedv1/plugin/registry.go to improve the error message and look into filtering out the legacy v0 configs from the suggestions list. I'll open a separate PR for these changes shortly!