modified: deploy/infra/network-policies.yaml
All checks were successful
/ continuous-deploy (push) Successful in 22s
All checks were successful
/ continuous-deploy (push) Successful in 22s
This commit is contained in:
@@ -12,6 +12,25 @@ spec:
|
|||||||
values:
|
values:
|
||||||
- git-limbosolutions-com
|
- 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
|
apiVersion: cilium.io/v2
|
||||||
@@ -40,13 +59,3 @@ spec:
|
|||||||
- port: "3000"
|
- port: "3000"
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|
||||||
# -------------------------------------------------------------
|
|
||||||
# Allow SSH (2222)
|
|
||||||
# -------------------------------------------------------------
|
|
||||||
- fromCIDRSet:
|
|
||||||
- cidr: 0.0.0.0/0
|
|
||||||
toPorts:
|
|
||||||
- ports:
|
|
||||||
- port: "2222"
|
|
||||||
protocol: TCP
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user