fix(platform): allow tailscale namespace in NetworkPolicy for proxy access
Tailscale proxy pods run in the tailscale namespace, so the existing customer1-only namespaceSelector blocked proxy → dashboard traffic.
This commit is contained in:
parent
10d9295eb2
commit
7e8fd296c4
1 changed files with 16 additions and 0 deletions
|
|
@ -33,6 +33,22 @@ spec:
|
|||
protocol: TCP
|
||||
- port: 8003
|
||||
protocol: TCP
|
||||
# Allow from Tailscale proxy namespace
|
||||
- from:
|
||||
- namespaceSelector:
|
||||
matchLabels:
|
||||
kubernetes.io/metadata.name: tailscale
|
||||
ports:
|
||||
- port: 3000
|
||||
protocol: TCP
|
||||
- port: 8000
|
||||
protocol: TCP
|
||||
- port: 8001
|
||||
protocol: TCP
|
||||
- port: 8002
|
||||
protocol: TCP
|
||||
- port: 8003
|
||||
protocol: TCP
|
||||
# Allow inter-service communication
|
||||
- from:
|
||||
- podSelector:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue