Skip to content

Commit 2f0ce03

Browse files
coryodanielaaron-lane
authored andcommitted
Added variables to autogen, using k8s latest
1 parent db888e3 commit 2f0ce03

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

autogen/variables.tf

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,3 +233,23 @@ variable "master_ipv4_cidr_block" {
233233
default = "10.0.0.0/28"
234234
}
235235
{% endif %}
236+
237+
variable "enable_basic_auth" {
238+
description = "Basic authentication allows a user to authenticate to the cluster with a username and password. To maximize the security of your cluster, disable this option. Basic authentication is not recommended because it provides no confidentiality protection for transmitted credentials"
239+
default = "true"
240+
}
241+
242+
variable "basic_auth_username" {
243+
description = "Kubernetes HTTP Basic auth username. Only used if `enable_basic_auth` is true"
244+
default = ""
245+
}
246+
247+
variable "basic_auth_password" {
248+
description = "Kubernetes HTTP Basic auth password. Only used if `enable_basic_auth` is true"
249+
default = ""
250+
}
251+
252+
variable "issue_client_certificate" {
253+
description = "Issues a client certificate to authenticate to the cluster endpoint. To maximize the security of your cluster, leave this option disabled. Client certificates don't automatically rotate and aren't easily revocable. WARNING: changing this after cluster creation is destructive!"
254+
default = "false"
255+
}

examples/disable_client_cert/main.tf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ module "gke" {
3333
subnetwork = "${var.subnetwork}"
3434
ip_range_pods = "${var.ip_range_pods}"
3535
ip_range_services = "${var.ip_range_services}"
36-
kubernetes_version = "1.11.5-gke.4"
37-
node_version = "1.11.5-gke.4"
3836
service_account = "${var.compute_engine_service_account}"
3937

4038
enable_basic_auth = false

0 commit comments

Comments
 (0)