Skip to content

Commit 70cf584

Browse files
fix: update machine selector config example (#2076)
Co-authored-by: dawid10353 <46601922+dawid10353@users.noreply.github.com>
1 parent 1020115 commit 70cf584

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/resources/cluster_v2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,10 +328,10 @@ resource "rancher2_cluster_v2" "foo-harvester-v2-cloud-provider" {
328328
}
329329
# The kubeconfig file of the Harvester cluster is sent to all nodes via the machine_selector_config
330330
machine_selector_config {
331-
config = {
331+
config = jsonencode({
332332
cloud-provider-config = file("${path.module}/foo-harvester-v2-cloud-provider-kubeconfig")
333333
cloud-provider-name = "harvester"
334-
}
334+
})
335335
}
336336
machine_global_config = <<EOF
337337
cni: "calico"

0 commit comments

Comments
 (0)