2022-01-12 02:15:07 +00:00
|
|
|
apiVersion: networking.k8s.io/v1
|
|
|
|
kind: NetworkPolicy
|
|
|
|
metadata:
|
2022-02-10 05:32:25 +00:00
|
|
|
name: longhorn-conversion-webhook
|
2022-01-12 02:15:07 +00:00
|
|
|
namespace: longhorn-system
|
|
|
|
spec:
|
|
|
|
podSelector:
|
|
|
|
matchLabels:
|
2023-03-23 09:15:38 +00:00
|
|
|
app: longhorn-manager
|
2022-02-10 05:32:25 +00:00
|
|
|
policyTypes:
|
|
|
|
- Ingress
|
|
|
|
ingress:
|
|
|
|
- ports:
|
|
|
|
- protocol: TCP
|
2023-03-23 09:15:38 +00:00
|
|
|
port: 9501
|
2022-02-10 05:32:25 +00:00
|
|
|
---
|
|
|
|
apiVersion: networking.k8s.io/v1
|
|
|
|
kind: NetworkPolicy
|
|
|
|
metadata:
|
|
|
|
name: longhorn-admission-webhook
|
|
|
|
namespace: longhorn-system
|
|
|
|
spec:
|
|
|
|
podSelector:
|
|
|
|
matchLabels:
|
2023-03-23 09:15:38 +00:00
|
|
|
app: longhorn-manager
|
2022-01-12 02:15:07 +00:00
|
|
|
policyTypes:
|
|
|
|
- Ingress
|
|
|
|
ingress:
|
|
|
|
- ports:
|
|
|
|
- protocol: TCP
|
2023-03-23 09:15:38 +00:00
|
|
|
port: 9502
|