Skip to content

Commit d227392

Browse files
authored
Merge pull request #2128 from tencentcloudstack/feat/fix_tcr_addon_demo
fix tcr addon demo
2 parents f9bf320 + 0985182 commit d227392

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tencentcloud/resource_tc_kubernetes_addon_attachment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ resource "tencentcloud_kubernetes_addon_attachment" "addon_tcr" {
4848
"global.hosts[0].domain=${local.tcr_name}-vpc.tencentcloudcr.com", #Corresponds to the dockerServer in the imagePullSecretsCrs above
4949
"global.hosts[0].ip=${local.end_point}", #input InternalEndpoint of tcr instance, you can get it from data source `tencentcloud_tcr_instances`
5050
"global.hosts[0].disabled=false", #disabled this host config or not
51-
"global.hosts[1].domain=${local.tcr_name}-tencentcloudcr.com",
51+
"global.hosts[1].domain=${local.tcr_name}.tencentcloudcr.com",
5252
"global.hosts[1].ip=${local.end_point}",
5353
"global.hosts[1].disabled=false",
5454
]

website/docs/r/kubernetes_addon_attachment.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ resource "tencentcloud_kubernetes_addon_attachment" "addon_tcr" {
5757
"global.hosts[0].domain=${local.tcr_name}-vpc.tencentcloudcr.com", #Corresponds to the dockerServer in the imagePullSecretsCrs above
5858
"global.hosts[0].ip=${local.end_point}", #input InternalEndpoint of tcr instance, you can get it from data source `tencentcloud_tcr_instances`
5959
"global.hosts[0].disabled=false", #disabled this host config or not
60-
"global.hosts[1].domain=${local.tcr_name}-tencentcloudcr.com",
60+
"global.hosts[1].domain=${local.tcr_name}.tencentcloudcr.com",
6161
"global.hosts[1].ip=${local.end_point}",
6262
"global.hosts[1].disabled=false",
6363
]

0 commit comments

Comments
 (0)