-
Notifications
You must be signed in to change notification settings - Fork 144
add tke "extra_args" #531
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add tke "extra_args" #531
Conversation
@@ -128,6 +128,7 @@ resource "tencentcloud_kubernetes_cluster" "managed_cluster" { | |||
cluster_name = "tf-tke-unit-test" | |||
cluster_desc = "test cluster desc" | |||
cluster_max_service_num = 32 | |||
cluster_version = "1.18.4" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
格式化
@@ -160,6 +160,7 @@ resource "tencentcloud_kubernetes_cluster" "managed_cluster" { | |||
cluster_desc = "test cluster desc" | |||
cluster_max_service_num = 32 | |||
cluster_internet = true | |||
cluster_version = "1.18.4" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
格式化
@@ -153,6 +153,7 @@ resource "tencentcloud_kubernetes_cluster" "managed_cluster" { | |||
cluster_cidr = "192.168.0.0/16" | |||
cluster_max_pod_num = 32 | |||
cluster_name = "test" | |||
cluster_version = "1.18.4" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
格式化
@@ -1,6 +1,8 @@ | |||
/* | |||
Provide a resource to create a kubernetes cluster. | |||
|
|||
~> **NOTE:** To use the custom Kubernetes component startup parameter function, you need to submit a ticket for application. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NOTE: To use the custom Kubernetes component startup parameter function(parameter extra_args
), you need to submit a ticket for application.
terraform-provider-tencentcloud guojunchu$ make testacc TESTARGS="-run TestAccTencentCloudTkeAsResource"
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./... -v -run TestAccTencentCloudTkeAsResource -timeout 120m
? github.com/tencentcloudstack/terraform-provider-tencentcloud [no test files]
testing: warning: no tests to run
PASS
ok github.com/tencentcloudstack/terraform-provider-tencentcloud/gendoc (cached) [no tests to run]
=== RUN TestAccTencentCloudTkeAsResource
--- PASS: TestAccTencentCloudTkeAsResource (220.59s)
PASS
ok github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud 225.508s
? github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/connectivity [no test files]
? github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/internal/helper [no test files]
? github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/ratelimit [no test files]
terraform-provider-tencentcloud guojunchu$ make testacc TESTARGS="-run TestAccTencentCloudTkeScaleWorkerResource"
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./... -v -run TestAccTencentCloudTkeScaleWorkerResource -timeout 120m
? github.com/tencentcloudstack/terraform-provider-tencentcloud [no test files]
testing: warning: no tests to run
PASS
ok github.com/tencentcloudstack/terraform-provider-tencentcloud/gendoc (cached) [no tests to run]
=== RUN TestAccTencentCloudTkeScaleWorkerResource
--- PASS: TestAccTencentCloudTkeScaleWorkerResource (330.17s)
PASS
ok github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud 334.818s
? github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/connectivity [no test files]
? github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/internal/helper [no test files]
? github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/ratelimit [no test files]
terraform-provider-tencentcloud guojunchu$ make testacc TESTARGS="-run TestAccTencentCloudTkeResource"
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./... -v -run TestAccTencentCloudTkeResource -timeout 120m
? github.com/tencentcloudstack/terraform-provider-tencentcloud [no test files]
testing: warning: no tests to run
PASS
ok github.com/tencentcloudstack/terraform-provider-tencentcloud/gendoc (cached) [no tests to run]
=== RUN TestAccTencentCloudTkeResource
--- PASS: TestAccTencentCloudTkeResource (239.11s)
PASS
ok github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud 242.203s
? github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/connectivity [no test files]
? github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/internal/helper [no test files]
? github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/ratelimit [no test files]