Skip to content

Commit f7ca2c8

Browse files
committed
feat: propagate components_sets to every component
Some were missing it, even though it's supposed to be on every component. Also adjusting some of the formatting (missing commas) to align with `helm_releases` in the other clouds to help in diffing.
1 parent 6e09025 commit f7ca2c8

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

main.tf

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,10 @@ resource "helm_release" "castai_evictor_ext" {
598598
version = var.evictor_ext_version
599599
values = var.evictor_ext_values
600600

601+
set = concat(
602+
local.set_components_sets,
603+
)
604+
601605
depends_on = [helm_release.castai_evictor]
602606
}
603607

@@ -740,7 +744,7 @@ resource "helm_release" "castai_kvisor" {
740744
[for k, v in var.kvisor_controller_extra_args : {
741745
name = "controller.extraArgs.${k}"
742746
value = v
743-
}]
747+
}],
744748
)
745749

746750
set_sensitive = local.set_sensitive_apikey
@@ -774,7 +778,7 @@ resource "helm_release" "castai_kvisor_self_managed" {
774778
[for k, v in var.kvisor_controller_extra_args : {
775779
name = "controller.extraArgs.${k}"
776780
value = v
777-
}]
781+
}],
778782
)
779783

780784
set_sensitive = local.set_sensitive_apikey

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ variable "castai_components_labels" {
103103

104104
variable "castai_components_sets" {
105105
type = map(string)
106-
description = "Optional additional 'set' configurations for helm resources."
106+
description = "Optional additional 'set' configurations for every CAST AI Helm release."
107107
default = {}
108108
}
109109

0 commit comments

Comments
 (0)