File tree Expand file tree Collapse file tree 4 files changed +48
-0
lines changed
beta-private-cluster-update-variant
beta-public-cluster-update-variant
private-cluster-update-variant Expand file tree Collapse file tree 4 files changed +48
-0
lines changed Original file line number Diff line number Diff line change @@ -375,6 +375,18 @@ resource "random_id" "name" {
375375 )
376376 )
377377 },
378+ {
379+ taints = join(",",
380+ sort(
381+ flatten(
382+ concat(
383+ [for all_taints in local.node_pools_taints["all"] : "all/${all_taints.key}/${all_taints.value}/${all_taints.effect}"],
384+ [for each_pool_taint in local.node_pools_taints[each.value["name"]] : "${each.value["name"]}/${each_pool_taint.key}/${each_pool_taint.value}/${each_pool_taint.effect}"],
385+ )
386+ )
387+ )
388+ )
389+ },
378390 {
379391 metadata = join(",",
380392 sort(
Original file line number Diff line number Diff line change @@ -343,6 +343,18 @@ resource "random_id" "name" {
343343 )
344344 )
345345 },
346+ {
347+ taints = join (" ," ,
348+ sort (
349+ flatten (
350+ concat (
351+ [for all_taints in local . node_pools_taints [" all" ] : " all/${ all_taints . key } /${ all_taints . value } /${ all_taints . effect } " ],
352+ [for each_pool_taint in local . node_pools_taints [each . value [" name" ]] : " ${ each . value [" name" ]} /${ each_pool_taint . key } /${ each_pool_taint . value } /${ each_pool_taint . effect } " ],
353+ )
354+ )
355+ )
356+ )
357+ },
346358 {
347359 metadata = join (" ," ,
348360 sort (
Original file line number Diff line number Diff line change @@ -324,6 +324,18 @@ resource "random_id" "name" {
324324 )
325325 )
326326 },
327+ {
328+ taints = join (" ," ,
329+ sort (
330+ flatten (
331+ concat (
332+ [for all_taints in local . node_pools_taints [" all" ] : " all/${ all_taints . key } /${ all_taints . value } /${ all_taints . effect } " ],
333+ [for each_pool_taint in local . node_pools_taints [each . value [" name" ]] : " ${ each . value [" name" ]} /${ each_pool_taint . key } /${ each_pool_taint . value } /${ each_pool_taint . effect } " ],
334+ )
335+ )
336+ )
337+ )
338+ },
327339 {
328340 metadata = join (" ," ,
329341 sort (
Original file line number Diff line number Diff line change @@ -241,6 +241,18 @@ resource "random_id" "name" {
241241 )
242242 )
243243 },
244+ {
245+ taints = join (" ," ,
246+ sort (
247+ flatten (
248+ concat (
249+ [for all_taints in local . node_pools_taints [" all" ] : " all/${ all_taints . key } /${ all_taints . value } /${ all_taints . effect } " ],
250+ [for each_pool_taint in local . node_pools_taints [each . value [" name" ]] : " ${ each . value [" name" ]} /${ each_pool_taint . key } /${ each_pool_taint . value } /${ each_pool_taint . effect } " ],
251+ )
252+ )
253+ )
254+ )
255+ },
244256 {
245257 metadata = join (" ," ,
246258 sort (
You can’t perform that action at this time.
0 commit comments