modified: deploy/infra/network-policies.yaml
All checks were successful
/ continuous-deploy (push) Successful in 22s

This commit is contained in:
Márcio Fernandes
2026-03-30 00:29:50 +00:00
parent 4bcb91109c
commit 87dc556748

View File

@@ -12,6 +12,25 @@ spec:
values:
- git-limbosolutions-com
---
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
name: allow-ssh-to-gitea
spec:
endpointSelector:
matchLabels:
app.kubernetes.io/name: gitea
ingress:
- fromCIDRSet:
- cidr: 0.0.0.0/0
toPorts:
- ports:
- port: "2222"
protocol: TCP
---
apiVersion: cilium.io/v2
@@ -40,13 +59,3 @@ spec:
- port: "3000"
protocol: TCP
# -------------------------------------------------------------
# Allow SSH (2222)
# -------------------------------------------------------------
- fromCIDRSet:
- cidr: 0.0.0.0/0
toPorts:
- ports:
- port: "2222"
protocol: TCP