Skip to content

Commit c71ac57

Browse files
authored
fix: tke-addon-attach: add tcr example values (#771)
* fix: tke-addon - add tcr addon example values * chore: reformat code
1 parent 25b6e68 commit c71ac57

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

tencentcloud/resource_tc_kubernetes_addon_attachment.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ resource "tencentcloud_kubernetes_addon_attachment" "addon_tcr" {
3434
"global.imagePullSecretsCrs[1].dockerUsername=100012345678",
3535
"global.imagePullSecretsCrs[1].dockerPassword=a.b.tcr-token",
3636
"global.imagePullSecretsCrs[1].dockerServer=sample",
37+
# Specify global hosts
38+
"global.hosts[0].domain=sample-vpc.tencentcloudcr.com",
39+
"global.hosts[0].ip=10.16.0.49",
40+
"global.hosts[0].disabled=false",
3741
]
3842
}
3943
```

website/docs/r/kubernetes_addon_attachment.html.markdown

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ resource "tencentcloud_kubernetes_addon_attachment" "addon_tcr" {
4343
"global.imagePullSecretsCrs[1].dockerUsername=100012345678",
4444
"global.imagePullSecretsCrs[1].dockerPassword=a.b.tcr-token",
4545
"global.imagePullSecretsCrs[1].dockerServer=sample",
46+
# Specify global hosts
47+
"global.hosts[0].domain=sample-vpc.tencentcloudcr.com",
48+
"global.hosts[0].ip=10.16.0.49",
49+
"global.hosts[0].disabled=false",
4650
]
4751
}
4852
```

0 commit comments

Comments
 (0)