Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
Add upgrading section for client certificate auth
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-lane committed Apr 12, 2019
1 parent 34abb07 commit cd2f7e4
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions docs/upgrading_to_v2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,33 @@ module "enabling-basic-auth" {
}
```

### Enabling Kubernetes Client Certificate

Starting with GKE v1.12, clusters will disable by default the client
certificate method of authenticating. In previous versions
of *kubernetes-engine*, client certificate authentication was enabled
if the managed version of Kubernetes was less than v1.12. Client
certificate authentication must now be explicitly enabled.

```hcl
module "enabling-client-certificate" {
source = "terraform-google-modules/kubernetes-engine/google"
version = "~> 2.0"
project_id = "${var.project_id}"
name = "cluster-with-client-certificate"
issue_client_certificate = "true"
regional = "true"
region = "${var.region}"
network = "${var.network}"
subnetwork = "${var.subnetwork}"
ip_range_pods = "${var.ip_range_pods}"
ip_range_services = "${var.ip_range_services}"
service_account = "${var.compute_engine_service_account}"
}
```

[gsc-backend]: https://www.terraform.io/docs/backends/types/gcs.html
[sensitive-data]: https://www.terraform.io/docs/state/sensitive-data.html

0 comments on commit cd2f7e4

Please sign in to comment.