before move to k3os

This commit is contained in:
Karim Naufal
2021-11-10 06:28:52 +01:00
parent d9923a2ab3
commit f308220bfe
7 changed files with 154 additions and 10 deletions

11
main.tf
View File

@@ -101,14 +101,19 @@ data "template_cloudinit_config" "init_cfg" {
}
}
data "template_file" "ccm_manifest" {
data "template_file" "ccm" {
template = file("${path.module}/manifests/hcloud-ccm-net.yaml")
}
data "template_file" "upgrade_plan" {
template = file("${path.module}/manifests/upgrade/plan.yaml")
data "template_file" "plans" {
template = file("${path.module}/manifests/upgrade/plans.yaml")
}
data "template_file" "kured" {
template = file("${path.module}/manifests/upgrade/kured.yaml")
}
locals {
first_control_plane_network_ip = cidrhost(hcloud_network.k3s.ip_range, 2)
}