mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-07-06 02:02:43 +00:00
Make master_auth user/pass optional
This commit is contained in:
parent
1f5b380cd6
commit
2c828110f0
|
@ -279,13 +279,13 @@ func resourceContainerCluster() *schema.Resource {
|
||||||
Schema: map[string]*schema.Schema{
|
Schema: map[string]*schema.Schema{
|
||||||
"password": {
|
"password": {
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Required: true,
|
Optional: true,
|
||||||
Sensitive: true,
|
Sensitive: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
"username": {
|
"username": {
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Required: true,
|
Optional: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
"client_certificate_config": {
|
"client_certificate_config": {
|
||||||
|
|
|
@ -270,11 +270,11 @@ The `ip_allocation_policy` block supports:
|
||||||
|
|
||||||
The `master_auth` block supports:
|
The `master_auth` block supports:
|
||||||
|
|
||||||
* `password` - (Required) The password to use for HTTP basic authentication when accessing
|
* `password` - (Optional) The password to use for HTTP basic authentication when accessing
|
||||||
the Kubernetes master endpoint
|
the Kubernetes master endpoint.
|
||||||
|
|
||||||
* `username` - (Required) The username to use for HTTP basic authentication when accessing
|
* `username` - (Optional) The username to use for HTTP basic authentication when accessing
|
||||||
the Kubernetes master endpoint
|
the Kubernetes master endpoint. If not present basic auth will be disabled.
|
||||||
|
|
||||||
* `client_certificate_config` - (Optional) Whether client certificate authorization is enabled for this cluster. For example:
|
* `client_certificate_config` - (Optional) Whether client certificate authorization is enabled for this cluster. For example:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user