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

Support for charts in local directory #63

Closed
stensson opened this issue Mar 28, 2018 · 2 comments
Closed

Support for charts in local directory #63

stensson opened this issue Mar 28, 2018 · 2 comments

Comments

@stensson
Copy link

Background

We use a bunch of local helm charts, currently located in a directory structure in our Git repository.

When starting to adopt Terraform and installing our helm releases using terraform-provider-helm, we discovered that this structure of local charts is not supported.

Even though https://godoc.org/k8s.io/helm/pkg/chartutil#Load supports both directory and file, it seems that terraform-provider-helm requires a tar.gz representation of the chart. This requires us to zip each chart directory before installing any helm release, which seems unecessary.

Feature request

Could terraform-provider-helm also support local directories without requiring them in tar.gz form?

@worrel
Copy link

worrel commented Apr 3, 2018

FWIW I've not had any issues installing local charts e.g

resource "helm_release" "my-release" {
    name      = "dev-app"
    chart     = "./charts/api"
}

works for me, with ./charts/api being just a regular chart directory not an archive.

@stensson
Copy link
Author

stensson commented Apr 3, 2018

Yes, it seems this was a misunderstanding on my part. Got it working now.

Thanks for the help! Closing the ticket.

@stensson stensson closed this as completed Apr 3, 2018
@ghost ghost locked and limited conversation to collaborators Apr 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants