apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
  name: gallery-be-gateway
  namespace: sta-gallery-be
spec:
  selector:
    istio: ingressgateway # use istio default controller
  servers:
    - hosts:
        - gallery-be.staging.adaoncloud.com
      port:
        number: 443
        name: https-gallery-be
        protocol: HTTPS
      tls:
        mode: SIMPLE
        credentialName: "gallery-be-tls"
    - hosts:
        - gallery-be.staging.adaoncloud.com
      port:
        name: http-gallery-be
        number: 80
        protocol: HTTP
