mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-21 01:32:44 +08:00
31 lines
754 B
YAML
31 lines
754 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: NetworkPolicy
|
|
metadata:
|
|
name: ql3-plugin-package-executor
|
|
namespace: qinglong3-system
|
|
labels:
|
|
app.kubernetes.io/name: ql3-plugin-package-executor
|
|
app.kubernetes.io/component: plugin-package-executor
|
|
app.kubernetes.io/part-of: qinglong3
|
|
spec:
|
|
podSelector:
|
|
matchLabels:
|
|
app.kubernetes.io/component: plugin-package-executor
|
|
policyTypes:
|
|
- Ingress
|
|
- Egress
|
|
ingress: []
|
|
egress:
|
|
- to:
|
|
- namespaceSelector:
|
|
matchLabels:
|
|
kubernetes.io/metadata.name: kube-system
|
|
podSelector:
|
|
matchLabels:
|
|
k8s-app: kube-dns
|
|
ports:
|
|
- protocol: UDP
|
|
port: 53
|
|
- protocol: TCP
|
|
port: 53
|