UPDATE
Changes from this fork were more or less merged to the upstream repository (https://github.com/mcuadros/terraform-provider-helm) and the upstream repository is becoming more stable. I'm going to contribute to upstream from now on, so master branch of this repo won't be maintained. You probably will have to modify your state file if you started using this fork, and now will switch to the upstream, although, you can just remove the releases from your state file, since this provider will just create them in the state file, if release exists in your cluster.
This is a quick and dirty fork of original mcuadros/terraform-provider-helm.
These are the changes made:
- Rename
helm_chart
tohelm_release
since that is the correct wording used by Helm. - Add
reuse_values
option to the release. - Use
dep
instead ofglide
and update Terraform and Helm dependencies.
Tests may not pass, but everything is working fine. This is a quick fork for getting the job done. The changes may will be submitted to the upstream.
- Website: https://www.terraform.io
- Mailing list: Google Groups
Clone repository to: $GOPATH/src/github.com/terraform-providers/terraform-provider-helm
$ mkdir -p $GOPATH/src/github.com/terraform-providers; cd $GOPATH/src/github.com/terraform-providers
$ git clone [email protected]:terraform-providers/terraform-provider-helm
Enter the provider directory and build the provider
$ cd $GOPATH/src/github.com/terraform-providers/terraform-provider-helm
$ make build
If you wish to work on the provider, you'll first need Go installed on your machine (version 1.8+ is required). You'll also need to correctly setup a GOPATH, as well as adding $GOPATH/bin
to your $PATH
.
To compile the provider, run make build
. This will build the provider and put the provider binary in the $GOPATH/bin
directory.
$ make build
...
$ $GOPATH/bin/terraform-provider-helm
...
In order to test the provider, you can simply run make test
.
$ make test
In order to run the full suite of Acceptance tests, run make testacc
.
Note: Acceptance tests create real resources, and often cost money to run.
$ make testacc