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