Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid repository cache path #319

Closed
duxet opened this issue Aug 22, 2019 · 3 comments
Closed

Invalid repository cache path #319

duxet opened this issue Aug 22, 2019 · 3 comments

Comments

@duxet
Copy link

duxet commented Aug 22, 2019

Terraform Version

Terraform v0.12.6

  • provider.helm v0.10.2

Affected Resource(s)

  • helm_repository

Terraform Configuration Files

provider "helm" {
  home         = "${path.root}/.helm"
}

data "helm_repository" "stable" {
  name = "stable"
  url  = "https://kubernetes-charts.storage.googleapis.com"
}

data "helm_repository" "rimusz" {
  name = "rimusz"
  url  = "https://charts.rimusz.net"
}

Debug Output

https://gist.github.com/duxet/15005bbd91393462f9c9328f7a0cd47a

Panic Output

Expected Behavior

.helm/repository/cache/ path should be used for repository cache

Actual Behavior

repository cache path gets "duplicated": .helm/repository/cache/.helm/repository/cache/ and breaks repository data loading process

Steps to Reproduce

  1. terraform plan

Important Factoids

home = "${path.root}/.helm" configuration was working fine with Terraform 0.11

References

@duxet
Copy link
Author

duxet commented Aug 22, 2019

home = "${abspath(path.root)}/.helm" works fine, so looks like home cannot be set to relative path with Terraform 0.12

@mcuadros
Copy link
Collaborator

Closing this issue since is making reference to a version based on Helm 2, if this is still valid to the master branch please reopen it. Thanks.

@ghost
Copy link

ghost commented May 11, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked and limited conversation to collaborators May 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants