add bytestash
Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
parent
8ca8f0b8ea
commit
7a569878b8
17 changed files with 126 additions and 102 deletions
22
apps/bytestash/network-policy.yaml
Normal file
22
apps/bytestash/network-policy.yaml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-ingress
|
||||
namespace: bytestash
|
||||
spec:
|
||||
description: "Allow external traffic from the shared Cilium edge proxy into the bytestash service"
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app: bytestash
|
||||
ingress:
|
||||
- fromEntities:
|
||||
- ingress
|
||||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
io.kubernetes.pod.namespace: cilium-ingress
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "80"
|
||||
protocol: TCP
|
||||
- port: "5000"
|
||||
protocol: TCP
|
||||
Loading…
Add table
Add a link
Reference in a new issue