Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Hetzner "addons" for the default cluster #3

Closed
wenzel-felix opened this issue Apr 9, 2023 · 0 comments · Fixed by #7
Closed

Add Hetzner "addons" for the default cluster #3

wenzel-felix opened this issue Apr 9, 2023 · 0 comments · Fixed by #7

Comments

@wenzel-felix
Copy link
Owner

wenzel-felix commented Apr 9, 2023

Add a bool to disable default addons - normally the module should install similar components like:

resource "rancher2_cluster" "test_cluster" {
  name        = "test-cluster"
  description = "Foo rancher2 custom cluster"
  rke_config {
    addons = <<EOF
---
apiVersion: v1
stringData:
  token: ${var.hetzner_token}
  network: ${hcloud_network.main.name}
kind: Secret
metadata:
  name: hcloud
  namespace: kube-system
    EOF
    addons_include = [ "https://github.com/hetznercloud/hcloud-cloud-controller-manager/releases/latest/download/ccm-networks.yaml" ]
    services {
      kubelet {
        extra_args = {
          "cloud-provider" = "external"
        }
      }
    }
    enable_cri_dockerd = true
    network {
      plugin = "canal"
    }
  }
}
@wenzel-felix wenzel-felix linked a pull request Apr 17, 2023 that will close this issue
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 a pull request may close this issue.

1 participant