mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-03-21 10:39:43 +00:00
fix(ingress-nginx): expose to Tailscale
This commit is contained in:
@@ -27,6 +27,7 @@ spec:
|
||||
externalTrafficPolicy: "Cluster"
|
||||
annotations:
|
||||
"io.cilium/lb-ipam-ips": "${APP_IP_NGINX_EXTERNAL}"
|
||||
tailscale.com/expose: "true"
|
||||
extraArgs:
|
||||
default-ssl-certificate: "ingress/short-domain-tls"
|
||||
ingressClassResource:
|
||||
|
||||
@@ -26,6 +26,7 @@ spec:
|
||||
externalTrafficPolicy: "Cluster"
|
||||
annotations:
|
||||
"io.cilium/lb-ipam-ips": "${APP_IP_NGINX_INTERNAL}"
|
||||
tailscale.com/expose: "true"
|
||||
extraArgs:
|
||||
default-ssl-certificate: "ingress/short-domain-tls"
|
||||
ingressClassResource:
|
||||
|
||||
@@ -27,6 +27,7 @@ spec:
|
||||
externalTrafficPolicy: "Cluster"
|
||||
annotations:
|
||||
"io.cilium/lb-ipam-ips": "${APP_IP_NGINX_PUBLIC}"
|
||||
tailscale.com/expose: "true"
|
||||
extraArgs:
|
||||
default-ssl-certificate: "ingress/long-domain-tls"
|
||||
ingressClassResource:
|
||||
|
||||
@@ -42,6 +42,10 @@ spec:
|
||||
protocol: TCP
|
||||
- port: "443"
|
||||
protocol: UDP
|
||||
# allow traffic from Tailscale within cluster
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: tailscale
|
||||
# allow traffic from external-proxy-x
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
|
||||
Reference in New Issue
Block a user