Skip to content

Commit

Permalink
PLT-323-3: Added support for override param for helm chart in system …
Browse files Browse the repository at this point in the history
…profile (#63)
  • Loading branch information
SivaanandM authored Apr 14, 2023
1 parent 960cdda commit 928a466
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions spectro-cluster-common-system.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ locals {

cluster_system_profiles_map = {
for v in var.clusters :
v.name => concat(try([v.profiles.system], []), [])
v.name => try(concat(try([v.profiles.system], []), [])[0], {})
}

// local.cluster_system_profiles_map should contain information provided by user in cluster.yaml file
Expand Down Expand Up @@ -67,10 +67,19 @@ locals {

}

output "debug_cluster_system_profiles_map" {
output "cluster_system_profiles_map" {
value = local.cluster_system_profiles_map
}

output "debug_system_pack_manifests" {
value = local.system_pack_manifests

#output "debug_system_pack_manifests" {
# value = local.system_pack_manifests
#}
#
output "system-pack-params-replaced"{
value = local.system-pack-params-replaced
}

output "cluster-profile-pack-map" {
value = local.cluster-profile-pack-map
}

0 comments on commit 928a466

Please sign in to comment.