https://github.com/cilium/cilium
Raw File
Tip revision: 9cc8d710c611156c14fceae592fc1b59c4a8681b authored by Michi Mutsuzaki on 26 January 2023, 09:40:50 UTC
Prepare for release v1.12.6
Tip revision: 9cc8d71
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