Skip to content

Commit 6dae1f3

Browse files
authored
Merge pull request #248 from ingwarr/master
Enabling metadata-concealment by default
2 parents 9f71320 + 6244963 commit 6dae1f3

File tree

6 files changed

+10
-6
lines changed

6 files changed

+10
-6
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ Extending the adopted spec, each change should have a link to its corresponding
1111
### Changed
1212

1313
* All Beta functionality removed from non-beta clusters, some properties like node_pool taints available only in beta cluster now [#228]
14+
* **Breaking**: Enabled metadata-concealment by default [#248]
1415

1516
### Added
16-
1717
* Added support for resource usage export config [#238]
1818
* Added `sandbox_enabled` variable to use GKE Sandbox [#241]
1919
* Added `grant_registry_access` variable to grant Container Registry access to created SA [#236]
@@ -178,6 +178,7 @@ Extending the adopted spec, each change should have a link to its corresponding
178178
[v0.3.0]: https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/compare/v0.2.0...v0.3.0
179179
[v0.2.0]: https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/compare/v0.1.0...v0.2.0
180180

181+
[#248]: https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/pull/248
181182
[#228]: https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/pull/228
182183
[#238]: https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/pull/238
183184
[#241]: https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/pull/241

autogen/variables.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,8 @@ variable "resource_usage_export_dataset_id" {
376376

377377
variable "node_metadata" {
378378
description = "Specifies how node metadata is exposed to the workload running on the node"
379-
default = "UNSPECIFIED"
379+
default = "SECURE"
380+
type = string
380381
}
381382

382383
variable "sandbox_enabled" {

modules/beta-private-cluster/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ In either case, upgrading to module version `v1.0.0` will trigger a recreation o
177177
| network\_policy | Enable network policy addon | bool | `"false"` | no |
178178
| network\_policy\_provider | The network policy provider. | string | `"CALICO"` | no |
179179
| network\_project\_id | The project ID of the shared VPC's host (for shared vpc support) | string | `""` | no |
180-
| node\_metadata | Specifies how node metadata is exposed to the workload running on the node | string | `"UNSPECIFIED"` | no |
180+
| node\_metadata | Specifies how node metadata is exposed to the workload running on the node | string | `"SECURE"` | no |
181181
| node\_pools | List of maps containing node pools | list(map(string)) | `<list>` | no |
182182
| node\_pools\_labels | Map of maps containing node labels by node-pool name | map(map(string)) | `<map>` | no |
183183
| node\_pools\_metadata | Map of maps containing node metadata by node-pool name | map(map(string)) | `<map>` | no |

modules/beta-private-cluster/variables.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,8 @@ variable "resource_usage_export_dataset_id" {
371371

372372
variable "node_metadata" {
373373
description = "Specifies how node metadata is exposed to the workload running on the node"
374-
default = "UNSPECIFIED"
374+
default = "SECURE"
375+
type = string
375376
}
376377

377378
variable "sandbox_enabled" {

modules/beta-public-cluster/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ In either case, upgrading to module version `v1.0.0` will trigger a recreation o
168168
| network\_policy | Enable network policy addon | bool | `"false"` | no |
169169
| network\_policy\_provider | The network policy provider. | string | `"CALICO"` | no |
170170
| network\_project\_id | The project ID of the shared VPC's host (for shared vpc support) | string | `""` | no |
171-
| node\_metadata | Specifies how node metadata is exposed to the workload running on the node | string | `"UNSPECIFIED"` | no |
171+
| node\_metadata | Specifies how node metadata is exposed to the workload running on the node | string | `"SECURE"` | no |
172172
| node\_pools | List of maps containing node pools | list(map(string)) | `<list>` | no |
173173
| node\_pools\_labels | Map of maps containing node labels by node-pool name | map(map(string)) | `<map>` | no |
174174
| node\_pools\_metadata | Map of maps containing node metadata by node-pool name | map(map(string)) | `<map>` | no |

modules/beta-public-cluster/variables.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,8 @@ variable "resource_usage_export_dataset_id" {
347347

348348
variable "node_metadata" {
349349
description = "Specifies how node metadata is exposed to the workload running on the node"
350-
default = "UNSPECIFIED"
350+
default = "SECURE"
351+
type = string
351352
}
352353

353354
variable "sandbox_enabled" {

0 commit comments

Comments
 (0)