Skip to content

Commit

Permalink
fix(node_pools): Update Variants: Add recreate for `secondary_boot_di…
Browse files Browse the repository at this point in the history
…sk` and `local_ssd_ephemeral_count` (beta) (#2139)
  • Loading branch information
zepellin authored Oct 15, 2024
1 parent e342e4c commit 66231d5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions autogen/main/cluster.tf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,9 @@ locals {
"enable_secure_boot",
"enable_integrity_monitoring",
"local_ssd_count",
{% if beta_cluster %}
"local_ssd_ephemeral_count",
{% endif %}
"machine_type",
"placement_policy",
"max_pods_per_node",
Expand All @@ -723,6 +726,7 @@ locals {
"reservation_affinity_key",
"reservation_affinity_values",
"enable_confidential_nodes",
"secondary_boot_disk",
]
}

Expand Down
2 changes: 2 additions & 0 deletions modules/beta-private-cluster-update-variant/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,7 @@ locals {
"enable_secure_boot",
"enable_integrity_monitoring",
"local_ssd_count",
"local_ssd_ephemeral_count",
"machine_type",
"placement_policy",
"max_pods_per_node",
Expand All @@ -619,6 +620,7 @@ locals {
"reservation_affinity_key",
"reservation_affinity_values",
"enable_confidential_nodes",
"secondary_boot_disk",
]
}

Expand Down
2 changes: 2 additions & 0 deletions modules/beta-public-cluster-update-variant/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,7 @@ locals {
"enable_secure_boot",
"enable_integrity_monitoring",
"local_ssd_count",
"local_ssd_ephemeral_count",
"machine_type",
"placement_policy",
"max_pods_per_node",
Expand All @@ -598,6 +599,7 @@ locals {
"reservation_affinity_key",
"reservation_affinity_values",
"enable_confidential_nodes",
"secondary_boot_disk",
]
}

Expand Down
1 change: 1 addition & 0 deletions modules/private-cluster-update-variant/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,7 @@ locals {
"reservation_affinity_key",
"reservation_affinity_values",
"enable_confidential_nodes",
"secondary_boot_disk",
]
}

Expand Down

0 comments on commit 66231d5

Please sign in to comment.