Skip to content
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

the helm chart of karmada-search.yaml is invalid #4035

Closed
chaosi-zju opened this issue Sep 6, 2023 · 1 comment · Fixed by #4034
Closed

the helm chart of karmada-search.yaml is invalid #4035

chaosi-zju opened this issue Sep 6, 2023 · 1 comment · Fixed by #4034
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@chaosi-zju
Copy link
Member

chaosi-zju commented Sep 6, 2023

What happened:

  • chart file karmada-search.yaml is invalid
  • lack of enough check method of chart file

I want to install karmada with karmada-search, but failed, with error message reported that the karmada-search.yaml is invalid.

What you expected to happen:

install karmada-search success.

How to reproduce it (as minimally and precisely as possible):

# clean old clusters and config
kind delete clusters --all; rm -rf ~/.karmada/; rm -rf ~/.kube/*config; rm -rf /etc/karmada

# cd to your karmada local path
git clone https://github.com/karmada-io/karmada.git
cd karmada

# create a Kind cluster
hack/create-cluster.sh karmada-host ~/.kube/karmada.config
export KUBECONFIG=~/.kube/karmada.config

# pull images in advance and avoid duplicate downloads when each installation
for img in `cat charts/karmada/values.yaml | grep -C 1 'repository:' | sed 's/*karmadaImageVersion/latest/g' | awk -F ':' '{print $2}' | sed 's/\"//g' | xargs -n3 | awk '{print $1"/"$2":"$3}'`; do docker pull $img; kind load docker-image $img --name karmada-host; done

# helm install
helm install karmada -n karmada-system --create-namespace --dependency-update --set components={"search,descheduler,schedulerEstimator"} ./charts/karmada --debug

# export karmada-apiserver kubeconfig
kubectl get secret -n karmada-system karmada-kubeconfig -o jsonpath={.data.kubeconfig} | base64 -d > ~/.kube/karmada-apiserver.config

image

Anything else we need to know?:

Environment:

  • Karmada version:
  • kubectl-karmada or karmadactl version (the result of kubectl-karmada version or karmadactl version):
  • Others:
@chaosi-zju chaosi-zju added the kind/bug Categorizes issue or PR as related to a bug. label Sep 6, 2023
@chaosi-zju
Copy link
Member Author

/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant