Merge pull request #152 from sirius0xdev/fix/trading-dashboard-network-policy
fix(platform): add port 3000 to trading-platform NetworkPolicy
This commit is contained in:
commit
10d9295eb2
3 changed files with 15 additions and 2 deletions
|
|
@ -23,6 +23,8 @@ spec:
|
|||
matchLabels:
|
||||
kubernetes.io/metadata.name: customer1
|
||||
ports:
|
||||
- port: 3000
|
||||
protocol: TCP
|
||||
- port: 8000
|
||||
protocol: TCP
|
||||
- port: 8001
|
||||
|
|
@ -43,6 +45,8 @@ spec:
|
|||
- trading-news-service
|
||||
- trading-dashboard
|
||||
ports:
|
||||
- port: 3000
|
||||
protocol: TCP
|
||||
- port: 8000
|
||||
protocol: TCP
|
||||
- port: 8001
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- proxygroup-rtx6000.yaml
|
||||
- proxygroup-grafana.yaml
|
||||
- proxygroup-trading-dashboard.yaml
|
||||
|
|
|
|||
10
infrastructure/tailnet/proxygroup-trading-dashboard.yaml
Normal file
10
infrastructure/tailnet/proxygroup-trading-dashboard.yaml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
apiVersion: tailscale.com/v1alpha1
|
||||
kind: ProxyGroup
|
||||
metadata:
|
||||
name: trading-dashboard
|
||||
namespace: customer1
|
||||
spec:
|
||||
type: ingress
|
||||
hostnamePrefix: trade
|
||||
tags:
|
||||
- tag:k8s-operator
|
||||
Loading…
Add table
Reference in a new issue