Merge pull request #153 from sirius0xdev/fix/trading-dashboard-tailscale-netpol
fix(platform): allow tailscale namespace in NetworkPolicy for dashboard proxy access
This commit is contained in:
commit
1ba5a4e8a6
1 changed files with 16 additions and 0 deletions
|
|
@ -33,6 +33,22 @@ spec:
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
- port: 8003
|
- port: 8003
|
||||||
protocol: TCP
|
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
|
# Allow inter-service communication
|
||||||
- from:
|
- from:
|
||||||
- podSelector:
|
- podSelector:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue