-
Notifications
You must be signed in to change notification settings - Fork 432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kubernetes integration with CDS error #5329
Comments
Hi @shansclensky you have an empty plugin with ID 2. It'a a bug, cds should refuse an invalid format. delete from grpc_plugin where name = ''; then, confirm that cdsctl admin plugins list does not contain the invalid ID. Create the file plugin-kubernetes-deployment.yml : name: plugin-kubernetes-deployment
type: integration-deploy_application
integration: Kubernetes
author: "OVH SAS"
description: "Kubernetes Deployment Plugin" Create the plugin: cdsctl admin plugins import plugin-kubernetes-deployment.yml download cds-plugin-kubernetes-deployment-all.tar.gz from the latest release (0.47.0), unzip it, then import the binary cdsctl admin plugins binary-add plugin-kubernetes-deployment plugin-kubernetes-deployment-linux-amd64.yml plugin-kubernetes-deployment-linux-amd64 Is it ok with that for you? |
Hi @yesnault thanks for the detailed explanation, I was able to fix it! |
ok, I'll do a fix to avoid import an invalid plugin yml |
Thanks @yesnault that will prevent people from facing the similar issue! |
* feat(api): validate yml plugin before import it close #5329 Signed-off-by: Yvonnick Esnault <[email protected]>
Hi all,
I am trying to integrate the Kubernetes with CDS, i am following the official documentation. I am getting an error while installing plugins relate to kubernetes, the log says that the unable to insert the plugin key violates unique story constraint . I have attached the error message.
So i thought i will delete the plugin through cdsctl but only i can see ID and not the duplicate plugins listed . Please find below image.
Kindly let me know how can i see all those plugins and add or delete them so that i can resolve the issue.
The text was updated successfully, but these errors were encountered: