-
Notifications
You must be signed in to change notification settings - Fork 82
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
Unable create the CRD #1364
Comments
@Prageeth-Wickramaarachchi As the error points out, you must first upload the chart to KubePlus if you use a local chart. We provide a kubectl plugin to upload local charts to KubePlus. Have you set up KubePlus kubectl plugins in your environment? If not, check the README file for the steps. |
@devdattakulkarni I did that too but still unable to create the CRD. prageeth@DESKTOP-3KD6R77:/mnt/c/Users/prage$ kubectl upload chart hello-world-chart-0.0.2.tgz kubeplus-saas-provider.json |
@Prageeth-Wickramaarachchi Can you verify the path of the chart (chartURL) in hello-world-resource-composition.yaml is file:///hello-world-chart-0.0.2.tgz ? Also, can you share the version of KubePlus that you have installed and the version of Kubernetes and how the cluster is created (minikube/kind/cloud provider). |
@devdattakulkarni I am using minikube currently prageeth@DESKTOP-3KD6R77:/mnt/c/Users/prage$ pwd |
Can you check inside hello-world-resource-composition.yaml and share what you see as the value of the chartURL field? |
@devdattakulkarni Initially I used the default charturl given in the repo since it causing errors I download it upload my repo and add the following chaturl since this also didn't work I used the upload chart plugin when i use that plugin i commented this chaturl and try to create the CRD |
Ok, thanks for the details. We will see if we are able to re-create the issue on our side. You might want to join our Slack channel which will be easier for discussion. |
@devdattakulkarni thanks, can you send me an invitation |
It is in the main README.. Check towards the end of the README. We are in #kubeplus channel in CNCF workspace. |
@Prageeth-Wickramaarachchi Ping. Did you get a chance to register on the CNCF Slack workspace? |
@Prageeth-Wickramaarachchi Is this still an issue? Were you able to create a CRD and test sample applications? |
@Prageeth-Wickramaarachchi I am going to close this issue as we were not able to re-create it. Re-open the issue if you are still encountering it. |
prageeth@DESKTOP-3KD6R77:/mnt/c/Users/prage$ kubectl create -f mysql-service-crd.yaml -n $KUBEPLUS_NS --kubeconfig=kubeplus-saas-provider.json
Error from server: error when creating "mysql-service-crd.yaml": admission webhook "platform-as-code.crd-binding.v1" denied the request: Chart https://github.com/cloud-ark/operatorcharts/blob/master/mysqlcluster-stack-0.0.1.tgz?raw=true not found.
Use kubectl upload chart to upload the chart first.
The text was updated successfully, but these errors were encountered: