Skip to content

Commit

Permalink
Fix for helm extension overrides data type issue (#1424)
Browse files Browse the repository at this point in the history
* Fix for helm extension overrides data type issue

* Fix for the varaible type to be a list

Co-authored-by: Prasad Konka <pkonka@metrostar.com>
  • Loading branch information
konkapv and Prasad Konka committed Sep 1, 2022
1 parent 4d4b1d0 commit a694703
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ resource "helm_release" "custom-helm-deployment" {
chart = var.chart
version = var.chart_version

values = var.overrides
values = [jsonencode(var.overrides)]
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ variable "chart_version" {

variable "overrides" {
description = "Overrides for the helm chart values"
type = list(any)
default = []
type = any
default = {}
}

0 comments on commit a694703

Please sign in to comment.