Skip to content

Commit

Permalink
Revert "Modified NFS Helm Chart resource in Terraform to use the loca…
Browse files Browse the repository at this point in the history
…lly downloaded chart instead of pulling it from the repository"

This reverts commit cb18ae3.
  • Loading branch information
JMGaljaard committed Oct 5, 2022
1 parent 083b0a6 commit 89c100a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion terraform/terraform-dependencies/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ resource "kustomization_resource" "training_operator" {
# Create NFS resource
resource "helm_release" "nfs_client_provisioner" {
name = var.nfs_provider_information.release_name
chart = "charts/nfs-server-provisioner-1.1.3.tgz"
repository = var.nfs_provisioner_repo_url
chart = var.nfs_provider_information.chart_name

namespace = var.nfs_provider_information.namespace
create_namespace = true
Expand Down
5 changes: 5 additions & 0 deletions terraform/terraform-dependencies/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,8 @@ 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"
}

0 comments on commit 89c100a

Please sign in to comment.