Skip to content

burdiyan/terraform-provider-helm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTE

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 to helm_release since that is the correct wording used by Helm.
  • Add reuse_values option to the release.
  • Use dep instead of glide 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.

Terraform Provider for Helm

Requirements

  • Terraform 0.10.x
  • Go 1.8 (to build the provider plugin)

Building The Provider

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

Using the provider

Developing the Provider

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

About

Terraform Helm provider

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 89.3%
  • Shell 6.7%
  • Makefile 4.0%