Skip to content

Commit 2973ddd

Browse files
committed
[safer-cluster] Fix 'uses the private endpoint' test.
1 parent 19ea487 commit 2973ddd

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

autogen/safer-cluster/variables.tf.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,8 @@ variable "enable_shielded_nodes" {
305305

306306
variable "enable_private_endpoint" {
307307
type = bool
308-
description = "(Beta) Whether the master's internal IP address is used as the cluster endpoint"
309-
default = false
308+
description = "When true, the cluster's private endpoint is used as the cluster endpoint and access through the public endpoint is disabled. When false, either endpoint can be used. This field only applies to private clusters, when enable_private_nodes is true"
309+
default = true
310310
}
311311

312312
variable "skip_provisioners" {

modules/safer-cluster-update-variant/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ For simplicity, we suggest using `roles/container.admin` and
209209
| default\_max\_pods\_per\_node | The maximum number of pods to schedule per node | string | `"110"` | no |
210210
| description | The description of the cluster | string | `""` | no |
211211
| enable\_intranode\_visibility | Whether Intra-node visibility is enabled for this cluster. This makes same node pod to pod traffic visible for VPC network | bool | `"false"` | no |
212-
| enable\_private\_endpoint | (Beta) Whether the master's internal IP address is used as the cluster endpoint | bool | `"false"` | no |
212+
| enable\_private\_endpoint | When true, the cluster's private endpoint is used as the cluster endpoint and access through the public endpoint is disabled. When false, either endpoint can be used. This field only applies to private clusters, when enable_private_nodes is true | bool | `"true"` | no |
213213
| enable\_shielded\_nodes | Enable Shielded Nodes features on all nodes in this cluster. | bool | `"true"` | no |
214214
| enable\_vertical\_pod\_autoscaling | Vertical Pod Autoscaling automatically adjusts the resources of pods controlled by it | bool | `"false"` | no |
215215
| grant\_registry\_access | Grants created cluster-specific service account storage.objectViewer role. | bool | `"false"` | no |

modules/safer-cluster-update-variant/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,8 @@ variable "enable_shielded_nodes" {
305305

306306
variable "enable_private_endpoint" {
307307
type = bool
308-
description = "(Beta) Whether the master's internal IP address is used as the cluster endpoint"
309-
default = false
308+
description = "When true, the cluster's private endpoint is used as the cluster endpoint and access through the public endpoint is disabled. When false, either endpoint can be used. This field only applies to private clusters, when enable_private_nodes is true"
309+
default = true
310310
}
311311

312312
variable "skip_provisioners" {

modules/safer-cluster/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ For simplicity, we suggest using `roles/container.admin` and
209209
| default\_max\_pods\_per\_node | The maximum number of pods to schedule per node | string | `"110"` | no |
210210
| description | The description of the cluster | string | `""` | no |
211211
| enable\_intranode\_visibility | Whether Intra-node visibility is enabled for this cluster. This makes same node pod to pod traffic visible for VPC network | bool | `"false"` | no |
212-
| enable\_private\_endpoint | (Beta) Whether the master's internal IP address is used as the cluster endpoint | bool | `"false"` | no |
212+
| enable\_private\_endpoint | When true, the cluster's private endpoint is used as the cluster endpoint and access through the public endpoint is disabled. When false, either endpoint can be used. This field only applies to private clusters, when enable_private_nodes is true | bool | `"true"` | no |
213213
| enable\_shielded\_nodes | Enable Shielded Nodes features on all nodes in this cluster. | bool | `"true"` | no |
214214
| enable\_vertical\_pod\_autoscaling | Vertical Pod Autoscaling automatically adjusts the resources of pods controlled by it | bool | `"false"` | no |
215215
| grant\_registry\_access | Grants created cluster-specific service account storage.objectViewer role. | bool | `"false"` | no |

modules/safer-cluster/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,8 @@ variable "enable_shielded_nodes" {
305305

306306
variable "enable_private_endpoint" {
307307
type = bool
308-
description = "(Beta) Whether the master's internal IP address is used as the cluster endpoint"
309-
default = false
308+
description = "When true, the cluster's private endpoint is used as the cluster endpoint and access through the public endpoint is disabled. When false, either endpoint can be used. This field only applies to private clusters, when enable_private_nodes is true"
309+
default = true
310310
}
311311

312312
variable "skip_provisioners" {

0 commit comments

Comments
 (0)