Fixed bug where internet object is present with empty object even whi… #9
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: networking.k8s.io/v1 | |
kind: NetworkPolicy | |
metadata: | |
name: allow-dns-access | |
spec: | |
egress: | |
- ports: | |
- port: 53 | |
protocol: UDP | |
to: | |
- namespaceSelector: | |
matchLabels: | |
kubernetes.io/metadata.name: kube-system | |
podSelector: | |
matchLabels: | |
k8s-app: kube-dns | |
podSelector: | |
matchExpressions: | |
- key: intents.otterize.com/server | |
operator: Exists | |
policyTypes: | |
- Egress |