Skip to content

Commit de812cc

Browse files
committed
fix: removing gcloud_skip_download variable
1 parent 2cb4fae commit de812cc

File tree

31 files changed

+7
-78
lines changed

31 files changed

+7
-78
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ Then perform the following commands on the root folder:
131131
| enable\_shielded\_nodes | Enable Shielded Nodes features on all nodes in this cluster | bool | `"true"` | no |
132132
| firewall\_inbound\_ports | List of TCP ports for admission/webhook controllers | list(string) | `<list>` | no |
133133
| firewall\_priority | Priority rule for firewall rules | number | `"1000"` | no |
134-
| gcloud\_skip\_download | Whether to skip downloading gcloud (assumes gcloud is already available outside the module) | bool | `"true"` | no |
135134
| gcloud\_upgrade | Whether to upgrade gcloud at runtime | bool | `"false"` | no |
136135
| grant\_registry\_access | Grants created cluster-specific service account storage.objectViewer role. | bool | `"false"` | no |
137136
| horizontal\_pod\_autoscaling | Enable horizontal pod autoscaling addon | bool | `"true"` | no |

autogen/main/cluster.tf.tmpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,6 @@ module "gcloud_wait_for_cluster" {
538538
enabled = ! var.skip_provisioners
539539

540540
upgrade = var.gcloud_upgrade
541-
skip_download = var.gcloud_skip_download
542541

543542
create_cmd_entrypoint = "${path.module}/scripts/wait-for-cluster.sh"
544543
create_cmd_body = "${var.project_id} ${var.name}"

autogen/main/dns.tf.tmpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ module "gcloud_delete_default_kube_dns_configmap" {
2727
cluster_location = google_container_cluster.primary.location
2828
project_id = var.project_id
2929
upgrade = var.gcloud_upgrade
30-
skip_download = var.gcloud_skip_download
3130

3231

3332
kubectl_create_command = "${path.module}/scripts/delete-default-resource.sh kube-system configmap kube-dns"

autogen/main/variables.tf.tmpl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -548,12 +548,6 @@ variable "gcloud_upgrade" {
548548
default = false
549549
}
550550

551-
variable "gcloud_skip_download" {
552-
type = bool
553-
description = "Whether to skip downloading gcloud (assumes gcloud is already available outside the module)"
554-
default = true
555-
}
556-
557551
{% if beta_cluster %}
558552
variable "disable_default_snat" {
559553
type = bool

cluster.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,7 @@ module "gcloud_wait_for_cluster" {
321321
version = "~> 2.0.2"
322322
enabled = ! var.skip_provisioners
323323

324-
upgrade = var.gcloud_upgrade
325-
skip_download = var.gcloud_skip_download
324+
upgrade = var.gcloud_upgrade
326325

327326
create_cmd_entrypoint = "${path.module}/scripts/wait-for-cluster.sh"
328327
create_cmd_body = "${var.project_id} ${var.name}"

dns.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ module "gcloud_delete_default_kube_dns_configmap" {
2727
cluster_location = google_container_cluster.primary.location
2828
project_id = var.project_id
2929
upgrade = var.gcloud_upgrade
30-
skip_download = var.gcloud_skip_download
3130

3231

3332
kubectl_create_command = "${path.module}/scripts/delete-default-resource.sh kube-system configmap kube-dns"

modules/beta-private-cluster-update-variant/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ Then perform the following commands on the root folder:
175175
| firewall\_inbound\_ports | List of TCP ports for admission/webhook controllers | list(string) | `<list>` | no |
176176
| firewall\_priority | Priority rule for firewall rules | number | `"1000"` | no |
177177
| gce\_pd\_csi\_driver | (Beta) Whether this cluster should enable the Google Compute Engine Persistent Disk Container Storage Interface (CSI) Driver. | bool | `"false"` | no |
178-
| gcloud\_skip\_download | Whether to skip downloading gcloud (assumes gcloud is already available outside the module) | bool | `"true"` | no |
179178
| gcloud\_upgrade | Whether to upgrade gcloud at runtime | bool | `"false"` | no |
180179
| grant\_registry\_access | Grants created cluster-specific service account storage.objectViewer role. | bool | `"false"` | no |
181180
| horizontal\_pod\_autoscaling | Enable horizontal pod autoscaling addon | bool | `"true"` | no |

modules/beta-private-cluster-update-variant/cluster.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,8 +495,7 @@ module "gcloud_wait_for_cluster" {
495495
version = "~> 2.0.2"
496496
enabled = ! var.skip_provisioners
497497

498-
upgrade = var.gcloud_upgrade
499-
skip_download = var.gcloud_skip_download
498+
upgrade = var.gcloud_upgrade
500499

501500
create_cmd_entrypoint = "${path.module}/scripts/wait-for-cluster.sh"
502501
create_cmd_body = "${var.project_id} ${var.name}"

modules/beta-private-cluster-update-variant/dns.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ module "gcloud_delete_default_kube_dns_configmap" {
2727
cluster_location = google_container_cluster.primary.location
2828
project_id = var.project_id
2929
upgrade = var.gcloud_upgrade
30-
skip_download = var.gcloud_skip_download
3130

3231

3332
kubectl_create_command = "${path.module}/scripts/delete-default-resource.sh kube-system configmap kube-dns"

modules/beta-private-cluster-update-variant/variables.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -534,12 +534,6 @@ variable "gcloud_upgrade" {
534534
default = false
535535
}
536536

537-
variable "gcloud_skip_download" {
538-
type = bool
539-
description = "Whether to skip downloading gcloud (assumes gcloud is already available outside the module)"
540-
default = true
541-
}
542-
543537
variable "disable_default_snat" {
544538
type = bool
545539
description = "Whether to disable the default SNAT to support the private use of public IP addresses"

modules/beta-private-cluster/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ Then perform the following commands on the root folder:
153153
| firewall\_inbound\_ports | List of TCP ports for admission/webhook controllers | list(string) | `<list>` | no |
154154
| firewall\_priority | Priority rule for firewall rules | number | `"1000"` | no |
155155
| gce\_pd\_csi\_driver | (Beta) Whether this cluster should enable the Google Compute Engine Persistent Disk Container Storage Interface (CSI) Driver. | bool | `"false"` | no |
156-
| gcloud\_skip\_download | Whether to skip downloading gcloud (assumes gcloud is already available outside the module) | bool | `"true"` | no |
157156
| gcloud\_upgrade | Whether to upgrade gcloud at runtime | bool | `"false"` | no |
158157
| grant\_registry\_access | Grants created cluster-specific service account storage.objectViewer role. | bool | `"false"` | no |
159158
| horizontal\_pod\_autoscaling | Enable horizontal pod autoscaling addon | bool | `"true"` | no |

modules/beta-private-cluster/cluster.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,8 +422,7 @@ module "gcloud_wait_for_cluster" {
422422
version = "~> 2.0.2"
423423
enabled = ! var.skip_provisioners
424424

425-
upgrade = var.gcloud_upgrade
426-
skip_download = var.gcloud_skip_download
425+
upgrade = var.gcloud_upgrade
427426

428427
create_cmd_entrypoint = "${path.module}/scripts/wait-for-cluster.sh"
429428
create_cmd_body = "${var.project_id} ${var.name}"

modules/beta-private-cluster/dns.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ module "gcloud_delete_default_kube_dns_configmap" {
2727
cluster_location = google_container_cluster.primary.location
2828
project_id = var.project_id
2929
upgrade = var.gcloud_upgrade
30-
skip_download = var.gcloud_skip_download
3130

3231

3332
kubectl_create_command = "${path.module}/scripts/delete-default-resource.sh kube-system configmap kube-dns"

modules/beta-private-cluster/variables.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -534,12 +534,6 @@ variable "gcloud_upgrade" {
534534
default = false
535535
}
536536

537-
variable "gcloud_skip_download" {
538-
type = bool
539-
description = "Whether to skip downloading gcloud (assumes gcloud is already available outside the module)"
540-
default = true
541-
}
542-
543537
variable "disable_default_snat" {
544538
type = bool
545539
description = "Whether to disable the default SNAT to support the private use of public IP addresses"

modules/beta-public-cluster-update-variant/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ Then perform the following commands on the root folder:
166166
| firewall\_inbound\_ports | List of TCP ports for admission/webhook controllers | list(string) | `<list>` | no |
167167
| firewall\_priority | Priority rule for firewall rules | number | `"1000"` | no |
168168
| gce\_pd\_csi\_driver | (Beta) Whether this cluster should enable the Google Compute Engine Persistent Disk Container Storage Interface (CSI) Driver. | bool | `"false"` | no |
169-
| gcloud\_skip\_download | Whether to skip downloading gcloud (assumes gcloud is already available outside the module) | bool | `"true"` | no |
170169
| gcloud\_upgrade | Whether to upgrade gcloud at runtime | bool | `"false"` | no |
171170
| grant\_registry\_access | Grants created cluster-specific service account storage.objectViewer role. | bool | `"false"` | no |
172171
| horizontal\_pod\_autoscaling | Enable horizontal pod autoscaling addon | bool | `"true"` | no |

modules/beta-public-cluster-update-variant/cluster.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,8 +476,7 @@ module "gcloud_wait_for_cluster" {
476476
version = "~> 2.0.2"
477477
enabled = ! var.skip_provisioners
478478

479-
upgrade = var.gcloud_upgrade
480-
skip_download = var.gcloud_skip_download
479+
upgrade = var.gcloud_upgrade
481480

482481
create_cmd_entrypoint = "${path.module}/scripts/wait-for-cluster.sh"
483482
create_cmd_body = "${var.project_id} ${var.name}"

modules/beta-public-cluster-update-variant/dns.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ module "gcloud_delete_default_kube_dns_configmap" {
2727
cluster_location = google_container_cluster.primary.location
2828
project_id = var.project_id
2929
upgrade = var.gcloud_upgrade
30-
skip_download = var.gcloud_skip_download
3130

3231

3332
kubectl_create_command = "${path.module}/scripts/delete-default-resource.sh kube-system configmap kube-dns"

modules/beta-public-cluster-update-variant/variables.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -503,12 +503,6 @@ variable "gcloud_upgrade" {
503503
default = false
504504
}
505505

506-
variable "gcloud_skip_download" {
507-
type = bool
508-
description = "Whether to skip downloading gcloud (assumes gcloud is already available outside the module)"
509-
default = true
510-
}
511-
512506
variable "disable_default_snat" {
513507
type = bool
514508
description = "Whether to disable the default SNAT to support the private use of public IP addresses"

modules/beta-public-cluster/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ Then perform the following commands on the root folder:
144144
| firewall\_inbound\_ports | List of TCP ports for admission/webhook controllers | list(string) | `<list>` | no |
145145
| firewall\_priority | Priority rule for firewall rules | number | `"1000"` | no |
146146
| gce\_pd\_csi\_driver | (Beta) Whether this cluster should enable the Google Compute Engine Persistent Disk Container Storage Interface (CSI) Driver. | bool | `"false"` | no |
147-
| gcloud\_skip\_download | Whether to skip downloading gcloud (assumes gcloud is already available outside the module) | bool | `"true"` | no |
148147
| gcloud\_upgrade | Whether to upgrade gcloud at runtime | bool | `"false"` | no |
149148
| grant\_registry\_access | Grants created cluster-specific service account storage.objectViewer role. | bool | `"false"` | no |
150149
| horizontal\_pod\_autoscaling | Enable horizontal pod autoscaling addon | bool | `"true"` | no |

modules/beta-public-cluster/cluster.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,8 +403,7 @@ module "gcloud_wait_for_cluster" {
403403
version = "~> 2.0.2"
404404
enabled = ! var.skip_provisioners
405405

406-
upgrade = var.gcloud_upgrade
407-
skip_download = var.gcloud_skip_download
406+
upgrade = var.gcloud_upgrade
408407

409408
create_cmd_entrypoint = "${path.module}/scripts/wait-for-cluster.sh"
410409
create_cmd_body = "${var.project_id} ${var.name}"

modules/beta-public-cluster/dns.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ module "gcloud_delete_default_kube_dns_configmap" {
2727
cluster_location = google_container_cluster.primary.location
2828
project_id = var.project_id
2929
upgrade = var.gcloud_upgrade
30-
skip_download = var.gcloud_skip_download
3130

3231

3332
kubectl_create_command = "${path.module}/scripts/delete-default-resource.sh kube-system configmap kube-dns"

modules/beta-public-cluster/variables.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -503,12 +503,6 @@ variable "gcloud_upgrade" {
503503
default = false
504504
}
505505

506-
variable "gcloud_skip_download" {
507-
type = bool
508-
description = "Whether to skip downloading gcloud (assumes gcloud is already available outside the module)"
509-
default = true
510-
}
511-
512506
variable "disable_default_snat" {
513507
type = bool
514508
description = "Whether to disable the default SNAT to support the private use of public IP addresses"

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ Then perform the following commands on the root folder:
162162
| enable\_shielded\_nodes | Enable Shielded Nodes features on all nodes in this cluster | bool | `"true"` | no |
163163
| firewall\_inbound\_ports | List of TCP ports for admission/webhook controllers | list(string) | `<list>` | no |
164164
| firewall\_priority | Priority rule for firewall rules | number | `"1000"` | no |
165-
| gcloud\_skip\_download | Whether to skip downloading gcloud (assumes gcloud is already available outside the module) | bool | `"true"` | no |
166165
| gcloud\_upgrade | Whether to upgrade gcloud at runtime | bool | `"false"` | no |
167166
| grant\_registry\_access | Grants created cluster-specific service account storage.objectViewer role. | bool | `"false"` | no |
168167
| horizontal\_pod\_autoscaling | Enable horizontal pod autoscaling addon | bool | `"true"` | no |

modules/private-cluster-update-variant/cluster.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,8 +407,7 @@ module "gcloud_wait_for_cluster" {
407407
version = "~> 2.0.2"
408408
enabled = ! var.skip_provisioners
409409

410-
upgrade = var.gcloud_upgrade
411-
skip_download = var.gcloud_skip_download
410+
upgrade = var.gcloud_upgrade
412411

413412
create_cmd_entrypoint = "${path.module}/scripts/wait-for-cluster.sh"
414413
create_cmd_body = "${var.project_id} ${var.name}"

modules/private-cluster-update-variant/dns.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ module "gcloud_delete_default_kube_dns_configmap" {
2727
cluster_location = google_container_cluster.primary.location
2828
project_id = var.project_id
2929
upgrade = var.gcloud_upgrade
30-
skip_download = var.gcloud_skip_download
3130

3231

3332
kubectl_create_command = "${path.module}/scripts/delete-default-resource.sh kube-system configmap kube-dns"

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -437,9 +437,3 @@ variable "gcloud_upgrade" {
437437
default = false
438438
}
439439

440-
variable "gcloud_skip_download" {
441-
type = bool
442-
description = "Whether to skip downloading gcloud (assumes gcloud is already available outside the module)"
443-
default = true
444-
}
445-

modules/private-cluster/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ Then perform the following commands on the root folder:
140140
| enable\_shielded\_nodes | Enable Shielded Nodes features on all nodes in this cluster | bool | `"true"` | no |
141141
| firewall\_inbound\_ports | List of TCP ports for admission/webhook controllers | list(string) | `<list>` | no |
142142
| firewall\_priority | Priority rule for firewall rules | number | `"1000"` | no |
143-
| gcloud\_skip\_download | Whether to skip downloading gcloud (assumes gcloud is already available outside the module) | bool | `"true"` | no |
144143
| gcloud\_upgrade | Whether to upgrade gcloud at runtime | bool | `"false"` | no |
145144
| grant\_registry\_access | Grants created cluster-specific service account storage.objectViewer role. | bool | `"false"` | no |
146145
| horizontal\_pod\_autoscaling | Enable horizontal pod autoscaling addon | bool | `"true"` | no |

modules/private-cluster/cluster.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,7 @@ module "gcloud_wait_for_cluster" {
334334
version = "~> 2.0.2"
335335
enabled = ! var.skip_provisioners
336336

337-
upgrade = var.gcloud_upgrade
338-
skip_download = var.gcloud_skip_download
337+
upgrade = var.gcloud_upgrade
339338

340339
create_cmd_entrypoint = "${path.module}/scripts/wait-for-cluster.sh"
341340
create_cmd_body = "${var.project_id} ${var.name}"

modules/private-cluster/dns.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ module "gcloud_delete_default_kube_dns_configmap" {
2727
cluster_location = google_container_cluster.primary.location
2828
project_id = var.project_id
2929
upgrade = var.gcloud_upgrade
30-
skip_download = var.gcloud_skip_download
3130

3231

3332
kubectl_create_command = "${path.module}/scripts/delete-default-resource.sh kube-system configmap kube-dns"

modules/private-cluster/variables.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -437,9 +437,3 @@ variable "gcloud_upgrade" {
437437
default = false
438438
}
439439

440-
variable "gcloud_skip_download" {
441-
type = bool
442-
description = "Whether to skip downloading gcloud (assumes gcloud is already available outside the module)"
443-
default = true
444-
}
445-

variables.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -413,9 +413,3 @@ variable "gcloud_upgrade" {
413413
default = false
414414
}
415415

416-
variable "gcloud_skip_download" {
417-
type = bool
418-
description = "Whether to skip downloading gcloud (assumes gcloud is already available outside the module)"
419-
default = true
420-
}
421-

0 commit comments

Comments
 (0)