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

Charts.yaml is missing when installing metallb in terraform submodule #1359

Closed
imyashkale opened this issue May 4, 2024 · 2 comments
Closed
Labels
bug upstream-helm Issue is in Helm not the provider

Comments

@imyashkale
Copy link

imyashkale commented May 4, 2024

#831
This issue was already raised but not fixed. I can fix this issue if required. I faced this today and then changed the module name it worked.
I can fix this just let me know

Terraform, Provider, Kubernetes and Helm Versions

Terraform version: v1.8.2
Provider version: v2.13.1
Kubernetes version: v2.29.0

Affected Resource(s)

Terraform Configuration Files

resource "kubernetes_namespace_v1" "crossplane" {
  metadata {
    name = "crossplane-system"
  }
}

resource "helm_release" "crossplane" {
    name        = "crossplane"
    chart       = "crossplane"
    repository  = "https://charts.crossplane.io/stable/"
    version     = "1.8.1"
    namespace   = kubernetes_namespace_v1.crossplane.metadata[0].name
    description = "Crossplane Helm chart"
}

Debug Output

NOTE: In addition to Terraform debugging, please set HELM_DEBUG=1 to enable debugging info from helm.

Panic Output

Chart.yaml not found

Steps to Reproduce

  1. rmake sure epo and module name same. (installing crossplane with module named crossplane)
  2. terraform apply

Expected Behavior

Install the chart

Actual Behavior

Its trows error saying Chart.yaml doesnt exists

References

#831

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment
@imyashkale imyashkale added the bug label May 4, 2024
@alexsomesan
Copy link
Member

@imyashkale What's your proposed solution to this issue?

Also, for the sake of preserving context, it would be helpful to not duplicate existing issues, especially when they already include conversations that carry information relevant to solving the issue. Duplicates will obscure these conversations and information will get lost.

@alexsomesan
Copy link
Member

alexsomesan commented May 7, 2024

Update: this stems from an upstream issue in Helm.
Closing this, let's continue the conversation in the earlier issue.

@alexsomesan alexsomesan added upstream-terraform upstream-helm Issue is in Helm not the provider and removed upstream-terraform labels May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug upstream-helm Issue is in Helm not the provider
Projects
None yet
Development

No branches or pull requests

2 participants