Skip to content

Commit ce169cb

Browse files
committed
Add upgrading section for client certificate auth
1 parent 022561a commit ce169cb

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

docs/upgrading_to_v2.0.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,33 @@ module "enabling-basic-auth" {
8080
}
8181
```
8282

83+
### Enabling Kubernetes Client Certificate
84+
85+
Starting with GKE v1.12, clusters will disable by default the client
86+
certificate method of authenticating. In previous versions
87+
of *kubernetes-engine*, client certificate authentication was enabled
88+
if the managed version of Kubernetes was less than v1.12. Client
89+
certificate authentication must now be explicitly enabled.
90+
91+
```hcl
92+
module "enabling-client-certificate" {
93+
source = "terraform-google-modules/kubernetes-engine/google"
94+
version = "~> 2.0"
95+
96+
project_id = "${var.project_id}"
97+
name = "cluster-with-client-certificate"
98+
99+
issue_client_certificate = "true"
100+
101+
regional = "true"
102+
region = "${var.region}"
103+
network = "${var.network}"
104+
subnetwork = "${var.subnetwork}"
105+
ip_range_pods = "${var.ip_range_pods}"
106+
ip_range_services = "${var.ip_range_services}"
107+
service_account = "${var.compute_engine_service_account}"
108+
}
109+
```
110+
83111
[gsc-backend]: https://www.terraform.io/docs/backends/types/gcs.html
84112
[sensitive-data]: https://www.terraform.io/docs/state/sensitive-data.html

0 commit comments

Comments
 (0)