File tree Expand file tree Collapse file tree 16 files changed +35
-90
lines changed
beta-private-cluster-update-variant
private-cluster-update-variant Expand file tree Collapse file tree 16 files changed +35
-90
lines changed Original file line number Diff line number Diff line change @@ -497,6 +497,11 @@ resource "google_container_node_pool" "pools" {
497497 }
498498 }
499499 {% endif %}
500+
501+ shielded_instance_config {
502+ enable_secure_boot = lookup(each.value, "enable_secure_boot", false)
503+ enable_integrity_monitoring = lookup(each.value, "enable_integrity_monitoring", true)
504+ }
500505 }
501506
502507 lifecycle {
Original file line number Diff line number Diff line change @@ -230,6 +230,11 @@ resource "google_container_node_pool" "pools" {
230230 count = guest_accelerator[" count" ]
231231 }
232232 ]
233+
234+ shielded_instance_config {
235+ enable_secure_boot = lookup (each. value , " enable_secure_boot" , false )
236+ enable_integrity_monitoring = lookup (each. value , " enable_integrity_monitoring" , true )
237+ }
233238 }
234239
235240 lifecycle {
Original file line number Diff line number Diff line change @@ -28,18 +28,8 @@ It will:
2828| ------| -------------|
2929| ca\_ certificate | |
3030| client\_ token | |
31- | cluster\_ name | Cluster name |
32- | ip\_ range\_ pods | The secondary IP range used for pods |
33- | ip\_ range\_ services | The secondary IP range used for services |
3431| kubernetes\_ endpoint | |
35- | location | |
36- | master\_ kubernetes\_ version | The master Kubernetes version |
37- | network | |
38- | project\_ id | |
39- | region | |
4032| service\_ account | The default service account used for running nodes. |
41- | subnetwork | |
42- | zones | List of zones in which the cluster resides |
4333
4434<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
4535
Original file line number Diff line number Diff line change @@ -26,18 +26,8 @@ This example illustrates how to create a simple cluster and disable deprecated s
2626| ------| -------------|
2727| ca\_ certificate | |
2828| client\_ token | |
29- | cluster\_ name | Cluster name |
30- | ip\_ range\_ pods | The secondary IP range used for pods |
31- | ip\_ range\_ services | The secondary IP range used for services |
3229| kubernetes\_ endpoint | |
33- | location | |
34- | master\_ kubernetes\_ version | The master Kubernetes version |
35- | network | |
36- | project\_ id | |
37- | region | |
3830| service\_ account | The default service account used for running nodes. |
39- | subnetwork | |
40- | zones | List of zones in which the cluster resides |
4131
4232<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
4333
Original file line number Diff line number Diff line change @@ -24,18 +24,8 @@ This example illustrates how to create a cluster with multiple custom node-pool
2424| ------| -------------|
2525| ca\_ certificate | |
2626| client\_ token | |
27- | cluster\_ name | Cluster name |
28- | ip\_ range\_ pods | The secondary IP range used for pods |
29- | ip\_ range\_ services | The secondary IP range used for services |
3027| kubernetes\_ endpoint | |
31- | location | |
32- | master\_ kubernetes\_ version | The master Kubernetes version |
33- | network | |
34- | project\_ id | |
35- | region | |
3628| service\_ account | The default service account used for running nodes. |
37- | subnetwork | |
38- | zones | List of zones in which the cluster resides |
3929
4030<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
4131
Original file line number Diff line number Diff line change @@ -23,18 +23,8 @@ This example illustrates how to create a simple cluster where the host network i
2323| ------| -------------|
2424| ca\_ certificate | |
2525| client\_ token | |
26- | cluster\_ name | Cluster name |
27- | ip\_ range\_ pods | The secondary IP range used for pods |
28- | ip\_ range\_ services | The secondary IP range used for services |
2926| kubernetes\_ endpoint | |
30- | location | |
31- | master\_ kubernetes\_ version | The master Kubernetes version |
32- | network | |
33- | project\_ id | |
34- | region | |
3527| service\_ account | The default service account used for running nodes. |
36- | subnetwork | |
37- | zones | List of zones in which the cluster resides |
3828
3929<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
4030
Original file line number Diff line number Diff line change @@ -23,18 +23,8 @@ This example illustrates how to create a simple cluster.
2323| ------| -------------|
2424| ca\_ certificate | |
2525| client\_ token | |
26- | cluster\_ name | Cluster name |
27- | ip\_ range\_ pods | The secondary IP range used for pods |
28- | ip\_ range\_ services | The secondary IP range used for services |
2926| kubernetes\_ endpoint | |
30- | location | |
31- | master\_ kubernetes\_ version | The master Kubernetes version |
32- | network | |
33- | project\_ id | |
34- | region | |
3527| service\_ account | The default service account used for running nodes. |
36- | subnetwork | |
37- | zones | List of zones in which the cluster resides |
3828
3929<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
4030
Original file line number Diff line number Diff line change @@ -22,18 +22,8 @@ This example illustrates how to create a simple private cluster.
2222| ------| -------------|
2323| ca\_ certificate | |
2424| client\_ token | |
25- | cluster\_ name | Cluster name |
26- | ip\_ range\_ pods | The secondary IP range used for pods |
27- | ip\_ range\_ services | The secondary IP range used for services |
2825| kubernetes\_ endpoint | |
29- | location | |
30- | master\_ kubernetes\_ version | The master Kubernetes version |
31- | network | |
32- | project\_ id | |
33- | region | |
3426| service\_ account | The default service account used for running nodes. |
35- | subnetwork | |
36- | zones | List of zones in which the cluster resides |
3727
3828<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
3929
Original file line number Diff line number Diff line change @@ -23,18 +23,8 @@ This example illustrates how to create a simple private cluster.
2323| ------| -------------|
2424| ca\_ certificate | |
2525| client\_ token | |
26- | cluster\_ name | Cluster name |
27- | ip\_ range\_ pods | The secondary IP range used for pods |
28- | ip\_ range\_ services | The secondary IP range used for services |
2926| kubernetes\_ endpoint | |
30- | location | |
31- | master\_ kubernetes\_ version | The master Kubernetes version |
32- | network | |
33- | project\_ id | |
34- | region | |
3527| service\_ account | The default service account used for running nodes. |
36- | subnetwork | |
37- | zones | List of zones in which the cluster resides |
3828
3929<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
4030
Original file line number Diff line number Diff line change @@ -29,18 +29,8 @@ It incorporates the standard cluster module and the [ACM install module](../../m
2929| acm\_ git\_ creds\_ public | Public key of SSH keypair to allow the Anthos Operator to authenticate to your Git repository. |
3030| ca\_ certificate | |
3131| client\_ token | |
32- | cluster\_ name | Cluster name |
33- | ip\_ range\_ pods | The secondary IP range used for pods |
34- | ip\_ range\_ services | The secondary IP range used for services |
3532| kubernetes\_ endpoint | |
36- | location | |
37- | master\_ kubernetes\_ version | The master Kubernetes version |
38- | network | |
39- | project\_ id | |
40- | region | |
4133| service\_ account | The default service account used for running nodes. |
42- | subnetwork | |
43- | zones | List of zones in which the cluster resides |
4434
4535<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
4636
You can’t perform that action at this time.
0 commit comments