apiVersion: cilium.io/v2 kind: CiliumNetworkPolicy metadata: name: allow-proxy-metrics namespace: kube-system spec: description: Allow Proxy metrics endpointSelector: matchLabels: k8s-app: kube-proxy ingress: - fromEndpoints: - matchLabels: io.kubernetes.pod.namespace: prometheus - toPorts: - ports: - port: "10249" protocol: TCP