feat(networkpolicy): simplify ingress rules for gitea
这个提交包含在:
@@ -8,15 +8,7 @@ spec:
|
|||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/name: gitea
|
app.kubernetes.io/name: gitea
|
||||||
ingress:
|
ingress:
|
||||||
- from:
|
- {}
|
||||||
- podSelector: {}
|
|
||||||
- ipBlock:
|
|
||||||
cidr: 100.0.0.0/8
|
|
||||||
ports:
|
|
||||||
- port: 3000
|
|
||||||
protocol: TCP
|
|
||||||
- port: 2222
|
|
||||||
protocol: TCP
|
|
||||||
egress:
|
egress:
|
||||||
- {}
|
- {}
|
||||||
policyTypes:
|
policyTypes:
|
||||||
|
|||||||
在新议题中引用
屏蔽一个用户