Skip to content
Snippets Groups Projects
Verified Commit 2a1e161e authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

terraform: Fix firewall "apply_to" labels

parent 19a44f32
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
resource "hcloud_firewall" "k8s-node" {
name = "k8s-node"
apply_to {
label_selector = "k8s.io/node=true"
label_selector = "k8s.io/node"
}
# ICMP is always a good idea
......@@ -78,7 +78,7 @@ resource "hcloud_firewall" "k8s-node" {
resource "hcloud_firewall" "k8s-master" {
name = "k8s-master"
apply_to {
label_selector = "k8s.io/master=true"
label_selector = "k8s.io/master"
}
# ICMP is always a good idea
......@@ -125,7 +125,7 @@ resource "hcloud_firewall" "k8s-master" {
resource "hcloud_firewall" "k8s-ingress" {
name = "k8s-ingress"
apply_to {
label_selector = "k8s.io/ingress=true"
label_selector = "k8s.io/ingress"
}
# ICMP is always a good idea
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment