Skip to content

Commit

Permalink
feat(main): take node_config_defaults out of beta
Browse files Browse the repository at this point in the history
`node_config_defaults` is GA in all our supported versions
  • Loading branch information
wyardley committed Sep 14, 2024
1 parent 151274e commit 578d8eb
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autogen/main/cluster.tf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,6 @@ resource "google_container_cluster" "primary" {
}
}
}
{% if beta_cluster %}

node_pool_defaults {
node_config_defaults {
Expand All @@ -674,13 +673,14 @@ resource "google_container_cluster" "primary" {
}
{% endif %}
{% if autopilot_cluster != true %}
{% if beta_cluster %}
gcfs_config {
enabled = var.enable_gcfs
}
{% endif %}
{% endif %}
}
}
{% endif %}
{% if beta_cluster %}

depends_on = [google_project_iam_member.service_agent]
Expand Down
5 changes: 5 additions & 0 deletions cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,11 @@ resource "google_container_cluster" "primary" {
}
}
}

node_pool_defaults {
node_config_defaults {
}
}
}
/******************************************
Create Container Cluster node pools
Expand Down
5 changes: 5 additions & 0 deletions modules/private-cluster-update-variant/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,11 @@ resource "google_container_cluster" "primary" {
}
}
}

node_pool_defaults {
node_config_defaults {
}
}
}
/******************************************
Create Container Cluster node pools
Expand Down
5 changes: 5 additions & 0 deletions modules/private-cluster/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,11 @@ resource "google_container_cluster" "primary" {
}
}
}

node_pool_defaults {
node_config_defaults {
}
}
}
/******************************************
Create Container Cluster node pools
Expand Down

0 comments on commit 578d8eb

Please sign in to comment.