# istio_analyze-list-type.yaml
apiVersion: networking.istio.io/v1
kind: Gateway
metadata:
  name: alpha
spec:
  selector:
    istio: ingressgateway
  servers:
    - port:
        number: 80
        name: tcp
        protocol: TCP
      hosts:
        - "foo.bar"
---
apiVersion: v1
kind: List
items:
  - apiVersion: networking.istio.io/v1
    kind: Gateway
    metadata:
      name: beta-l
    spec:
      selector:
        istio: ingressgateway
      servers:
        - port:
            number: 80
            name: tcp
            protocol: TCP
          hosts:
            - "foo.bar"

  - apiVersion: networking.istio.io/v1
    kind: Gateway
    metadata:
      name: alpha-l
    spec:
      selector:
        istio: ingressgateway
      servers:
        - port:
            number: 80
            name: http
            protocol: HTTP
          hosts:
            - "foo.bar"