From 5f85a858446aefae37c7c0d37feebd360f7cecb1 Mon Sep 17 00:00:00 2001 From: rohow Date: Wed, 4 Feb 2026 19:20:50 +0800 Subject: [PATCH] feat(networkpolicy): simplify ingress rules for gitea --- apps/infra/gitops/gitea/networkpolicy.yaml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/apps/infra/gitops/gitea/networkpolicy.yaml b/apps/infra/gitops/gitea/networkpolicy.yaml index c0d110e..1f4c175 100644 --- a/apps/infra/gitops/gitea/networkpolicy.yaml +++ b/apps/infra/gitops/gitea/networkpolicy.yaml @@ -8,15 +8,7 @@ spec: matchLabels: app.kubernetes.io/name: gitea ingress: - - from: - - podSelector: {} - - ipBlock: - cidr: 100.0.0.0/8 - ports: - - port: 3000 - protocol: TCP - - port: 2222 - protocol: TCP + - {} egress: - {} policyTypes: