59 lines
1.3 KiB
YAML
59 lines
1.3 KiB
YAML
apiVersion: cilium.io/v2
|
|
kind: CiliumNetworkPolicy
|
|
metadata:
|
|
name: oci-l4-relay-wan-controller
|
|
namespace: kube-system
|
|
spec:
|
|
endpointSelector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: oci-l4-relay-wan-controller
|
|
ingress: []
|
|
egress:
|
|
- toEntities:
|
|
- kube-apiserver
|
|
toPorts:
|
|
- ports:
|
|
- port: "6443"
|
|
protocol: TCP
|
|
- toEndpoints:
|
|
- matchLabels:
|
|
k8s:io.kubernetes.pod.namespace: kube-system
|
|
k8s-app: kube-dns
|
|
toPorts:
|
|
- ports:
|
|
- port: "53"
|
|
protocol: UDP
|
|
- port: "53"
|
|
protocol: TCP
|
|
rules:
|
|
dns:
|
|
- matchPattern: "*"
|
|
- toServices:
|
|
- k8sService:
|
|
namespace: kube-system
|
|
serviceName: kube-dns
|
|
toPorts:
|
|
- ports:
|
|
- port: "53"
|
|
protocol: UDP
|
|
- port: "53"
|
|
protocol: TCP
|
|
- toCIDR:
|
|
- 10.212.111.120/32
|
|
toPorts:
|
|
- ports:
|
|
- port: "8443"
|
|
protocol: TCP
|
|
- toEntities:
|
|
- host
|
|
- remote-node
|
|
toPorts:
|
|
- ports:
|
|
- port: "19100"
|
|
protocol: TCP
|
|
- toFQDNs:
|
|
- matchPattern: iaas.*.oraclecloud.com
|
|
toPorts:
|
|
- ports:
|
|
- port: "443"
|
|
protocol: TCP
|