Created
August 24, 2022 19:20
-
-
Save nilesh93/24e81633a9d1c48d796464a17a2e4811 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: "cilium.io/v2" | |
kind: CiliumNetworkPolicy | |
metadata: | |
name: "defult-capture" | |
spec: | |
endpointSelector: | |
matchLabels: {} | |
egress: | |
- toFQDNs: | |
- matchPattern: "*" | |
- toEndpoints: | |
- matchLabels: | |
"k8s:io.kubernetes.pod.namespace": kube-system | |
"k8s:k8s-app": kube-dns | |
toPorts: | |
- ports: | |
- port: "53" | |
protocol: ANY | |
rules: | |
dns: | |
- matchPattern: "*" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment