Skip to content

Commit

Permalink
terraform: Remove temp_opt_out_node_purpose_label_core_nodes variable
Browse files Browse the repository at this point in the history
No longer used anywhere
  • Loading branch information
yuvipanda committed Dec 16, 2023
1 parent b460ce3 commit f3c5402
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion terraform/gcp/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ resource "google_container_node_pool" "core" {
# Faster disks provide faster image pulls!
disk_type = "pd-balanced"

resource_labels = var.temp_opt_out_node_purpose_label_core_nodes ? {} : {
resource_labels = {
"node-purpose" : "core"
}

Expand Down
7 changes: 0 additions & 7 deletions terraform/gcp/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -240,13 +240,6 @@ variable "core_node_max_count" {
EOT
}

# FIXME: Remove temp_opt_out_node_purpose_label_core_nodes when its no longer referenced.
# See https://github.com/2i2c-org/infrastructure/issues/3405.
variable "temp_opt_out_node_purpose_label_core_nodes" {
type = bool
default = false
}

variable "enable_network_policy" {
type = bool
default = false
Expand Down

0 comments on commit f3c5402

Please sign in to comment.