Skip to content

Commit

Permalink
Modified NFS Helm Chart resource in Terraform to use the locally down…
Browse files Browse the repository at this point in the history
…loaded chart instead of pulling it from the repository
  • Loading branch information
kponichtera authored and JMGaljaard committed Sep 26, 2022
1 parent fdc4457 commit cb18ae3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
3 changes: 1 addition & 2 deletions terraform/terraform-dependencies/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions terraform/terraform-dependencies/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit cb18ae3

Please sign in to comment.