Revert "add to GKE cluster module"

This reverts commit df0b4c532a.
This commit is contained in:
Ludovico Magnocavallo 2020-04-27 09:19:23 +02:00
parent df0b4c532a
commit 560fb3ac3c
4 changed files with 0 additions and 12 deletions

View File

@ -8,7 +8,6 @@ All notable changes to this project will be documented in this file.
- fix Cloud NAT module internal router name lookup
- re-enable and update outputs for the foundations environments example
- add peering route configuration for private clusters to GKE cluster module
- add `workload_metadata_config` variable to GKE cluster module
- **incompatible changes** in the GKE nodepool module
- rename `node_config_workload_metadata_config` variable to `workload_metadata_config`
- new default for `workload_metadata_config` is `GKE_METADATA_SERVER`

View File

@ -65,7 +65,6 @@ module "cluster-1" {
| *resource_usage_export_config* | Configure the ResourceUsageExportConfig feature. | <code title="object&#40;&#123;&#10;enabled &#61; bool&#10;dataset &#61; string&#10;&#125;&#41;">object({...})</code> | | <code title="&#123;&#10;enabled &#61; null&#10;dataset &#61; null&#10;&#125;">...</code> |
| *vertical_pod_autoscaling* | Enable the Vertical Pod Autoscaling feature. | <code title="">bool</code> | | <code title="">null</code> |
| *workload_identity* | Enable the Workload Identity feature. | <code title="">bool</code> | | <code title="">true</code> |
| *workload_metadata_config* | Define how to expose node metadata to workloads. | <code title="">string</code> | | <code title="">GKE_METADATA_SERVER</code> |
## Outputs

View File

@ -208,10 +208,6 @@ resource "google_container_cluster" "cluster" {
}
}
workload_metadata_config {
node_metadata = var.workload_metadata_config
}
}
resource "google_compute_network_peering_routes_config" "gke_master" {

View File

@ -245,9 +245,3 @@ variable "workload_identity" {
type = bool
default = true
}
variable "workload_metadata_config" {
description = "Define how to expose node metadata to workloads."
type = string
default = "GKE_METADATA_SERVER"
}