Skip to content

[docs] Fix yaml Spacing in Rancher Terraform#1003

Merged
brandboat merged 1 commit intoharvester:mainfrom
jmeza-xyz:rancher-tf-fix-yaml-spacing
Apr 9, 2026
Merged

[docs] Fix yaml Spacing in Rancher Terraform#1003
brandboat merged 1 commit intoharvester:mainfrom
jmeza-xyz:rancher-tf-fix-yaml-spacing

Conversation

@jmeza-xyz
Copy link
Copy Markdown
Contributor

Problem:

PR fixes the incorrect yaml spacing in the Rancher Terraform doc, as well as updates the K8s/terraform versions per the Harvester support matrix.

Current:

     required_providers {
         rancher2 = {
             source  = "rancher/rancher2"
             version = "4.2.0"
             }
         }
     }

     resource "rancher2_cluster_v2" "rke2-demo" {
         name = "rke2-demo"
         kubernetes_version = "v1.28.10+rke2r1"
         rke_config {
             machine_pools {
                 name = "pool1"

        chart_values = <<EOF
        harvester-cloud-provider:
        clusterName: rke2-demo
        cloudConfigPath: /var/lib/rancher/rke2/etc/config-files/cloud-provider-config
        EOF

Solution:

Updated:

     required_providers {
         rancher2 = {
             source  = "rancher/rancher2"
-            version = "4.2.0"
+            version = "13.1.4"
             }
         }
     }

     resource "rancher2_cluster_v2" "rke2-demo" {
         name = "rke2-demo"
-        kubernetes_version = "v1.28.10+rke2r1"
+        kubernetes_version = "v1.34.6+rke2r1"
         rke_config {
             machine_pools {
                 name = "pool1"

             chart_values = <<EOF
             harvester-cloud-provider:
-            clusterName: rke2-demo
-            cloudConfigPath: /var/lib/rancher/rke2/etc/config-files/cloud-provider-config
+              clusterName: rke2-demo
+              cloudConfigPath: /var/lib/rancher/rke2/etc/config-files/cloud-provider-config
             EOF

Related Issue(s):

Issue # harvester/harvester#10331

Test plan:

N/A

Additional documentation or context

N/A

Signed-off-by: Meza <meza-xyz@proton.me>
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 9, 2026

Name Link
🔨 Latest commit 31b2aa1
😎 Deploy Preview https://69d71b0a39d6b37f0ca3e78f--harvester-preview.netlify.app

@brandboat brandboat merged commit dc6b92f into harvester:main Apr 9, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants