From 8cb7af638d2c3a5fd753c8e93702599e18667636 Mon Sep 17 00:00:00 2001 From: Evan Johnson Date: Thu, 3 Oct 2024 17:09:34 -0400 Subject: [PATCH] fix quoting of port in linodeFirewall --- templates/flavors/k3s/dns-loadbalancing/kustomization.yaml | 2 +- templates/flavors/kubeadm/dns-loadbalancing/kustomization.yaml | 2 +- templates/flavors/rke2/dns-loadbalancing/kustomization.yaml | 2 +- templates/infra/linodeFirewall.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/flavors/k3s/dns-loadbalancing/kustomization.yaml b/templates/flavors/k3s/dns-loadbalancing/kustomization.yaml index 83f3895ed..6195d3700 100644 --- a/templates/flavors/k3s/dns-loadbalancing/kustomization.yaml +++ b/templates/flavors/k3s/dns-loadbalancing/kustomization.yaml @@ -60,7 +60,7 @@ patches: - 0.0.0.0/0 ipv6: - ::/0 - ports: "${APISERVER_PORT:=6443}" + ports: ${APISERVER_PORT:="6443"} protocol: TCP label: inbound-api-server description: accept all api server related traffic from nodebalancers diff --git a/templates/flavors/kubeadm/dns-loadbalancing/kustomization.yaml b/templates/flavors/kubeadm/dns-loadbalancing/kustomization.yaml index 83f3895ed..6195d3700 100644 --- a/templates/flavors/kubeadm/dns-loadbalancing/kustomization.yaml +++ b/templates/flavors/kubeadm/dns-loadbalancing/kustomization.yaml @@ -60,7 +60,7 @@ patches: - 0.0.0.0/0 ipv6: - ::/0 - ports: "${APISERVER_PORT:=6443}" + ports: ${APISERVER_PORT:="6443"} protocol: TCP label: inbound-api-server description: accept all api server related traffic from nodebalancers diff --git a/templates/flavors/rke2/dns-loadbalancing/kustomization.yaml b/templates/flavors/rke2/dns-loadbalancing/kustomization.yaml index 83f3895ed..6195d3700 100644 --- a/templates/flavors/rke2/dns-loadbalancing/kustomization.yaml +++ b/templates/flavors/rke2/dns-loadbalancing/kustomization.yaml @@ -60,7 +60,7 @@ patches: - 0.0.0.0/0 ipv6: - ::/0 - ports: "${APISERVER_PORT:=6443}" + ports: ${APISERVER_PORT:="6443"} protocol: TCP label: inbound-api-server description: accept all api server related traffic from nodebalancers diff --git a/templates/infra/linodeFirewall.yaml b/templates/infra/linodeFirewall.yaml index 6e8d9e8a4..168d2e55e 100644 --- a/templates/infra/linodeFirewall.yaml +++ b/templates/infra/linodeFirewall.yaml @@ -38,7 +38,7 @@ spec: addresses: ipv4: - 192.168.255.0/24 - ports: "${APISERVER_PORT:=6443}" + ports: ${APISERVER_PORT:="6443"} protocol: TCP label: inbound-api-server description: accept all api server related traffic from nodebalancers