StarRocks / starrocks-kubernetes-operator

Kubernetes Operator for StarRocks
Apache License 2.0
138 stars 69 forks source link

Helm cannot be installed #585

Closed 504097723 closed 4 weeks ago

504097723 commented 2 months ago

Describe the bug

helm install kube-starrocks kube-starrocks -n starrocks Error: INSTALLATION FAILED: failed to install CRD crds/starrocks.com_starrocksclusters.yaml: unable to decode "": json: cannot unmarshal string into Go value of type unstructured.detector

To Reproduce

cd /starrocks-kubernetes-operator/helm-charts/charts helm install kube-starrocks kube-starrocks -n starrocks

Expected behavior

A clear and concise description of what you expected to happen.

Please complete the following information

yandongxiao commented 2 months ago

I can't reproduce your problem.

➜  charts git:(v1.9.8) k delete crd starrocksclusters.starrocks.com
customresourcedefinition.apiextensions.k8s.io "starrocksclusters.starrocks.com" deleted
➜  charts git:(v1.9.8)
➜  charts git:(v1.9.8)
➜  charts git:(v1.9.8) helm install kube-starrocks kube-starrocks -n starrocks

Alias tip: hin kube-starrocks kube-starrocks -n starrocks
walk.go:74: found symbolic link in path: /Users/yandongxiao/github/yandongxiao/starrocks-kubernetes-operator/helm-charts/charts/kube-starrocks/charts/operator/crds/starrocks.com_starrocksclusters.yaml resolves to /Users/yandongxiao/github/yandongxiao/starrocks-kubernetes-operator/deploy/starrocks.com_starrocksclusters.yaml. Contents of linked file included and used
NAME: kube-starrocks
LAST DEPLOYED: Tue Sep  3 13:39:08 2024
NAMESPACE: starrocks
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Thank you for installing kube-starrocks-1.9.8 kube-starrocks chart.
It will install both operator and starrocks cluster, please wait for a few minutes for the cluster to be ready.

Please see the values.yaml for more operation information: https://github.com/StarRocks/starrocks-kubernetes-operator/blob/main/helm-charts/charts/kube-starrocks/values.yaml