istio.io/istio@v0.0.0-20240520182934-d79c90f27776/pilot/pkg/config/kube/gateway/testdata/route-binding.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      - '*/*.domain.example'
    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: istio-ingressgateway.istio-system.svc.domain.suffix
    26      internal.istio.io/parents: Gateway/gateway/foobar.istio-system
    27    creationTimestamp: null
    28    name: gateway-istio-autogenerated-k8s-gateway-foobar
    29    namespace: istio-system
    30  spec:
    31    servers:
    32    - hosts:
    33      - '*/*.foobar.example'
    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: istio-ingressgateway.istio-system.svc.domain.suffix
    45      internal.istio.io/parents: Gateway/gateway/same-namespace.istio-system
    46    creationTimestamp: null
    47    name: gateway-istio-autogenerated-k8s-gateway-same-namespace
    48    namespace: istio-system
    49  spec:
    50    servers:
    51    - hosts:
    52      - istio-system/*.same-namespace.example
    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: istio-ingressgateway.istio-system.svc.domain.suffix
    64      internal.istio.io/parents: Gateway/gateway/scope-route.istio-system
    65    creationTimestamp: null
    66    name: gateway-istio-autogenerated-k8s-gateway-scope-route
    67    namespace: istio-system
    68  spec:
    69    servers:
    70    - hosts:
    71      - '*/*.scope-route.example'
    72      port:
    73        name: default
    74        number: 80
    75        protocol: HTTP
    76  ---
    77  apiVersion: networking.istio.io/v1alpha3
    78  kind: Gateway
    79  metadata:
    80    annotations:
    81      internal.istio.io/gateway-semantics: gateway
    82      internal.istio.io/gateway-service: istio-ingressgateway.istio-system.svc.domain.suffix
    83      internal.istio.io/parents: Gateway/gateway/slctr-labels.istio-system
    84    creationTimestamp: null
    85    name: gateway-istio-autogenerated-k8s-gateway-slctr-labels
    86    namespace: istio-system
    87  spec:
    88    servers:
    89    - hosts:
    90      - group-namespace1/*.slctr-labels.example
    91      - group-namespace2/*.slctr-labels.example
    92      port:
    93        name: default
    94        number: 80
    95        protocol: HTTP
    96  ---
    97  apiVersion: networking.istio.io/v1alpha3
    98  kind: Gateway
    99  metadata:
   100    annotations:
   101      internal.istio.io/gateway-semantics: gateway
   102      internal.istio.io/gateway-service: istio-ingressgateway.istio-system.svc.domain.suffix
   103      internal.istio.io/parents: Gateway/gateway/slctr-expr-in-yes.istio-system
   104    creationTimestamp: null
   105    name: gateway-istio-autogenerated-k8s-gateway-slctr-expr-in-yes
   106    namespace: istio-system
   107  spec:
   108    servers:
   109    - hosts:
   110      - group-namespace1/*.slctr-expr-in-yes.example
   111      - group-namespace2/*.slctr-expr-in-yes.example
   112      port:
   113        name: default
   114        number: 80
   115        protocol: HTTP
   116  ---
   117  apiVersion: networking.istio.io/v1alpha3
   118  kind: Gateway
   119  metadata:
   120    annotations:
   121      internal.istio.io/gateway-semantics: gateway
   122      internal.istio.io/gateway-service: istio-ingressgateway.istio-system.svc.domain.suffix
   123      internal.istio.io/parents: Gateway/gateway/slctr-expr-in-no.istio-system
   124    creationTimestamp: null
   125    name: gateway-istio-autogenerated-k8s-gateway-slctr-expr-in-no
   126    namespace: istio-system
   127  spec:
   128    servers:
   129    - hosts:
   130      - ~/*.slctr-expr-in-no.example
   131      port:
   132        name: default
   133        number: 80
   134        protocol: HTTP
   135  ---
   136  apiVersion: networking.istio.io/v1alpha3
   137  kind: Gateway
   138  metadata:
   139    annotations:
   140      internal.istio.io/gateway-semantics: gateway
   141      internal.istio.io/gateway-service: istio-ingressgateway.istio-system.svc.domain.suffix
   142      internal.istio.io/parents: Gateway/gateway/slctr-expr-notin-yes.istio-system
   143    creationTimestamp: null
   144    name: gateway-istio-autogenerated-k8s-gateway-slctr-expr-notin-yes
   145    namespace: istio-system
   146  spec:
   147    servers:
   148    - hosts:
   149      - default/*.slctr-expr-notin-yes.example
   150      - group-namespace1/*.slctr-expr-notin-yes.example
   151      - group-namespace2/*.slctr-expr-notin-yes.example
   152      - istio-system/*.slctr-expr-notin-yes.example
   153      port:
   154        name: default
   155        number: 80
   156        protocol: HTTP
   157  ---
   158  apiVersion: networking.istio.io/v1alpha3
   159  kind: Gateway
   160  metadata:
   161    annotations:
   162      internal.istio.io/gateway-semantics: gateway
   163      internal.istio.io/gateway-service: istio-ingressgateway.istio-system.svc.domain.suffix
   164      internal.istio.io/parents: Gateway/gateway/slctr-expr-notin-no.istio-system
   165    creationTimestamp: null
   166    name: gateway-istio-autogenerated-k8s-gateway-slctr-expr-notin-no
   167    namespace: istio-system
   168  spec:
   169    servers:
   170    - hosts:
   171      - default/*.slctr-expr-notin-no.example
   172      - istio-system/*.slctr-expr-notin-no.example
   173      port:
   174        name: default
   175        number: 80
   176        protocol: HTTP
   177  ---
   178  apiVersion: networking.istio.io/v1alpha3
   179  kind: Gateway
   180  metadata:
   181    annotations:
   182      internal.istio.io/gateway-semantics: gateway
   183      internal.istio.io/gateway-service: istio-ingressgateway.istio-system.svc.domain.suffix
   184      internal.istio.io/parents: Gateway/gateway/slctr-expr-exists-yes.istio-system
   185    creationTimestamp: null
   186    name: gateway-istio-autogenerated-k8s-gateway-slctr-expr-exists-yes
   187    namespace: istio-system
   188  spec:
   189    servers:
   190    - hosts:
   191      - default/*.slctr-expr-exists-yes.example
   192      - group-namespace1/*.slctr-expr-exists-yes.example
   193      - group-namespace2/*.slctr-expr-exists-yes.example
   194      - istio-system/*.slctr-expr-exists-yes.example
   195      port:
   196        name: default
   197        number: 80
   198        protocol: HTTP
   199  ---
   200  apiVersion: networking.istio.io/v1alpha3
   201  kind: Gateway
   202  metadata:
   203    annotations:
   204      internal.istio.io/gateway-semantics: gateway
   205      internal.istio.io/gateway-service: istio-ingressgateway.istio-system.svc.domain.suffix
   206      internal.istio.io/parents: Gateway/gateway/slctr-expr-exists-no.istio-system
   207    creationTimestamp: null
   208    name: gateway-istio-autogenerated-k8s-gateway-slctr-expr-exists-no
   209    namespace: istio-system
   210  spec:
   211    servers:
   212    - hosts:
   213      - ~/*.slctr-expr-exists-no.example
   214      port:
   215        name: default
   216        number: 80
   217        protocol: HTTP
   218  ---
   219  apiVersion: networking.istio.io/v1alpha3
   220  kind: Gateway
   221  metadata:
   222    annotations:
   223      internal.istio.io/gateway-semantics: gateway
   224      internal.istio.io/gateway-service: istio-ingressgateway.istio-system.svc.domain.suffix
   225      internal.istio.io/parents: Gateway/gateway/slctr-expr-dne-yes.istio-system
   226    creationTimestamp: null
   227    name: gateway-istio-autogenerated-k8s-gateway-slctr-expr-dne-yes
   228    namespace: istio-system
   229  spec:
   230    servers:
   231    - hosts:
   232      - default/*.slctr-expr-dne-yes.example
   233      - group-namespace1/*.slctr-expr-dne-yes.example
   234      - group-namespace2/*.slctr-expr-dne-yes.example
   235      - istio-system/*.slctr-expr-dne-yes.example
   236      port:
   237        name: default
   238        number: 80
   239        protocol: HTTP
   240  ---
   241  apiVersion: networking.istio.io/v1alpha3
   242  kind: Gateway
   243  metadata:
   244    annotations:
   245      internal.istio.io/gateway-semantics: gateway
   246      internal.istio.io/gateway-service: istio-ingressgateway.istio-system.svc.domain.suffix
   247      internal.istio.io/parents: Gateway/gateway/slctr-expr-dne-no.istio-system
   248    creationTimestamp: null
   249    name: gateway-istio-autogenerated-k8s-gateway-slctr-expr-dne-no
   250    namespace: istio-system
   251  spec:
   252    servers:
   253    - hosts:
   254      - ~/*.slctr-expr-dne-no.example
   255      port:
   256        name: default
   257        number: 80
   258        protocol: HTTP
   259  ---
   260  apiVersion: networking.istio.io/v1alpha3
   261  kind: Gateway
   262  metadata:
   263    annotations:
   264      internal.istio.io/gateway-semantics: gateway
   265      internal.istio.io/gateway-service: istio-ingressgateway.istio-system.svc.domain.suffix
   266      internal.istio.io/parents: Gateway/gateway/slctr-combined-yes.istio-system
   267    creationTimestamp: null
   268    name: gateway-istio-autogenerated-k8s-gateway-slctr-combined-yes
   269    namespace: istio-system
   270  spec:
   271    servers:
   272    - hosts:
   273      - group-namespace1/*.slctr-combined-yes.example
   274      - group-namespace2/*.slctr-combined-yes.example
   275      port:
   276        name: default
   277        number: 80
   278        protocol: HTTP
   279  ---
   280  apiVersion: networking.istio.io/v1alpha3
   281  kind: Gateway
   282  metadata:
   283    annotations:
   284      internal.istio.io/gateway-semantics: gateway
   285      internal.istio.io/gateway-service: istio-ingressgateway.istio-system.svc.domain.suffix
   286      internal.istio.io/parents: Gateway/gateway/slctr-combined-no.istio-system
   287    creationTimestamp: null
   288    name: gateway-istio-autogenerated-k8s-gateway-slctr-combined-no
   289    namespace: istio-system
   290  spec:
   291    servers:
   292    - hosts:
   293      - ~/*.slctr-combined-no.example
   294      port:
   295        name: default
   296        number: 80
   297        protocol: HTTP
   298  ---
   299  apiVersion: networking.istio.io/v1alpha3
   300  kind: VirtualService
   301  metadata:
   302    annotations:
   303      internal.istio.io/parents: HTTPRoute/bind-all.default
   304      internal.istio.io/route-semantics: gateway
   305    creationTimestamp: null
   306    name: bind-all-0-istio-autogenerated-k8s-gateway
   307    namespace: default
   308  spec:
   309    gateways:
   310    - istio-system/gateway-istio-autogenerated-k8s-gateway-default
   311    hosts:
   312    - '*'
   313    http:
   314    - name: default.bind-all.0
   315      route:
   316      - destination:
   317          host: httpbin.default.svc.domain.suffix
   318          port:
   319            number: 85
   320  ---
   321  apiVersion: networking.istio.io/v1alpha3
   322  kind: VirtualService
   323  metadata:
   324    annotations:
   325      internal.istio.io/parents: HTTPRoute/bind-all.default,HTTPRoute/same-namespace-valid.istio-system
   326      internal.istio.io/route-semantics: gateway
   327    creationTimestamp: null
   328    name: bind-all-1-istio-autogenerated-k8s-gateway
   329    namespace: default
   330  spec:
   331    gateways:
   332    - istio-system/gateway-istio-autogenerated-k8s-gateway-foobar
   333    hosts:
   334    - '*'
   335    http:
   336    - name: default.bind-all.0
   337      route:
   338      - destination:
   339          host: httpbin.default.svc.domain.suffix
   340          port:
   341            number: 85
   342    - name: istio-system.same-namespace-valid.0
   343      route:
   344      - destination:
   345          host: httpbin.istio-system.svc.domain.suffix
   346          port:
   347            number: 81
   348  ---
   349  apiVersion: networking.istio.io/v1alpha3
   350  kind: VirtualService
   351  metadata:
   352    annotations:
   353      internal.istio.io/parents: HTTPRoute/bind-all.default,HTTPRoute/bind-cross-namespace.group-namespace1
   354      internal.istio.io/route-semantics: gateway
   355    creationTimestamp: null
   356    name: bind-all-2-istio-autogenerated-k8s-gateway
   357    namespace: default
   358  spec:
   359    gateways:
   360    - istio-system/gateway-istio-autogenerated-k8s-gateway-slctr-expr-dne-yes
   361    hosts:
   362    - '*'
   363    http:
   364    - name: default.bind-all.0
   365      route:
   366      - destination:
   367          host: httpbin.default.svc.domain.suffix
   368          port:
   369            number: 85
   370    - name: group-namespace1.bind-cross-namespace.0
   371      route:
   372      - destination:
   373          host: httpbin.group-namespace1.svc.domain.suffix
   374          port:
   375            number: 86
   376  ---
   377  apiVersion: networking.istio.io/v1alpha3
   378  kind: VirtualService
   379  metadata:
   380    annotations:
   381      internal.istio.io/parents: HTTPRoute/bind-all.default,HTTPRoute/bind-cross-namespace.group-namespace1
   382      internal.istio.io/route-semantics: gateway
   383    creationTimestamp: null
   384    name: bind-all-3-istio-autogenerated-k8s-gateway
   385    namespace: default
   386  spec:
   387    gateways:
   388    - istio-system/gateway-istio-autogenerated-k8s-gateway-slctr-expr-exists-yes
   389    hosts:
   390    - '*'
   391    http:
   392    - name: default.bind-all.0
   393      route:
   394      - destination:
   395          host: httpbin.default.svc.domain.suffix
   396          port:
   397            number: 85
   398    - name: group-namespace1.bind-cross-namespace.0
   399      route:
   400      - destination:
   401          host: httpbin.group-namespace1.svc.domain.suffix
   402          port:
   403            number: 86
   404  ---
   405  apiVersion: networking.istio.io/v1alpha3
   406  kind: VirtualService
   407  metadata:
   408    annotations:
   409      internal.istio.io/parents: HTTPRoute/bind-all.default
   410      internal.istio.io/route-semantics: gateway
   411    creationTimestamp: null
   412    name: bind-all-4-istio-autogenerated-k8s-gateway
   413    namespace: default
   414  spec:
   415    gateways:
   416    - istio-system/gateway-istio-autogenerated-k8s-gateway-slctr-expr-notin-no
   417    hosts:
   418    - '*'
   419    http:
   420    - name: default.bind-all.0
   421      route:
   422      - destination:
   423          host: httpbin.default.svc.domain.suffix
   424          port:
   425            number: 85
   426  ---
   427  apiVersion: networking.istio.io/v1alpha3
   428  kind: VirtualService
   429  metadata:
   430    annotations:
   431      internal.istio.io/parents: HTTPRoute/bind-all.default,HTTPRoute/bind-cross-namespace.group-namespace1
   432      internal.istio.io/route-semantics: gateway
   433    creationTimestamp: null
   434    name: bind-all-5-istio-autogenerated-k8s-gateway
   435    namespace: default
   436  spec:
   437    gateways:
   438    - istio-system/gateway-istio-autogenerated-k8s-gateway-slctr-expr-notin-yes
   439    hosts:
   440    - '*'
   441    http:
   442    - name: default.bind-all.0
   443      route:
   444      - destination:
   445          host: httpbin.default.svc.domain.suffix
   446          port:
   447            number: 85
   448    - name: group-namespace1.bind-cross-namespace.0
   449      route:
   450      - destination:
   451          host: httpbin.group-namespace1.svc.domain.suffix
   452          port:
   453            number: 86
   454  ---
   455  apiVersion: networking.istio.io/v1alpha3
   456  kind: VirtualService
   457  metadata:
   458    annotations:
   459      internal.istio.io/parents: HTTPRoute/section-name-cross-namespace.default
   460      internal.istio.io/route-semantics: gateway
   461    creationTimestamp: null
   462    name: section-name-cross-namespace-0-istio-autogenerated-k8s-gateway
   463    namespace: default
   464  spec:
   465    gateways:
   466    - istio-system/gateway-istio-autogenerated-k8s-gateway-foobar
   467    hosts:
   468    - alpha.foobar.example
   469    http:
   470    - name: default.section-name-cross-namespace.0
   471      route:
   472      - destination:
   473          host: httpbin.default.svc.domain.suffix
   474          port:
   475            number: 80
   476  ---
   477  apiVersion: networking.istio.io/v1alpha3
   478  kind: VirtualService
   479  metadata:
   480    annotations:
   481      internal.istio.io/parents: HTTPRoute/bind-cross-namespace.group-namespace1
   482      internal.istio.io/route-semantics: gateway
   483    creationTimestamp: null
   484    name: bind-cross-namespace-0-istio-autogenerated-k8s-gateway
   485    namespace: group-namespace1
   486  spec:
   487    gateways:
   488    - istio-system/gateway-istio-autogenerated-k8s-gateway-slctr-combined-yes
   489    hosts:
   490    - '*'
   491    http:
   492    - name: group-namespace1.bind-cross-namespace.0
   493      route:
   494      - destination:
   495          host: httpbin.group-namespace1.svc.domain.suffix
   496          port:
   497            number: 86
   498  ---
   499  apiVersion: networking.istio.io/v1alpha3
   500  kind: VirtualService
   501  metadata:
   502    annotations:
   503      internal.istio.io/parents: HTTPRoute/bind-cross-namespace.group-namespace1
   504      internal.istio.io/route-semantics: gateway
   505    creationTimestamp: null
   506    name: bind-cross-namespace-1-istio-autogenerated-k8s-gateway
   507    namespace: group-namespace1
   508  spec:
   509    gateways:
   510    - istio-system/gateway-istio-autogenerated-k8s-gateway-slctr-expr-in-yes
   511    hosts:
   512    - '*'
   513    http:
   514    - name: group-namespace1.bind-cross-namespace.0
   515      route:
   516      - destination:
   517          host: httpbin.group-namespace1.svc.domain.suffix
   518          port:
   519            number: 86
   520  ---
   521  apiVersion: networking.istio.io/v1alpha3
   522  kind: VirtualService
   523  metadata:
   524    annotations:
   525      internal.istio.io/parents: HTTPRoute/bind-cross-namespace.group-namespace1,HTTPRoute/bind-cross-namespace.group-namespace2
   526      internal.istio.io/route-semantics: gateway
   527    creationTimestamp: null
   528    name: bind-cross-namespace-2-istio-autogenerated-k8s-gateway
   529    namespace: group-namespace1
   530  spec:
   531    gateways:
   532    - istio-system/gateway-istio-autogenerated-k8s-gateway-slctr-labels
   533    hosts:
   534    - '*'
   535    http:
   536    - name: group-namespace1.bind-cross-namespace.0
   537      route:
   538      - destination:
   539          host: httpbin.group-namespace1.svc.domain.suffix
   540          port:
   541            number: 86
   542    - name: group-namespace2.bind-cross-namespace.0
   543      route:
   544      - destination:
   545          host: httpbin.group-namespace2.svc.domain.suffix
   546          port:
   547            number: 87
   548  ---
   549  apiVersion: networking.istio.io/v1alpha3
   550  kind: VirtualService
   551  metadata:
   552    annotations:
   553      internal.istio.io/parents: HTTPRoute/same-namespace-valid.istio-system
   554      internal.istio.io/route-semantics: gateway
   555    creationTimestamp: null
   556    name: same-namespace-valid-0-istio-autogenerated-k8s-gateway
   557    namespace: istio-system
   558  spec:
   559    gateways:
   560    - istio-system/gateway-istio-autogenerated-k8s-gateway-same-namespace
   561    hosts:
   562    - '*'
   563    http:
   564    - name: istio-system.same-namespace-valid.0
   565      route:
   566      - destination:
   567          host: httpbin.istio-system.svc.domain.suffix
   568          port:
   569            number: 81
   570  ---