github.com/datreeio/datree@v1.9.22-rc/pkg/policy/tests/34/fail/34-fail.yaml (about) 1 apiVersion: discovery.k8s.io/v1 2 kind: EndpointSlice 3 metadata: 4 name: example-abc 5 labels: 6 kubernetes.io/service-name: example 7 addressType: IPv4 8 ports: 9 - name: http 10 protocol: TCP 11 port: 80 12 endpoints: 13 - addresses: 14 - "10.1.2.3" 15 - "127.1.2.3" 16 conditions: 17 ready: true 18 hostname: pod-1 19 nodeName: node-1 20 zone: us-west2-a