Questions tagged [terraform-provider-helm]

Terraform Provider for Helm

Manage installed Charts in your Kubernetes cluster, in the same way Helm does, through Terraform.

Terraform Registry: https://registry.terraform.io/providers/hashicorp/helm/latest

Source Code: https://github.com/terraform-providers/terraform-provider-helm

18 questions
2
votes
1 answer

terraform helm_release resource for official airflow helm chart

I was trying to deploy official helm chart for airflow using terraform helm release. But it says the chart repository not found. i put the repository url. May be the url is wrong. repository = "https://airflow.apache.org" chart =…
2
votes
1 answer

How to update the helm release through terraform

helm ls NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION portworx default 1 2022-08-25 06:01:24.991655337 +0000 UTC deployed Can someone help me in updating the above helm resources using…
2
votes
1 answer

How to pass values from the terraform to the Helm chart values.yaml file?

I am creating ingress-nginx controller using the Helm chart in Terraform. I do have a values.yaml file where I can add the customized information, but I need to pass the SSL Certificate value from the Terraform resource so how can I do that? I am…
Bob786
  • 45
  • 1
  • 6
1
vote
1 answer

How to clean-up from Terraform the k8s resources left up and running by helm_release resource after a destroy

I am experiencing an issue using the helm_release resource in Terraform. I basically deployed a kube-prometheus-stack that includes many k8s resources and that works smoothly. The problem arose when I tried to destroy (or remove) this part, since…
1
vote
0 answers

How to pass array values from the terraform to the Helm chart values.yaml file using terraform-provider?

I am using terraform helm provider to pass values to helm values.yaml. I have a json file of field 'test_groups': ['TEST_GROUP_1', 'TEST_GROUP_2']. I am using join function to parse this json and facing an issue with it set { name =…
1
vote
1 answer

Vault Helm chart run with terraform does not create an ingress on kubernetes

I'm trying to install Vault on a Kubernetes Cluster by running the Vault Helm chart out of Terraform. For some reason the ingress doesn't get created. When I forward the pods port the ui comes up fine, so I assume everything is working, but the…
0
votes
1 answer

Terraform EKS Issue with Reading Cluster Data within Provider

I have a problem with reading data from the EKS Cluster module from within the kubernetes and helm provider. I was at first using cluster_name and trying to read the data with the use of data. However, I cam across an issue whereby which I couldn't…
0
votes
1 answer

Helm Repositories Are Not Getting Created in Terraform

I got a predicament, where I am trying to spin up our helm repositories with Terraform. The problem is that they are not getting deployed with the EKS Infrastructure. I have tried the depends_on method, as I am ingesting a module, but that doesn't…
0
votes
0 answers

Hashicorp Helm provider pass on multiple values in set

I am trying to pass on TCP exposed ports via Terraform's "helm_release" but I keep getting an error. So far I have tried the following: resource "helm_release" "ingress-nginx" { name = "ingress-nginx" repository =…
0
votes
1 answer

terraform helm release and kyverno

I can not get version to work in helm_release for terraform against kyverno, I've tried "v1.7.4" and "1.74", when I leave it off it deploys v1.7.4, no problem. What's it expecting as an input so the version I use is locked?…
risail
  • 509
  • 5
  • 14
  • 37
0
votes
1 answer

Authenticating on AKS for deploying a Helm release with Terraform

I am trying to do a Helm chart deployment through Terraform code on AKS. The TF code that I have will create a resource in Datadog from which I will grab an output value that will be passed to my Helm release to be deployed on my cluster. It only…
0
votes
1 answer

Is it possible to fetch the image tag from a deployment in EKS using terraform kubernetes provider?

Context: I'm reusing terraform modules and I deploy microservices using helm provider within terraform. Problem: I'm trying to translate this line into terraform code, to get the current image tag live from prod (in the interest of reusing it). I'm…
0
votes
1 answer

How to create aws-load-balancer-controller on specific node in aws EKS

I'm trying to install aws-load-balancer-controller in my EKS cluster using terraform (resource "helm_release" "aws_load_balancer_controller"). I want the pod (pod/aws-load-balancer-controller-555d8dcf46-zz6tn) created in this process should be…
0
votes
1 answer

Mount Kubernetes ConfigMap to Helm Chart values.yaml inside volume[ ] settings

Hello iam trying to insert a Kubernetes ConfigMap inside the cert-manager Helm Chart. The Helm Chart gets defined with a values.yaml. The needed ConfigMap is already defined with the corresponding data inside the same namespace as my Helm…
0
votes
0 answers

Terraform helm_release destroys all other helm releases

We have three services that we are trying to deploy to a k8s cluster with Terraform helm_release. Each service has something similar to release.tf resource "helm_release" "someService" { count = var.deploy_apps ? 1 : 0 name = "someService" …
1
2