Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions website/docs/r/release.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,64 @@ resource "helm_release" "example" {
}
```

## Example Usage - Chart Repository configured using GCS/S3

The provider also supports helm plugins such as GCS and S3 that add S3/GCS helm repositories by using `helm plugin install`

```hcl

# Install GCS plugin
`helm plugin install https://github.com/hayorov/helm-gcs.git`

# Run follow commands to setup GCS repository

# Init a new repository:
# helm gcs init gs://bucket/path

# Add your repository to Helm:
# helm repo add repo-name gs://bucket/path

# Push a chart to your repository:
# helm gcs push chart.tar.gz repo-name

# Update Helm cache:
# helm repo update

# Get your chart:

resource "helm_release" "GCS" {
name = "GCS"
chart = "path/chart"
}
```

```hcl

# Install AWS S3 plugin
`helm plugin install https://github.com/hypnoglow/helm-s3.git`

# Run follow commands to setup S3 repository

# Init a new repository:
# helm s3 init s3://my-helm-charts/stable/myapp

# Add your repository to Helm:
# helm repo add stable-myapp s3://my-helm-charts/stable/myapp/

# Push a chart to your repository:
# helm s3 push chart.tar.gz repo-name

# Update Helm cache:
# helm repo update

# Get your chart:

resource "helm_release" "GCS" {
name = "GCS"
chart = "path/chart"
}
```

## Example Usage - Chart Repository configured outside of Terraform

The provider also supports repositories that are added to the local machine outside of Terraform by running `helm repo add`
Expand Down