Skip to content

Commit

Permalink
Merge pull request #2128 from tencentcloudstack/feat/fix_tcr_addon_demo
Browse files Browse the repository at this point in the history
fix tcr addon demo
  • Loading branch information
andrew-tx authored Sep 14, 2023
2 parents f9bf320 + 0985182 commit d227392
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tencentcloud/resource_tc_kubernetes_addon_attachment.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ resource "tencentcloud_kubernetes_addon_attachment" "addon_tcr" {
"global.hosts[0].domain=${local.tcr_name}-vpc.tencentcloudcr.com", #Corresponds to the dockerServer in the imagePullSecretsCrs above
"global.hosts[0].ip=${local.end_point}", #input InternalEndpoint of tcr instance, you can get it from data source `tencentcloud_tcr_instances`
"global.hosts[0].disabled=false", #disabled this host config or not
"global.hosts[1].domain=${local.tcr_name}-tencentcloudcr.com",
"global.hosts[1].domain=${local.tcr_name}.tencentcloudcr.com",
"global.hosts[1].ip=${local.end_point}",
"global.hosts[1].disabled=false",
]
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/kubernetes_addon_attachment.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ resource "tencentcloud_kubernetes_addon_attachment" "addon_tcr" {
"global.hosts[0].domain=${local.tcr_name}-vpc.tencentcloudcr.com", #Corresponds to the dockerServer in the imagePullSecretsCrs above
"global.hosts[0].ip=${local.end_point}", #input InternalEndpoint of tcr instance, you can get it from data source `tencentcloud_tcr_instances`
"global.hosts[0].disabled=false", #disabled this host config or not
"global.hosts[1].domain=${local.tcr_name}-tencentcloudcr.com",
"global.hosts[1].domain=${local.tcr_name}.tencentcloudcr.com",
"global.hosts[1].ip=${local.end_point}",
"global.hosts[1].disabled=false",
]
Expand Down

0 comments on commit d227392

Please sign in to comment.