mirror of
https://github.com/optim-enterprises-bv/terraform-talos.git
synced 2025-10-29 17:42:47 +00:00
switch discovery on
This commit is contained in:
@@ -53,6 +53,8 @@ cluster:
|
||||
controlPlane:
|
||||
endpoint: https://${apiDomain}:6443
|
||||
clusterName: ${clusterName}
|
||||
discovery:
|
||||
enabled: true
|
||||
network:
|
||||
dnsDomain: ${domain}
|
||||
podSubnets: ${format("%#v",split(",",podSubnets))}
|
||||
|
||||
@@ -55,6 +55,8 @@ cluster:
|
||||
controlPlane:
|
||||
endpoint: https://${apiDomain}:6443
|
||||
clusterName: ${clusterName}
|
||||
discovery:
|
||||
enabled: true
|
||||
network:
|
||||
dnsDomain: ${domain}
|
||||
podSubnets: ${format("%#v",split(",",podSubnets))}
|
||||
|
||||
@@ -51,18 +51,18 @@ resource "hcloud_firewall" "controlplane" {
|
||||
port = "50001"
|
||||
source_ips = [var.vpc_main_cidr]
|
||||
}
|
||||
rule {
|
||||
direction = "in"
|
||||
protocol = "tcp"
|
||||
port = "2379"
|
||||
source_ips = ["0.0.0.0/0"]
|
||||
}
|
||||
rule {
|
||||
direction = "in"
|
||||
protocol = "tcp"
|
||||
port = "2380"
|
||||
source_ips = ["0.0.0.0/0"]
|
||||
}
|
||||
# rule {
|
||||
# direction = "in"
|
||||
# protocol = "tcp"
|
||||
# port = "2379"
|
||||
# source_ips = ["0.0.0.0/0"]
|
||||
# }
|
||||
# rule {
|
||||
# direction = "in"
|
||||
# protocol = "tcp"
|
||||
# port = "2380"
|
||||
# source_ips = ["0.0.0.0/0"]
|
||||
# }
|
||||
rule {
|
||||
direction = "in"
|
||||
protocol = "tcp"
|
||||
|
||||
Reference in New Issue
Block a user