You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: "The path prefix of kube config. You can store KubeConfig in a specified directory by specifying this field, such as ~/.kube/k8s, then public network access will use ~/.kube/k8s-clusterID-kubeconfig naming, and intranet access will use ~/.kube /k8s-clusterID-kubeconfig-intranet naming. If this field is not set, the KubeConfig will not be exported.",
235
+
},
230
236
231
237
"list": {
232
238
Type: schema.TypeList,
@@ -251,8 +257,9 @@ func dataSourceTencentCloudKubernetesClustersRead(d *schema.ResourceData, meta i
251
257
}
252
258
253
259
var (
254
-
idstring
255
-
namestring
260
+
idstring
261
+
namestring
262
+
kubeConfigFilePrefixstring
256
263
)
257
264
258
265
ifv, ok:=d.GetOk("cluster_id"); ok {
@@ -290,6 +297,10 @@ func dataSourceTencentCloudKubernetesClustersRead(d *schema.ResourceData, meta i
Copy file name to clipboardExpand all lines: website/docs/d/kubernetes_clusters.html.markdown
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@ The following arguments are supported:
29
29
30
30
*`cluster_id` - (Optional, String) ID of the cluster. Conflict with cluster_name, can not be set at the same time.
31
31
*`cluster_name` - (Optional, String) Name of the cluster. Conflict with cluster_id, can not be set at the same time.
32
+
*`kube_config_file_prefix` - (Optional, String) The path prefix of kube config. You can store KubeConfig in a specified directory by specifying this field, such as ~/.kube/k8s, then public network access will use ~/.kube/k8s-clusterID-kubeconfig naming, and intranet access will use ~/.kube /k8s-clusterID-kubeconfig-intranet naming. If this field is not set, the KubeConfig will not be exported.
32
33
*`result_output_file` - (Optional, String) Used to save results.
0 commit comments