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

Update helm charts which are declared in Terraform #6624

Closed
secustor opened this issue Jun 28, 2020 · 2 comments · Fixed by #6631
Closed

Update helm charts which are declared in Terraform #6624

secustor opened this issue Jun 28, 2020 · 2 comments · Fixed by #6631
Assignees
Labels
manager:terraform Terraform package manager type:feature Feature (new functionality)

Comments

@secustor
Copy link
Collaborator

secustor commented Jun 28, 2020

What would you like Renovate to be able to do?
We use Terraform to handle pretty much all of our infrastructure including Kubernetes and the deployments on it.
To extend the coverage of RenovateBot regarding this topic, it should also update versions of helm charts which are deployed using Terraform.

resource "helm_release" "example" {
  name       = "my-redis-release"
  repository = "https://kubernetes-charts.storage.googleapis.com" 
  chart      = "redis"
  version    = "6.0.1"
}

Describe the solution you'd like
The helm data source can be reused here.
The logic would be implemented in the Terraform manager and would look for occurrences of resource "helm_release" in *.tf files to identify dependencies.

Additional context
For now variable resolutions like this are out of scope.

resource "helm_release" "example" {
  name       = "my-redis-release"
  repository = "https://kubernetes-charts.storage.googleapis.com" 
  chart      = "redis"
  version    = var.redis_chart_version
}

variable "redis_chart_version" {
  type    = string 
  default = "6.0.1"
}

You can assign me this issue, if you are interested.

@rarkins
Copy link
Collaborator

rarkins commented Jun 28, 2020

Sounds great

@renovate-release
Copy link
Collaborator

🎉 This issue has been resolved in version 21.22.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
manager:terraform Terraform package manager type:feature Feature (new functionality)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants