https://github.com/cilium/cilium
Raw File
Tip revision: b8e0a95cce81e4495fa36dba5047fe30d132a841 authored by Joe Stringer on 23 February 2022, 21:06:33 UTC
Prepare for release v1.10.8
Tip revision: b8e0a95
testccnp.yaml
apiVersion: cilium.io/v2
kind: CiliumClusterwideNetworkPolicy
metadata:
  name: test-ccnp
  namespace: kube-system
spec:
  endpointSelector:
    matchLabels:
      k8s-app: clustermesh-apiserver
  ingress:
  - fromEndpoints:
    - matchLabels:
        io.kubernetes.pod.name: runtime
  - toPorts:
    - ports:
      - port: "2379"
        protocol: TCP
back to top