mirror of
https://github.com/gwg313/homelab-gitops.git
synced 2026-06-06 00:50:59 +00:00
add forgejo network policy
Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
parent
20c1fccff1
commit
68bebdae57
1 changed files with 17 additions and 0 deletions
17
forgejo/network-policy.yaml
Normal file
17
forgejo/network-policy.yaml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-ingress-to-forgejo
|
||||
namespace: forgejo
|
||||
spec:
|
||||
description: "Accept incoming traffic from the native mesh proxy"
|
||||
endpointSelector:
|
||||
matchLabels:
|
||||
app: forgejo
|
||||
ingress:
|
||||
- fromEntities:
|
||||
- ingress
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "3000"
|
||||
protocol: TCP
|
||||
Loading…
Add table
Add a link
Reference in a new issue