Skip to content

Commit 57649ff

Browse files
committed
chore(review): Delete extra example and merge with simple_regional_private
1 parent ab0d07f commit 57649ff

File tree

26 files changed

+5
-323
lines changed

26 files changed

+5
-323
lines changed

examples/simple_regional_private/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ This example illustrates how to create a simple private cluster.
99
|------|-------------|------|---------|:--------:|
1010
| cluster\_name\_suffix | A suffix to append to the default cluster name | `string` | `""` | no |
1111
| compute\_engine\_service\_account | Service account to associate to the nodes in the cluster | `any` | n/a | yes |
12+
| enable\_k8s\_beta\_apis | K8S beta apis to enable within the cluster | `any` | n/a | yes |
1213
| ip\_range\_pods | The secondary ip range to use for pods | `any` | n/a | yes |
1314
| network | The VPC network to host the cluster in | `any` | n/a | yes |
1415
| project\_id | The project ID to host the cluster in | `any` | n/a | yes |

examples/simple_regional_private/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ module "gke" {
5151
default_max_pods_per_node = 20
5252
remove_default_node_pool = true
5353
deletion_protection = false
54+
enable_k8s_beta_apis = var.enable_k8s_beta_apis
5455

5556
node_pools = [
5657
{

examples/simple_regional_private/variables.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,6 @@ variable "compute_engine_service_account" {
4343
description = "Service account to associate to the nodes in the cluster"
4444
}
4545

46+
variable "enable_k8s_beta_apis" {
47+
description = "K8S beta apis to enable within the cluster"
48+
}

examples/simple_regional_private_with_beta_apis/README.md

Lines changed: 0 additions & 43 deletions
This file was deleted.

examples/simple_regional_private_with_beta_apis/main.tf

Lines changed: 0 additions & 78 deletions
This file was deleted.

examples/simple_regional_private_with_beta_apis/outputs.tf

Lines changed: 0 additions & 35 deletions
This file was deleted.

examples/simple_regional_private_with_beta_apis/test_outputs.tf

Lines changed: 0 additions & 58 deletions
This file was deleted.

examples/simple_regional_private_with_beta_apis/variables.tf

Lines changed: 0 additions & 48 deletions
This file was deleted.

examples/simple_regional_private_with_beta_apis/versions.tf

Lines changed: 0 additions & 27 deletions
This file was deleted.

metadata.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,6 @@ spec:
118118
location: examples/simple_regional_private
119119
- name: simple_regional_private_beta
120120
location: examples/simple_regional_private_beta
121-
- name: simple_regional_private_with_beta_apis
122-
location: examples/simple_regional_private_with_beta_apis
123121
- name: simple_regional_private_with_cluster_version
124122
location: examples/simple_regional_private_with_cluster_version
125123
- name: simple_regional_with_gateway_api

0 commit comments

Comments
 (0)