From 0985182e862c04c626cb6250e39a13dce7454020 Mon Sep 17 00:00:00 2001 From: hellertang Date: Thu, 14 Sep 2023 20:20:19 +0800 Subject: [PATCH] fix tcr addon demo --- tencentcloud/resource_tc_kubernetes_addon_attachment.go | 2 +- website/docs/r/kubernetes_addon_attachment.html.markdown | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tencentcloud/resource_tc_kubernetes_addon_attachment.go b/tencentcloud/resource_tc_kubernetes_addon_attachment.go index cda5aa9241..6aa7fca15d 100644 --- a/tencentcloud/resource_tc_kubernetes_addon_attachment.go +++ b/tencentcloud/resource_tc_kubernetes_addon_attachment.go @@ -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", ] diff --git a/website/docs/r/kubernetes_addon_attachment.html.markdown b/website/docs/r/kubernetes_addon_attachment.html.markdown index 1ad13484e3..6f345e03ed 100644 --- a/website/docs/r/kubernetes_addon_attachment.html.markdown +++ b/website/docs/r/kubernetes_addon_attachment.html.markdown @@ -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", ]