Skip to content

Commit

Permalink
fix: keda variable issues (#1339)
Browse files Browse the repository at this point in the history
  • Loading branch information
lemaitre-aneo authored Dec 9, 2024
2 parents d3327a4 + f9c5154 commit a0ed39c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions infrastructure/quick-deploy/gcp/keda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ module "keda" {
}
image_pull_secrets = var.keda.pull_secrets
node_selector = var.keda.node_selector
helm_chart_repository = try(coalesce(var.keda.helm_chart_repository), var.helm_charts.repository)
helm_chart_version = try(coalesce(var.keda.helm_chart_version), var.helm_charts.version)
helm_chart_repository = try(coalesce(var.keda.helm_chart_repository), var.helm_charts.keda.repository)
helm_chart_version = try(coalesce(var.keda.helm_chart_version), var.helm_charts.keda.version)
metrics_server_dns_policy = var.keda.metrics_server_dns_policy
metrics_server_use_host_network = var.keda.metrics_server_use_host_network
}
}
4 changes: 2 additions & 2 deletions infrastructure/quick-deploy/gcp/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ variable "keda" {
node_selector = optional(any, {})
metrics_server_dns_policy = optional(string, "ClusterFirst")
metrics_server_use_host_network = optional(bool, false)
helm_chart_repository = optional(string, "https://kedacore.github.io/charts")
helm_chart_version = optional(string, "2.9.4")
helm_chart_repository = optional(string)
helm_chart_version = optional(string)
})
default = {}
}
Expand Down
2 changes: 1 addition & 1 deletion versions.tfvars.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"armonik_versions": {
"armonik": "2.20.0",
"infra": "0.5.1-pre-2-e62c928",
"infra": "0.6.1-pre1-fbd66b9",
"infra_plugins": "0.1.1",
"core": "0.27.2",
"api": "3.19.0",
Expand Down

0 comments on commit a0ed39c

Please sign in to comment.