https://github.com/cilium/cilium
Raw File
Tip revision: 19ff6c602372ef89eaab7ab4bb21482507e07b52 authored by Cilium Release Bot on 10 July 2024, 20:43:30 UTC
Prepare for release v1.13.18
Tip revision: 19ff6c6
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