Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ information.

```hcl
provider "helm" {
kubernetes = {
kubernetes {
config_path = "~/.kube/config"
}
}
Expand Down
10 changes: 5 additions & 5 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Try the [hands-on tutorial](https://learn.hashicorp.com/tutorials/terraform/helm

```terraform
provider "helm" {
kubernetes = {
kubernetes {
config_path = "~/.kube/config"
}

Expand Down Expand Up @@ -80,7 +80,7 @@ The easiest way is to supply a path to your kubeconfig file using the `config_pa

```terraform
provider "helm" {
kubernetes = {
kubernetes {
config_path = "~/.kube/config"
}
}
Expand All @@ -90,7 +90,7 @@ The provider also supports multiple paths in the same way that kubectl does usin

```terraform
provider "helm" {
kubernetes = {
kubernetes {
config_paths = [
"/path/to/config_a.yaml",
"/path/to/config_b.yaml"
Expand Down Expand Up @@ -127,7 +127,7 @@ Some cloud providers have short-lived authentication tokens that can expire rela

```terraform
provider "helm" {
kubernetes = {
kubernetes {
host = var.cluster_endpoint
cluster_ca_certificate = base64decode(var.cluster_ca_cert)
exec {
Expand All @@ -143,7 +143,7 @@ For example, to [authenticate with GKE](https://registry.terraform.io/providers/

```terraform
provider "helm" {
kubernetes = {
kubernetes {
host = "https://${data.google_container_cluster.my_cluster.endpoint}"
token = data.google_client_config.provider.access_token
cluster_ca_certificate = base64decode(
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ Provider supports grabbing charts from an OCI repository:

```terraform
provider "helm" {
kubernetes = {
kubernetes {
config_path = "~/.kube/config"
}

Expand Down
2 changes: 1 addition & 1 deletion helm/resource_helm_release_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1805,7 +1805,7 @@ func TestAccResourceRelease_OCI_registry_login(t *testing.T) {
func testAccHelmReleaseConfig_OCI_login_provider(kubeconfig, resource, ns, name, repo, version, username, password, chart string) string {
return fmt.Sprintf(`
provider "helm" {
kubernetes = {
kubernetes {
config_path = "%s"
}
registries = [{
Expand Down
2 changes: 1 addition & 1 deletion helm/testing/config-da-basic/test.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ resource "kind_cluster" "demo" {
}

provider "helm" {
kubernetes = {
kubernetes {
host = kind_cluster.demo.endpoint
cluster_ca_certificate = kind_cluster.demo.cluster_ca_certificate
client_certificate = kind_cluster.demo.client_certificate
Expand Down