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

Karmada helm #6092

Open
sashalarsoo opened this issue Jan 28, 2025 · 4 comments
Open

Karmada helm #6092

sashalarsoo opened this issue Jan 28, 2025 · 4 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@sashalarsoo
Copy link

Hi.
I want to deploy karmada using argocd application terraform resource.

This resource pulls karmada chart with helm. With right params i can't do this :

helm pull karmada-charts/karmada --version v1.12.0 --repo https://raw.githubusercontent.com/karmada-io/karmada/master/charts
Error: chart "karmada-charts/karmada" version "v1.12.0" not found in https://raw.githubusercontent.com/karmada-io/karmada/master/charts repository

Because its the command the resource executes first i tried to run it manually.
I precise my local installation using helm install works well.

@sashalarsoo sashalarsoo added the kind/bug Categorizes issue or PR as related to a bug. label Jan 28, 2025
@sashalarsoo
Copy link
Author

Got this using https://github.com/karmada-io/karmada/tree/master/charts as repo_url :
Error: failed to create application predict-karmada-dev │ │ with module.karmada_predict_argo[0].argocd_application.application, │ on modules/argocd/application/main.tf line 20, in resource "argocd_application" "application": │ 20: resource "argocd_application" "application" { │ │ rpc error: code = InvalidArgument desc = application spec for predict-karmada-dev is invalid: │ InvalidSpecError: repository not accessible: repositories not accessible: &Repository{Repo: │ "https://github.com/karmada-io/karmada/tree/master/charts", Type: "", Name: "", Project: ""}: repo client │ error while testing repository: rpc error: code = Unknown desc = error testing repository connectivity: │ yaml: line 206: mapping values are not allowed in this context

@RainbowMango
Copy link
Member

@chaosi-zju We might need to build the index of v1.12.0?

@chaosi-zju
Copy link
Member

chaosi-zju commented Feb 5, 2025

We might need to build the index of v1.12.0?

we should have built the index of v1.12.0: #5918

$ helm search repo karmada-charts -l
NAME                            CHART VERSION   APP VERSION     DESCRIPTION                      
karmada-charts/karmada          v1.12.0         v1.1.0          A Helm chart for karmada         
karmada-charts/karmada          v1.11.0         v1.1.0          A Helm chart for karmada         
karmada-charts/karmada          v1.10.0         v1.1.0          A Helm chart for karmada  

let me take a closer look at the cause.

@chaosi-zju
Copy link
Member

@sashalarsoo could you execute helm repo update and try again?

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
Status: No status
Development

No branches or pull requests

3 participants