From cb18ae3fdb59554f4798116e4bcf1b79c6cdee8a Mon Sep 17 00:00:00 2001 From: Konrad Ponichtera Date: Fri, 23 Sep 2022 00:05:17 +0200 Subject: [PATCH] Modified NFS Helm Chart resource in Terraform to use the locally downloaded chart instead of pulling it from the repository --- terraform/terraform-dependencies/main.tf | 3 +-- terraform/terraform-dependencies/variables.tf | 5 ----- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/terraform/terraform-dependencies/main.tf b/terraform/terraform-dependencies/main.tf index bc38cab3..108b76d8 100644 --- a/terraform/terraform-dependencies/main.tf +++ b/terraform/terraform-dependencies/main.tf @@ -15,8 +15,7 @@ resource "kustomization_resource" "training_operator" { # Create NFS resource resource "helm_release" "nfs_client_provisioner" { name = var.nfs_provider_information.release_name - repository = var.nfs_provisioner_repo_url - chart = var.nfs_provider_information.chart_name + chart = "charts/nfs-server-provisioner-1.1.3.tgz" namespace = var.nfs_provider_information.namespace create_namespace = true diff --git a/terraform/terraform-dependencies/variables.tf b/terraform/terraform-dependencies/variables.tf index c0905001..f4a67cbe 100644 --- a/terraform/terraform-dependencies/variables.tf +++ b/terraform/terraform-dependencies/variables.tf @@ -67,8 +67,3 @@ variable "nfs_provider_information" { } } -variable "nfs_provisioner_repo_url" { - description = "Repository URL to locate the utilized helm charts" - type = string - default = "https://charts.helm.sh/stable" -}