Skip to content

Commit 5915886

Browse files
committed
enabling metadata-concealment by default
1 parent 50765a8 commit 5915886

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
@@ -8,7 +8,7 @@ Extending the adopted spec, each change should have a link to its corresponding
88

99
## [Unreleased]
1010
### Added
11-
11+
* Enabled metadata-concealment by default [#248]
1212
* Added `grant_registry_access` variable to grant Container Registry access to created SA [#236]
1313
* Support for Intranode Visbiility (IV) and Veritical Pod Autoscaling (VPA) beta features [#216]
1414
* Support for Workload Identity beta feature [#234]
@@ -170,6 +170,7 @@ Extending the adopted spec, each change should have a link to its corresponding
170170
[v0.3.0]: https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/compare/v0.2.0...v0.3.0
171171
[v0.2.0]: https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/compare/v0.1.0...v0.2.0
172172

173+
[#248]: https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/pull/248
173174
[#236]: https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/pull/236
174175
[#217]: https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/pull/217
175176
[#234]: https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/pull/234

autogen/variables.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,8 @@ variable "pod_security_policy_config" {
368368

369369
variable "node_metadata" {
370370
description = "Specifies how node metadata is exposed to the workload running on the node"
371-
default = "UNSPECIFIED"
371+
default = "SECURE"
372+
type = string
372373
}
373374

374375
variable "enable_intranode_visibility" {

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
@@ -365,7 +365,8 @@ variable "pod_security_policy_config" {
365365

366366
variable "node_metadata" {
367367
description = "Specifies how node metadata is exposed to the workload running on the node"
368-
default = "UNSPECIFIED"
368+
default = "SECURE"
369+
type = string
369370
}
370371

371372
variable "enable_intranode_visibility" {

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
@@ -341,7 +341,8 @@ variable "pod_security_policy_config" {
341341

342342
variable "node_metadata" {
343343
description = "Specifies how node metadata is exposed to the workload running on the node"
344-
default = "UNSPECIFIED"
344+
default = "SECURE"
345+
type = string
345346
}
346347

347348
variable "enable_intranode_visibility" {

0 commit comments

Comments
 (0)