istio.io/istio@v0.0.0-20240520182934-d79c90f27776/pilot/pkg/config/kube/gateway/testdata/mesh.yaml.golden (about)

     1  apiVersion: networking.istio.io/v1alpha3
     2  kind: Gateway
     3  metadata:
     4    annotations:
     5      internal.istio.io/gateway-semantics: gateway
     6      internal.istio.io/gateway-service: istio-ingressgateway.istio-system.svc.domain.suffix
     7      internal.istio.io/parents: Gateway/gateway/default.istio-system
     8    creationTimestamp: null
     9    name: gateway-istio-autogenerated-k8s-gateway-default
    10    namespace: istio-system
    11  spec:
    12    servers:
    13    - hosts:
    14      - '*/*.example.com'
    15      port:
    16        name: default
    17        number: 80
    18        protocol: HTTP
    19  ---
    20  apiVersion: networking.istio.io/v1alpha3
    21  kind: VirtualService
    22  metadata:
    23    annotations:
    24      internal.istio.io/parents: HTTPRoute/consumer-override.default
    25      internal.istio.io/route-semantics: gateway
    26    creationTimestamp: null
    27    name: consumer-override-0-istio-autogenerated-k8s-gateway
    28    namespace: default
    29  spec:
    30    gateways:
    31    - mesh
    32    hosts:
    33    - httpbin-apple.apple.svc.domain.suffix
    34    http:
    35    - match:
    36      - port: 80
    37      name: default.consumer-override.0
    38      route:
    39      - destination:
    40          host: httpbin-apple.apple.svc.domain.suffix
    41          port:
    42            number: 80
    43  ---
    44  apiVersion: networking.istio.io/v1alpha3
    45  kind: VirtualService
    46  metadata:
    47    annotations:
    48      internal.istio.io/parents: HTTPRoute/dual.default
    49      internal.istio.io/route-semantics: gateway
    50    creationTimestamp: null
    51    name: dual-0-istio-autogenerated-k8s-gateway
    52    namespace: default
    53  spec:
    54    gateways:
    55    - istio-system/gateway-istio-autogenerated-k8s-gateway-default
    56    hosts:
    57    - foo.example.com
    58    http:
    59    - name: default.dual.0
    60      route:
    61      - destination:
    62          host: example.default.svc.domain.suffix
    63          port:
    64            number: 80
    65  ---
    66  apiVersion: networking.istio.io/v1alpha3
    67  kind: VirtualService
    68  metadata:
    69    annotations:
    70      internal.istio.io/parents: HTTPRoute/dual.default
    71      internal.istio.io/route-semantics: gateway
    72    creationTimestamp: null
    73    name: dual-1-istio-autogenerated-k8s-gateway
    74    namespace: default
    75  spec:
    76    gateways:
    77    - mesh
    78    hosts:
    79    - example.default.svc.domain.suffix
    80    http:
    81    - name: default.dual.0
    82      route:
    83      - destination:
    84          host: example.default.svc.domain.suffix
    85          port:
    86            number: 80
    87  ---
    88  apiVersion: networking.istio.io/v1alpha3
    89  kind: VirtualService
    90  metadata:
    91    annotations:
    92      internal.istio.io/parents: HTTPRoute/echo.default,HTTPRoute/header.default
    93      internal.istio.io/route-semantics: gateway
    94    creationTimestamp: null
    95    name: echo-0-istio-autogenerated-k8s-gateway
    96    namespace: default
    97  spec:
    98    gateways:
    99    - mesh
   100    hosts:
   101    - echo.default.svc.domain.suffix
   102    http:
   103    - headers:
   104        request:
   105          add:
   106            my-added-header: added-value
   107      match:
   108      - uri:
   109          prefix: /path
   110      name: default.header.0
   111      route:
   112      - destination:
   113          host: echo.default.svc.domain.suffix
   114          port:
   115            number: 80
   116    - name: default.echo.0
   117      route:
   118      - destination:
   119          host: echo.default.svc.domain.suffix
   120          port:
   121            number: 80
   122  ---
   123  apiVersion: networking.istio.io/v1alpha3
   124  kind: VirtualService
   125  metadata:
   126    annotations:
   127      internal.istio.io/parents: HTTPRoute/echo-port.default
   128      internal.istio.io/route-semantics: gateway
   129    creationTimestamp: null
   130    name: echo-port-0-istio-autogenerated-k8s-gateway
   131    namespace: default
   132  spec:
   133    gateways:
   134    - mesh
   135    hosts:
   136    - echo-port.default.svc.domain.suffix
   137    http:
   138    - match:
   139      - port: 80
   140      name: default.echo-port.0
   141      route:
   142      - destination:
   143          host: echo.default.svc.domain.suffix
   144          port:
   145            number: 80
   146  ---
   147  apiVersion: networking.istio.io/v1alpha3
   148  kind: VirtualService
   149  metadata:
   150    annotations:
   151      internal.istio.io/parents: HTTPRoute/multi-service.default
   152      internal.istio.io/route-semantics: gateway
   153    creationTimestamp: null
   154    name: multi-service-0-istio-autogenerated-k8s-gateway
   155    namespace: default
   156  spec:
   157    gateways:
   158    - mesh
   159    hosts:
   160    - echo-1.default.svc.domain.suffix
   161    http:
   162    - match:
   163      - port: 80
   164      name: default.multi-service.0
   165      route:
   166      - destination:
   167          host: echo.default.svc.domain.suffix
   168          port:
   169            number: 80
   170  ---
   171  apiVersion: networking.istio.io/v1alpha3
   172  kind: VirtualService
   173  metadata:
   174    annotations:
   175      internal.istio.io/parents: HTTPRoute/multi-service.default
   176      internal.istio.io/route-semantics: gateway
   177    creationTimestamp: null
   178    name: multi-service-1-istio-autogenerated-k8s-gateway
   179    namespace: default
   180  spec:
   181    gateways:
   182    - mesh
   183    hosts:
   184    - echo-1.default.svc.domain.suffix
   185    http:
   186    - match:
   187      - port: 8080
   188      name: default.multi-service.0
   189      route:
   190      - destination:
   191          host: echo.default.svc.domain.suffix
   192          port:
   193            number: 80
   194  ---
   195  apiVersion: networking.istio.io/v1alpha3
   196  kind: VirtualService
   197  metadata:
   198    annotations:
   199      internal.istio.io/parents: HTTPRoute/multi-service.default
   200      internal.istio.io/route-semantics: gateway
   201    creationTimestamp: null
   202    name: multi-service-2-istio-autogenerated-k8s-gateway
   203    namespace: default
   204  spec:
   205    gateways:
   206    - mesh
   207    hosts:
   208    - echo-2.default.svc.domain.suffix
   209    http:
   210    - name: default.multi-service.0
   211      route:
   212      - destination:
   213          host: echo.default.svc.domain.suffix
   214          port:
   215            number: 80
   216  ---
   217  apiVersion: networking.istio.io/v1alpha3
   218  kind: VirtualService
   219  metadata:
   220    annotations:
   221      internal.istio.io/parents: TCPRoute/tcp.default
   222      internal.istio.io/route-semantics: gateway
   223    creationTimestamp: null
   224    name: tcp-tcp-0-istio-autogenerated-k8s-gateway
   225    namespace: default
   226  spec:
   227    gateways:
   228    - mesh
   229    hosts:
   230    - echo-1.default.svc.domain.suffix
   231    tcp:
   232    - route:
   233      - destination:
   234          host: echo.default.svc.domain.suffix
   235          port:
   236            number: 80
   237  ---
   238  apiVersion: networking.istio.io/v1alpha3
   239  kind: VirtualService
   240  metadata:
   241    annotations:
   242      internal.istio.io/parents: TLSRoute/tls.default
   243      internal.istio.io/route-semantics: gateway
   244    creationTimestamp: null
   245    name: tls-tls-0-istio-autogenerated-k8s-gateway
   246    namespace: default
   247  spec:
   248    gateways:
   249    - mesh
   250    hosts:
   251    - echo-1.default.svc.domain.suffix
   252    tls:
   253    - match:
   254      - sniHosts:
   255        - echo-1.default.svc.domain.suffix
   256      route:
   257      - destination:
   258          host: echo.default.svc.domain.suffix
   259          port:
   260            number: 80
   261  ---