From 231645d13b8427e0f6df5d9fe4b6c16ec0305b77 Mon Sep 17 00:00:00 2001 From: hellertang Date: Wed, 8 Jun 2022 19:24:03 +0800 Subject: [PATCH] fix tke docs --- tencentcloud/resource_tc_kubernetes_cluster.go | 10 ++++++---- website/docs/r/kubernetes_cluster.html.markdown | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/tencentcloud/resource_tc_kubernetes_cluster.go b/tencentcloud/resource_tc_kubernetes_cluster.go index d22ec5d4bb..4cc290f7b6 100644 --- a/tencentcloud/resource_tc_kubernetes_cluster.go +++ b/tencentcloud/resource_tc_kubernetes_cluster.go @@ -1040,10 +1040,12 @@ func resourceTencentCloudTkeCluster() *schema.Resource { " Because only cluster with node is allowed enable access endpoint.", }, "cluster_intranet": { - Type: schema.TypeBool, - Default: false, - Optional: true, - Description: "Open intranet access or not.", + Type: schema.TypeBool, + Default: false, + Optional: true, + Description: "Open intranet access or not." + + " If this field is set 'true', the field below `worker_config` must be set." + + " Because only cluster with node is allowed enable access endpoint.", }, "managed_cluster_internet_security_policies": { Type: schema.TypeList, diff --git a/website/docs/r/kubernetes_cluster.html.markdown b/website/docs/r/kubernetes_cluster.html.markdown index 538388cc4c..ab3d58ac3b 100644 --- a/website/docs/r/kubernetes_cluster.html.markdown +++ b/website/docs/r/kubernetes_cluster.html.markdown @@ -449,7 +449,7 @@ The following arguments are supported: * `cluster_extra_args` - (Optional, ForceNew) Customized parameters for master component,such as kube-apiserver, kube-controller-manager, kube-scheduler. * `cluster_internet` - (Optional) Open internet access or not. If this field is set 'true', the field below `worker_config` must be set. Because only cluster with node is allowed enable access endpoint. * `cluster_intranet_subnet_id` - (Optional) Subnet id who can access this independent cluster, this field must and can only set when `cluster_intranet` is true. `cluster_intranet_subnet_id` can not modify once be set. -* `cluster_intranet` - (Optional) Open intranet access or not. +* `cluster_intranet` - (Optional) Open intranet access or not. If this field is set 'true', the field below `worker_config` must be set. Because only cluster with node is allowed enable access endpoint. * `cluster_ipvs` - (Optional, ForceNew) Indicates whether `ipvs` is enabled. Default is true. False means `iptables` is enabled. * `cluster_level` - (Optional) Specify cluster level, valid for managed cluster, use data source `tencentcloud_kubernetes_cluster_levels` to query available levels. Available value examples `L5`, `LL20`, `L50`, `L100`, etc. * `cluster_max_pod_num` - (Optional, ForceNew) The maximum number of Pods per node in the cluster. Default is 256. The minimum value is 4. When its power unequal to 2, it will round upward to the closest power of 2.