https://github.com/cilium/cilium
Raw File
Tip revision: dfaccc1264521ecbb75d2f0766a0f6b2417a3e29 authored by Jarno Rajahalme on 26 March 2024, 17:31:07 UTC
Prepare for release v1.14.9
Tip revision: dfaccc1
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