istio

Форк
0
/
crd-all.gen.yaml 
12221 строка · 570.3 Кб
1
# DO NOT EDIT - Generated by Cue OpenAPI generator based on Istio APIs.
2
apiVersion: apiextensions.k8s.io/v1
3
kind: CustomResourceDefinition
4
metadata:
5
  annotations:
6
    "helm.sh/resource-policy": keep
7
  labels:
8
    app: istio-pilot
9
    chart: istio
10
    heritage: Tiller
11
    release: istio
12
  name: wasmplugins.extensions.istio.io
13
spec:
14
  group: extensions.istio.io
15
  names:
16
    categories:
17
    - istio-io
18
    - extensions-istio-io
19
    kind: WasmPlugin
20
    listKind: WasmPluginList
21
    plural: wasmplugins
22
    singular: wasmplugin
23
  scope: Namespaced
24
  versions:
25
  - additionalPrinterColumns:
26
    - description: 'CreationTimestamp is a timestamp representing the server time
27
        when this object was created. It is not guaranteed to be set in happens-before
28
        order across separate operations. Clients may not set this value. It is represented
29
        in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for
30
        lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
31
      jsonPath: .metadata.creationTimestamp
32
      name: Age
33
      type: date
34
    name: v1alpha1
35
    schema:
36
      openAPIV3Schema:
37
        properties:
38
          spec:
39
            description: 'Extend the functionality provided by the Istio proxy through
40
              WebAssembly filters. See more details at: https://istio.io/docs/reference/config/proxy_extensions/wasm-plugin.html'
41
            properties:
42
              failStrategy:
43
                description: |-
44
                  Specifies the failure behavior for the plugin due to fatal errors.
45

46
                  Valid Options: FAIL_CLOSE, FAIL_OPEN
47
                enum:
48
                - FAIL_CLOSE
49
                - FAIL_OPEN
50
                type: string
51
              imagePullPolicy:
52
                description: |-
53
                  The pull behaviour to be applied when fetching Wasm module by either OCI image or `http/https`.
54

55
                  Valid Options: IfNotPresent, Always
56
                enum:
57
                - UNSPECIFIED_POLICY
58
                - IfNotPresent
59
                - Always
60
                type: string
61
              imagePullSecret:
62
                description: Credentials to use for OCI image pulling.
63
                maxLength: 253
64
                minLength: 1
65
                type: string
66
              match:
67
                description: Specifies the criteria to determine which traffic is
68
                  passed to WasmPlugin.
69
                items:
70
                  properties:
71
                    mode:
72
                      description: |-
73
                        Criteria for selecting traffic by their direction.
74

75
                        Valid Options: CLIENT, SERVER, CLIENT_AND_SERVER
76
                      enum:
77
                      - UNDEFINED
78
                      - CLIENT
79
                      - SERVER
80
                      - CLIENT_AND_SERVER
81
                      type: string
82
                    ports:
83
                      description: Criteria for selecting traffic by their destination
84
                        port.
85
                      items:
86
                        properties:
87
                          number:
88
                            maximum: 65535
89
                            minimum: 1
90
                            type: integer
91
                        required:
92
                        - number
93
                        type: object
94
                      type: array
95
                      x-kubernetes-list-map-keys:
96
                      - number
97
                      x-kubernetes-list-type: map
98
                  type: object
99
                type: array
100
              phase:
101
                description: |-
102
                  Determines where in the filter chain this `WasmPlugin` is to be injected.
103

104
                  Valid Options: AUTHN, AUTHZ, STATS
105
                enum:
106
                - UNSPECIFIED_PHASE
107
                - AUTHN
108
                - AUTHZ
109
                - STATS
110
                type: string
111
              pluginConfig:
112
                description: The configuration that will be passed on to the plugin.
113
                type: object
114
                x-kubernetes-preserve-unknown-fields: true
115
              pluginName:
116
                description: The plugin name to be used in the Envoy configuration
117
                  (used to be called `rootID`).
118
                maxLength: 256
119
                minLength: 1
120
                type: string
121
              priority:
122
                description: Determines ordering of `WasmPlugins` in the same `phase`.
123
                nullable: true
124
                type: integer
125
              selector:
126
                description: Criteria used to select the specific set of pods/VMs
127
                  on which this plugin configuration should be applied.
128
                properties:
129
                  matchLabels:
130
                    additionalProperties:
131
                      type: string
132
                    description: One or more labels that indicate a specific set of
133
                      pods/VMs on which a policy should be applied.
134
                    type: object
135
                type: object
136
              sha256:
137
                description: SHA256 checksum that will be used to verify Wasm module
138
                  or OCI container.
139
                pattern: (^$|^[a-f0-9]{64}$)
140
                type: string
141
              targetRef:
142
                description: Optional.
143
                properties:
144
                  group:
145
                    description: group is the group of the target resource.
146
                    type: string
147
                  kind:
148
                    description: kind is kind of the target resource.
149
                    type: string
150
                  name:
151
                    description: name is the name of the target resource.
152
                    type: string
153
                  namespace:
154
                    description: namespace is the namespace of the referent.
155
                    type: string
156
                type: object
157
              type:
158
                description: |-
159
                  Specifies the type of Wasm Extension to be used.
160

161
                  Valid Options: HTTP, NETWORK
162
                enum:
163
                - UNSPECIFIED_PLUGIN_TYPE
164
                - HTTP
165
                - NETWORK
166
                type: string
167
              url:
168
                description: URL of a Wasm module or OCI container.
169
                minLength: 1
170
                type: string
171
                x-kubernetes-validations:
172
                - message: url must have schema one of [http, https, file, oci]
173
                  rule: 'isURL(self) ? (url(self).getScheme() in ['''', ''http'',
174
                    ''https'', ''oci'', ''file'']) : (isURL(''http://'' + self) &&
175
                    url(''http://'' +self).getScheme() in ['''', ''http'', ''https'',
176
                    ''oci'', ''file''])'
177
              verificationKey:
178
                type: string
179
              vmConfig:
180
                description: Configuration for a Wasm VM.
181
                properties:
182
                  env:
183
                    description: Specifies environment variables to be injected to
184
                      this VM.
185
                    items:
186
                      properties:
187
                        name:
188
                          description: Name of the environment variable.
189
                          maxLength: 256
190
                          minLength: 1
191
                          type: string
192
                        value:
193
                          description: Value for the environment variable.
194
                          maxLength: 2048
195
                          type: string
196
                        valueFrom:
197
                          description: |-
198
                            Source for the environment variable's value.
199

200
                            Valid Options: INLINE, HOST
201
                          enum:
202
                          - INLINE
203
                          - HOST
204
                          type: string
205
                      required:
206
                      - name
207
                      type: object
208
                      x-kubernetes-validations:
209
                      - message: value may only be set when valueFrom is INLINE
210
                        rule: '(has(self.valueFrom) ? self.valueFrom : '''') != ''HOST''
211
                          || !has(self.value)'
212
                    maxItems: 256
213
                    type: array
214
                    x-kubernetes-list-map-keys:
215
                    - name
216
                    x-kubernetes-list-type: map
217
                type: object
218
            required:
219
            - url
220
            type: object
221
          status:
222
            type: object
223
            x-kubernetes-preserve-unknown-fields: true
224
        required:
225
        - spec
226
        type: object
227
    served: true
228
    storage: true
229
    subresources:
230
      status: {}
231
---
232
apiVersion: apiextensions.k8s.io/v1
233
kind: CustomResourceDefinition
234
metadata:
235
  annotations:
236
    "helm.sh/resource-policy": keep
237
  labels:
238
    app: istio-pilot
239
    chart: istio
240
    heritage: Tiller
241
    release: istio
242
  name: destinationrules.networking.istio.io
243
spec:
244
  group: networking.istio.io
245
  names:
246
    categories:
247
    - istio-io
248
    - networking-istio-io
249
    kind: DestinationRule
250
    listKind: DestinationRuleList
251
    plural: destinationrules
252
    shortNames:
253
    - dr
254
    singular: destinationrule
255
  scope: Namespaced
256
  versions:
257
  - additionalPrinterColumns:
258
    - description: The name of a service from the service registry
259
      jsonPath: .spec.host
260
      name: Host
261
      type: string
262
    - description: 'CreationTimestamp is a timestamp representing the server time
263
        when this object was created. It is not guaranteed to be set in happens-before
264
        order across separate operations. Clients may not set this value. It is represented
265
        in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for
266
        lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
267
      jsonPath: .metadata.creationTimestamp
268
      name: Age
269
      type: date
270
    name: v1
271
    schema:
272
      openAPIV3Schema:
273
        properties:
274
          spec:
275
            description: 'Configuration affecting load balancing, outlier detection,
276
              etc. See more details at: https://istio.io/docs/reference/config/networking/destination-rule.html'
277
            properties:
278
              exportTo:
279
                description: A list of namespaces to which this destination rule is
280
                  exported.
281
                items:
282
                  type: string
283
                type: array
284
              host:
285
                description: The name of a service from the service registry.
286
                type: string
287
              subsets:
288
                description: One or more named sets that represent individual versions
289
                  of a service.
290
                items:
291
                  properties:
292
                    labels:
293
                      additionalProperties:
294
                        type: string
295
                      description: Labels apply a filter over the endpoints of a service
296
                        in the service registry.
297
                      type: object
298
                    name:
299
                      description: Name of the subset.
300
                      type: string
301
                    trafficPolicy:
302
                      description: Traffic policies that apply to this subset.
303
                      properties:
304
                        connectionPool:
305
                          properties:
306
                            http:
307
                              description: HTTP connection pool settings.
308
                              properties:
309
                                h2UpgradePolicy:
310
                                  description: |-
311
                                    Specify if http1.1 connection should be upgraded to http2 for the associated destination.
312

313
                                    Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
314
                                  enum:
315
                                  - DEFAULT
316
                                  - DO_NOT_UPGRADE
317
                                  - UPGRADE
318
                                  type: string
319
                                http1MaxPendingRequests:
320
                                  description: Maximum number of requests that will
321
                                    be queued while waiting for a ready connection
322
                                    pool connection.
323
                                  format: int32
324
                                  type: integer
325
                                http2MaxRequests:
326
                                  description: Maximum number of active requests to
327
                                    a destination.
328
                                  format: int32
329
                                  type: integer
330
                                idleTimeout:
331
                                  description: The idle timeout for upstream connection
332
                                    pool connections.
333
                                  type: string
334
                                maxConcurrentStreams:
335
                                  description: The maximum number of concurrent streams
336
                                    allowed for a peer on one HTTP/2 connection.
337
                                  format: int32
338
                                  type: integer
339
                                maxRequestsPerConnection:
340
                                  description: Maximum number of requests per connection
341
                                    to a backend.
342
                                  format: int32
343
                                  type: integer
344
                                maxRetries:
345
                                  description: Maximum number of retries that can
346
                                    be outstanding to all hosts in a cluster at a
347
                                    given time.
348
                                  format: int32
349
                                  type: integer
350
                                useClientProtocol:
351
                                  description: If set to true, client protocol will
352
                                    be preserved while initiating connection to backend.
353
                                  type: boolean
354
                              type: object
355
                            tcp:
356
                              description: Settings common to both HTTP and TCP upstream
357
                                connections.
358
                              properties:
359
                                connectTimeout:
360
                                  description: TCP connection timeout.
361
                                  type: string
362
                                idleTimeout:
363
                                  description: The idle timeout for TCP connections.
364
                                  type: string
365
                                maxConnectionDuration:
366
                                  description: The maximum duration of a connection.
367
                                  type: string
368
                                maxConnections:
369
                                  description: Maximum number of HTTP1 /TCP connections
370
                                    to a destination host.
371
                                  format: int32
372
                                  type: integer
373
                                tcpKeepalive:
374
                                  description: If set then set SO_KEEPALIVE on the
375
                                    socket to enable TCP Keepalives.
376
                                  properties:
377
                                    interval:
378
                                      description: The time duration between keep-alive
379
                                        probes.
380
                                      type: string
381
                                    probes:
382
                                      description: Maximum number of keepalive probes
383
                                        to send without response before deciding the
384
                                        connection is dead.
385
                                      type: integer
386
                                    time:
387
                                      description: The time duration a connection
388
                                        needs to be idle before keep-alive probes
389
                                        start being sent.
390
                                      type: string
391
                                  type: object
392
                              type: object
393
                          type: object
394
                        loadBalancer:
395
                          description: Settings controlling the load balancer algorithms.
396
                          oneOf:
397
                          - not:
398
                              anyOf:
399
                              - required:
400
                                - simple
401
                              - required:
402
                                - consistentHash
403
                          - required:
404
                            - simple
405
                          - required:
406
                            - consistentHash
407
                          properties:
408
                            consistentHash:
409
                              allOf:
410
                              - oneOf:
411
                                - not:
412
                                    anyOf:
413
                                    - required:
414
                                      - httpHeaderName
415
                                    - required:
416
                                      - httpCookie
417
                                    - required:
418
                                      - useSourceIp
419
                                    - required:
420
                                      - httpQueryParameterName
421
                                - required:
422
                                  - httpHeaderName
423
                                - required:
424
                                  - httpCookie
425
                                - required:
426
                                  - useSourceIp
427
                                - required:
428
                                  - httpQueryParameterName
429
                              - oneOf:
430
                                - not:
431
                                    anyOf:
432
                                    - required:
433
                                      - ringHash
434
                                    - required:
435
                                      - maglev
436
                                - required:
437
                                  - ringHash
438
                                - required:
439
                                  - maglev
440
                              properties:
441
                                httpCookie:
442
                                  description: Hash based on HTTP cookie.
443
                                  properties:
444
                                    name:
445
                                      description: Name of the cookie.
446
                                      type: string
447
                                    path:
448
                                      description: Path to set for the cookie.
449
                                      type: string
450
                                    ttl:
451
                                      description: Lifetime of the cookie.
452
                                      type: string
453
                                  required:
454
                                  - name
455
                                  type: object
456
                                httpHeaderName:
457
                                  description: Hash based on a specific HTTP header.
458
                                  type: string
459
                                httpQueryParameterName:
460
                                  description: Hash based on a specific HTTP query
461
                                    parameter.
462
                                  type: string
463
                                maglev:
464
                                  description: The Maglev load balancer implements
465
                                    consistent hashing to backend hosts.
466
                                  properties:
467
                                    tableSize:
468
                                      description: The table size for Maglev hashing.
469
                                      type: integer
470
                                  type: object
471
                                minimumRingSize:
472
                                  description: Deprecated.
473
                                  type: integer
474
                                ringHash:
475
                                  description: The ring/modulo hash load balancer
476
                                    implements consistent hashing to backend hosts.
477
                                  properties:
478
                                    minimumRingSize:
479
                                      description: The minimum number of virtual nodes
480
                                        to use for the hash ring.
481
                                      type: integer
482
                                  type: object
483
                                useSourceIp:
484
                                  description: Hash based on the source IP address.
485
                                  type: boolean
486
                              type: object
487
                            localityLbSetting:
488
                              properties:
489
                                distribute:
490
                                  description: 'Optional: only one of distribute,
491
                                    failover or failoverPriority can be set.'
492
                                  items:
493
                                    properties:
494
                                      from:
495
                                        description: Originating locality, '/' separated,
496
                                          e.g.
497
                                        type: string
498
                                      to:
499
                                        additionalProperties:
500
                                          type: integer
501
                                        description: Map of upstream localities to
502
                                          traffic distribution weights.
503
                                        type: object
504
                                    type: object
505
                                  type: array
506
                                enabled:
507
                                  description: enable locality load balancing, this
508
                                    is DestinationRule-level and will override mesh
509
                                    wide settings in entirety.
510
                                  nullable: true
511
                                  type: boolean
512
                                failover:
513
                                  description: 'Optional: only one of distribute,
514
                                    failover or failoverPriority can be set.'
515
                                  items:
516
                                    properties:
517
                                      from:
518
                                        description: Originating region.
519
                                        type: string
520
                                      to:
521
                                        description: Destination region the traffic
522
                                          will fail over to when endpoints in the
523
                                          'from' region becomes unhealthy.
524
                                        type: string
525
                                    type: object
526
                                  type: array
527
                                failoverPriority:
528
                                  description: failoverPriority is an ordered list
529
                                    of labels used to sort endpoints to do priority
530
                                    based load balancing.
531
                                  items:
532
                                    type: string
533
                                  type: array
534
                              type: object
535
                            simple:
536
                              description: |2-
537

538

539
                                Valid Options: LEAST_CONN, RANDOM, PASSTHROUGH, ROUND_ROBIN, LEAST_REQUEST
540
                              enum:
541
                              - UNSPECIFIED
542
                              - LEAST_CONN
543
                              - RANDOM
544
                              - PASSTHROUGH
545
                              - ROUND_ROBIN
546
                              - LEAST_REQUEST
547
                              type: string
548
                            warmupDurationSecs:
549
                              description: Represents the warmup duration of Service.
550
                              type: string
551
                          type: object
552
                        outlierDetection:
553
                          properties:
554
                            baseEjectionTime:
555
                              description: Minimum ejection duration.
556
                              type: string
557
                            consecutive5xxErrors:
558
                              description: Number of 5xx errors before a host is ejected
559
                                from the connection pool.
560
                              nullable: true
561
                              type: integer
562
                            consecutiveErrors:
563
                              format: int32
564
                              type: integer
565
                            consecutiveGatewayErrors:
566
                              description: Number of gateway errors before a host
567
                                is ejected from the connection pool.
568
                              nullable: true
569
                              type: integer
570
                            consecutiveLocalOriginFailures:
571
                              description: The number of consecutive locally originated
572
                                failures before ejection occurs.
573
                              nullable: true
574
                              type: integer
575
                            interval:
576
                              description: Time interval between ejection sweep analysis.
577
                              type: string
578
                            maxEjectionPercent:
579
                              description: Maximum % of hosts in the load balancing
580
                                pool for the upstream service that can be ejected.
581
                              format: int32
582
                              type: integer
583
                            minHealthPercent:
584
                              description: Outlier detection will be enabled as long
585
                                as the associated load balancing pool has at least
586
                                min_health_percent hosts in healthy mode.
587
                              format: int32
588
                              type: integer
589
                            splitExternalLocalOriginErrors:
590
                              description: Determines whether to distinguish local
591
                                origin failures from external errors.
592
                              type: boolean
593
                          type: object
594
                        portLevelSettings:
595
                          description: Traffic policies specific to individual ports.
596
                          items:
597
                            properties:
598
                              connectionPool:
599
                                properties:
600
                                  http:
601
                                    description: HTTP connection pool settings.
602
                                    properties:
603
                                      h2UpgradePolicy:
604
                                        description: |-
605
                                          Specify if http1.1 connection should be upgraded to http2 for the associated destination.
606

607
                                          Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
608
                                        enum:
609
                                        - DEFAULT
610
                                        - DO_NOT_UPGRADE
611
                                        - UPGRADE
612
                                        type: string
613
                                      http1MaxPendingRequests:
614
                                        description: Maximum number of requests that
615
                                          will be queued while waiting for a ready
616
                                          connection pool connection.
617
                                        format: int32
618
                                        type: integer
619
                                      http2MaxRequests:
620
                                        description: Maximum number of active requests
621
                                          to a destination.
622
                                        format: int32
623
                                        type: integer
624
                                      idleTimeout:
625
                                        description: The idle timeout for upstream
626
                                          connection pool connections.
627
                                        type: string
628
                                      maxConcurrentStreams:
629
                                        description: The maximum number of concurrent
630
                                          streams allowed for a peer on one HTTP/2
631
                                          connection.
632
                                        format: int32
633
                                        type: integer
634
                                      maxRequestsPerConnection:
635
                                        description: Maximum number of requests per
636
                                          connection to a backend.
637
                                        format: int32
638
                                        type: integer
639
                                      maxRetries:
640
                                        description: Maximum number of retries that
641
                                          can be outstanding to all hosts in a cluster
642
                                          at a given time.
643
                                        format: int32
644
                                        type: integer
645
                                      useClientProtocol:
646
                                        description: If set to true, client protocol
647
                                          will be preserved while initiating connection
648
                                          to backend.
649
                                        type: boolean
650
                                    type: object
651
                                  tcp:
652
                                    description: Settings common to both HTTP and
653
                                      TCP upstream connections.
654
                                    properties:
655
                                      connectTimeout:
656
                                        description: TCP connection timeout.
657
                                        type: string
658
                                      idleTimeout:
659
                                        description: The idle timeout for TCP connections.
660
                                        type: string
661
                                      maxConnectionDuration:
662
                                        description: The maximum duration of a connection.
663
                                        type: string
664
                                      maxConnections:
665
                                        description: Maximum number of HTTP1 /TCP
666
                                          connections to a destination host.
667
                                        format: int32
668
                                        type: integer
669
                                      tcpKeepalive:
670
                                        description: If set then set SO_KEEPALIVE
671
                                          on the socket to enable TCP Keepalives.
672
                                        properties:
673
                                          interval:
674
                                            description: The time duration between
675
                                              keep-alive probes.
676
                                            type: string
677
                                          probes:
678
                                            description: Maximum number of keepalive
679
                                              probes to send without response before
680
                                              deciding the connection is dead.
681
                                            type: integer
682
                                          time:
683
                                            description: The time duration a connection
684
                                              needs to be idle before keep-alive probes
685
                                              start being sent.
686
                                            type: string
687
                                        type: object
688
                                    type: object
689
                                type: object
690
                              loadBalancer:
691
                                description: Settings controlling the load balancer
692
                                  algorithms.
693
                                oneOf:
694
                                - not:
695
                                    anyOf:
696
                                    - required:
697
                                      - simple
698
                                    - required:
699
                                      - consistentHash
700
                                - required:
701
                                  - simple
702
                                - required:
703
                                  - consistentHash
704
                                properties:
705
                                  consistentHash:
706
                                    allOf:
707
                                    - oneOf:
708
                                      - not:
709
                                          anyOf:
710
                                          - required:
711
                                            - httpHeaderName
712
                                          - required:
713
                                            - httpCookie
714
                                          - required:
715
                                            - useSourceIp
716
                                          - required:
717
                                            - httpQueryParameterName
718
                                      - required:
719
                                        - httpHeaderName
720
                                      - required:
721
                                        - httpCookie
722
                                      - required:
723
                                        - useSourceIp
724
                                      - required:
725
                                        - httpQueryParameterName
726
                                    - oneOf:
727
                                      - not:
728
                                          anyOf:
729
                                          - required:
730
                                            - ringHash
731
                                          - required:
732
                                            - maglev
733
                                      - required:
734
                                        - ringHash
735
                                      - required:
736
                                        - maglev
737
                                    properties:
738
                                      httpCookie:
739
                                        description: Hash based on HTTP cookie.
740
                                        properties:
741
                                          name:
742
                                            description: Name of the cookie.
743
                                            type: string
744
                                          path:
745
                                            description: Path to set for the cookie.
746
                                            type: string
747
                                          ttl:
748
                                            description: Lifetime of the cookie.
749
                                            type: string
750
                                        required:
751
                                        - name
752
                                        type: object
753
                                      httpHeaderName:
754
                                        description: Hash based on a specific HTTP
755
                                          header.
756
                                        type: string
757
                                      httpQueryParameterName:
758
                                        description: Hash based on a specific HTTP
759
                                          query parameter.
760
                                        type: string
761
                                      maglev:
762
                                        description: The Maglev load balancer implements
763
                                          consistent hashing to backend hosts.
764
                                        properties:
765
                                          tableSize:
766
                                            description: The table size for Maglev
767
                                              hashing.
768
                                            type: integer
769
                                        type: object
770
                                      minimumRingSize:
771
                                        description: Deprecated.
772
                                        type: integer
773
                                      ringHash:
774
                                        description: The ring/modulo hash load balancer
775
                                          implements consistent hashing to backend
776
                                          hosts.
777
                                        properties:
778
                                          minimumRingSize:
779
                                            description: The minimum number of virtual
780
                                              nodes to use for the hash ring.
781
                                            type: integer
782
                                        type: object
783
                                      useSourceIp:
784
                                        description: Hash based on the source IP address.
785
                                        type: boolean
786
                                    type: object
787
                                  localityLbSetting:
788
                                    properties:
789
                                      distribute:
790
                                        description: 'Optional: only one of distribute,
791
                                          failover or failoverPriority can be set.'
792
                                        items:
793
                                          properties:
794
                                            from:
795
                                              description: Originating locality, '/'
796
                                                separated, e.g.
797
                                              type: string
798
                                            to:
799
                                              additionalProperties:
800
                                                type: integer
801
                                              description: Map of upstream localities
802
                                                to traffic distribution weights.
803
                                              type: object
804
                                          type: object
805
                                        type: array
806
                                      enabled:
807
                                        description: enable locality load balancing,
808
                                          this is DestinationRule-level and will override
809
                                          mesh wide settings in entirety.
810
                                        nullable: true
811
                                        type: boolean
812
                                      failover:
813
                                        description: 'Optional: only one of distribute,
814
                                          failover or failoverPriority can be set.'
815
                                        items:
816
                                          properties:
817
                                            from:
818
                                              description: Originating region.
819
                                              type: string
820
                                            to:
821
                                              description: Destination region the
822
                                                traffic will fail over to when endpoints
823
                                                in the 'from' region becomes unhealthy.
824
                                              type: string
825
                                          type: object
826
                                        type: array
827
                                      failoverPriority:
828
                                        description: failoverPriority is an ordered
829
                                          list of labels used to sort endpoints to
830
                                          do priority based load balancing.
831
                                        items:
832
                                          type: string
833
                                        type: array
834
                                    type: object
835
                                  simple:
836
                                    description: |2-
837

838

839
                                      Valid Options: LEAST_CONN, RANDOM, PASSTHROUGH, ROUND_ROBIN, LEAST_REQUEST
840
                                    enum:
841
                                    - UNSPECIFIED
842
                                    - LEAST_CONN
843
                                    - RANDOM
844
                                    - PASSTHROUGH
845
                                    - ROUND_ROBIN
846
                                    - LEAST_REQUEST
847
                                    type: string
848
                                  warmupDurationSecs:
849
                                    description: Represents the warmup duration of
850
                                      Service.
851
                                    type: string
852
                                type: object
853
                              outlierDetection:
854
                                properties:
855
                                  baseEjectionTime:
856
                                    description: Minimum ejection duration.
857
                                    type: string
858
                                  consecutive5xxErrors:
859
                                    description: Number of 5xx errors before a host
860
                                      is ejected from the connection pool.
861
                                    nullable: true
862
                                    type: integer
863
                                  consecutiveErrors:
864
                                    format: int32
865
                                    type: integer
866
                                  consecutiveGatewayErrors:
867
                                    description: Number of gateway errors before a
868
                                      host is ejected from the connection pool.
869
                                    nullable: true
870
                                    type: integer
871
                                  consecutiveLocalOriginFailures:
872
                                    description: The number of consecutive locally
873
                                      originated failures before ejection occurs.
874
                                    nullable: true
875
                                    type: integer
876
                                  interval:
877
                                    description: Time interval between ejection sweep
878
                                      analysis.
879
                                    type: string
880
                                  maxEjectionPercent:
881
                                    description: Maximum % of hosts in the load balancing
882
                                      pool for the upstream service that can be ejected.
883
                                    format: int32
884
                                    type: integer
885
                                  minHealthPercent:
886
                                    description: Outlier detection will be enabled
887
                                      as long as the associated load balancing pool
888
                                      has at least min_health_percent hosts in healthy
889
                                      mode.
890
                                    format: int32
891
                                    type: integer
892
                                  splitExternalLocalOriginErrors:
893
                                    description: Determines whether to distinguish
894
                                      local origin failures from external errors.
895
                                    type: boolean
896
                                type: object
897
                              port:
898
                                description: Specifies the number of a port on the
899
                                  destination service on which this policy is being
900
                                  applied.
901
                                properties:
902
                                  number:
903
                                    type: integer
904
                                type: object
905
                              tls:
906
                                description: TLS related settings for connections
907
                                  to the upstream service.
908
                                properties:
909
                                  caCertificates:
910
                                    description: 'OPTIONAL: The path to the file containing
911
                                      certificate authority certificates to use in
912
                                      verifying a presented server certificate.'
913
                                    type: string
914
                                  caCrl:
915
                                    description: 'OPTIONAL: The path to the file containing
916
                                      the certificate revocation list (CRL) to use
917
                                      in verifying a presented server certificate.'
918
                                    type: string
919
                                  clientCertificate:
920
                                    description: REQUIRED if mode is `MUTUAL`.
921
                                    type: string
922
                                  credentialName:
923
                                    description: The name of the secret that holds
924
                                      the TLS certs for the client including the CA
925
                                      certificates.
926
                                    type: string
927
                                  insecureSkipVerify:
928
                                    description: '`insecureSkipVerify` specifies whether
929
                                      the proxy should skip verifying the CA signature
930
                                      and SAN for the server certificate corresponding
931
                                      to the host.'
932
                                    nullable: true
933
                                    type: boolean
934
                                  mode:
935
                                    description: |-
936
                                      Indicates whether connections to this port should be secured using TLS.
937

938
                                      Valid Options: DISABLE, SIMPLE, MUTUAL, ISTIO_MUTUAL
939
                                    enum:
940
                                    - DISABLE
941
                                    - SIMPLE
942
                                    - MUTUAL
943
                                    - ISTIO_MUTUAL
944
                                    type: string
945
                                  privateKey:
946
                                    description: REQUIRED if mode is `MUTUAL`.
947
                                    type: string
948
                                  sni:
949
                                    description: SNI string to present to the server
950
                                      during TLS handshake.
951
                                    type: string
952
                                  subjectAltNames:
953
                                    description: A list of alternate names to verify
954
                                      the subject identity in the certificate.
955
                                    items:
956
                                      type: string
957
                                    type: array
958
                                type: object
959
                            type: object
960
                          type: array
961
                        proxyProtocol:
962
                          description: The upstream PROXY protocol settings.
963
                          properties:
964
                            version:
965
                              description: |-
966
                                The PROXY protocol version to use.
967

968
                                Valid Options: V1, V2
969
                              enum:
970
                              - V1
971
                              - V2
972
                              type: string
973
                          type: object
974
                        tls:
975
                          description: TLS related settings for connections to the
976
                            upstream service.
977
                          properties:
978
                            caCertificates:
979
                              description: 'OPTIONAL: The path to the file containing
980
                                certificate authority certificates to use in verifying
981
                                a presented server certificate.'
982
                              type: string
983
                            caCrl:
984
                              description: 'OPTIONAL: The path to the file containing
985
                                the certificate revocation list (CRL) to use in verifying
986
                                a presented server certificate.'
987
                              type: string
988
                            clientCertificate:
989
                              description: REQUIRED if mode is `MUTUAL`.
990
                              type: string
991
                            credentialName:
992
                              description: The name of the secret that holds the TLS
993
                                certs for the client including the CA certificates.
994
                              type: string
995
                            insecureSkipVerify:
996
                              description: '`insecureSkipVerify` specifies whether
997
                                the proxy should skip verifying the CA signature and
998
                                SAN for the server certificate corresponding to the
999
                                host.'
1000
                              nullable: true
1001
                              type: boolean
1002
                            mode:
1003
                              description: |-
1004
                                Indicates whether connections to this port should be secured using TLS.
1005

1006
                                Valid Options: DISABLE, SIMPLE, MUTUAL, ISTIO_MUTUAL
1007
                              enum:
1008
                              - DISABLE
1009
                              - SIMPLE
1010
                              - MUTUAL
1011
                              - ISTIO_MUTUAL
1012
                              type: string
1013
                            privateKey:
1014
                              description: REQUIRED if mode is `MUTUAL`.
1015
                              type: string
1016
                            sni:
1017
                              description: SNI string to present to the server during
1018
                                TLS handshake.
1019
                              type: string
1020
                            subjectAltNames:
1021
                              description: A list of alternate names to verify the
1022
                                subject identity in the certificate.
1023
                              items:
1024
                                type: string
1025
                              type: array
1026
                          type: object
1027
                        tunnel:
1028
                          description: Configuration of tunneling TCP over other transport
1029
                            or application layers for the host configured in the DestinationRule.
1030
                          properties:
1031
                            protocol:
1032
                              description: Specifies which protocol to use for tunneling
1033
                                the downstream connection.
1034
                              type: string
1035
                            targetHost:
1036
                              description: Specifies a host to which the downstream
1037
                                connection is tunneled.
1038
                              type: string
1039
                            targetPort:
1040
                              description: Specifies a port to which the downstream
1041
                                connection is tunneled.
1042
                              type: integer
1043
                          required:
1044
                          - targetHost
1045
                          - targetPort
1046
                          type: object
1047
                      type: object
1048
                  required:
1049
                  - name
1050
                  type: object
1051
                type: array
1052
              trafficPolicy:
1053
                description: Traffic policies to apply (load balancing policy, connection
1054
                  pool sizes, outlier detection).
1055
                properties:
1056
                  connectionPool:
1057
                    properties:
1058
                      http:
1059
                        description: HTTP connection pool settings.
1060
                        properties:
1061
                          h2UpgradePolicy:
1062
                            description: |-
1063
                              Specify if http1.1 connection should be upgraded to http2 for the associated destination.
1064

1065
                              Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
1066
                            enum:
1067
                            - DEFAULT
1068
                            - DO_NOT_UPGRADE
1069
                            - UPGRADE
1070
                            type: string
1071
                          http1MaxPendingRequests:
1072
                            description: Maximum number of requests that will be queued
1073
                              while waiting for a ready connection pool connection.
1074
                            format: int32
1075
                            type: integer
1076
                          http2MaxRequests:
1077
                            description: Maximum number of active requests to a destination.
1078
                            format: int32
1079
                            type: integer
1080
                          idleTimeout:
1081
                            description: The idle timeout for upstream connection
1082
                              pool connections.
1083
                            type: string
1084
                          maxConcurrentStreams:
1085
                            description: The maximum number of concurrent streams
1086
                              allowed for a peer on one HTTP/2 connection.
1087
                            format: int32
1088
                            type: integer
1089
                          maxRequestsPerConnection:
1090
                            description: Maximum number of requests per connection
1091
                              to a backend.
1092
                            format: int32
1093
                            type: integer
1094
                          maxRetries:
1095
                            description: Maximum number of retries that can be outstanding
1096
                              to all hosts in a cluster at a given time.
1097
                            format: int32
1098
                            type: integer
1099
                          useClientProtocol:
1100
                            description: If set to true, client protocol will be preserved
1101
                              while initiating connection to backend.
1102
                            type: boolean
1103
                        type: object
1104
                      tcp:
1105
                        description: Settings common to both HTTP and TCP upstream
1106
                          connections.
1107
                        properties:
1108
                          connectTimeout:
1109
                            description: TCP connection timeout.
1110
                            type: string
1111
                          idleTimeout:
1112
                            description: The idle timeout for TCP connections.
1113
                            type: string
1114
                          maxConnectionDuration:
1115
                            description: The maximum duration of a connection.
1116
                            type: string
1117
                          maxConnections:
1118
                            description: Maximum number of HTTP1 /TCP connections
1119
                              to a destination host.
1120
                            format: int32
1121
                            type: integer
1122
                          tcpKeepalive:
1123
                            description: If set then set SO_KEEPALIVE on the socket
1124
                              to enable TCP Keepalives.
1125
                            properties:
1126
                              interval:
1127
                                description: The time duration between keep-alive
1128
                                  probes.
1129
                                type: string
1130
                              probes:
1131
                                description: Maximum number of keepalive probes to
1132
                                  send without response before deciding the connection
1133
                                  is dead.
1134
                                type: integer
1135
                              time:
1136
                                description: The time duration a connection needs
1137
                                  to be idle before keep-alive probes start being
1138
                                  sent.
1139
                                type: string
1140
                            type: object
1141
                        type: object
1142
                    type: object
1143
                  loadBalancer:
1144
                    description: Settings controlling the load balancer algorithms.
1145
                    oneOf:
1146
                    - not:
1147
                        anyOf:
1148
                        - required:
1149
                          - simple
1150
                        - required:
1151
                          - consistentHash
1152
                    - required:
1153
                      - simple
1154
                    - required:
1155
                      - consistentHash
1156
                    properties:
1157
                      consistentHash:
1158
                        allOf:
1159
                        - oneOf:
1160
                          - not:
1161
                              anyOf:
1162
                              - required:
1163
                                - httpHeaderName
1164
                              - required:
1165
                                - httpCookie
1166
                              - required:
1167
                                - useSourceIp
1168
                              - required:
1169
                                - httpQueryParameterName
1170
                          - required:
1171
                            - httpHeaderName
1172
                          - required:
1173
                            - httpCookie
1174
                          - required:
1175
                            - useSourceIp
1176
                          - required:
1177
                            - httpQueryParameterName
1178
                        - oneOf:
1179
                          - not:
1180
                              anyOf:
1181
                              - required:
1182
                                - ringHash
1183
                              - required:
1184
                                - maglev
1185
                          - required:
1186
                            - ringHash
1187
                          - required:
1188
                            - maglev
1189
                        properties:
1190
                          httpCookie:
1191
                            description: Hash based on HTTP cookie.
1192
                            properties:
1193
                              name:
1194
                                description: Name of the cookie.
1195
                                type: string
1196
                              path:
1197
                                description: Path to set for the cookie.
1198
                                type: string
1199
                              ttl:
1200
                                description: Lifetime of the cookie.
1201
                                type: string
1202
                            required:
1203
                            - name
1204
                            type: object
1205
                          httpHeaderName:
1206
                            description: Hash based on a specific HTTP header.
1207
                            type: string
1208
                          httpQueryParameterName:
1209
                            description: Hash based on a specific HTTP query parameter.
1210
                            type: string
1211
                          maglev:
1212
                            description: The Maglev load balancer implements consistent
1213
                              hashing to backend hosts.
1214
                            properties:
1215
                              tableSize:
1216
                                description: The table size for Maglev hashing.
1217
                                type: integer
1218
                            type: object
1219
                          minimumRingSize:
1220
                            description: Deprecated.
1221
                            type: integer
1222
                          ringHash:
1223
                            description: The ring/modulo hash load balancer implements
1224
                              consistent hashing to backend hosts.
1225
                            properties:
1226
                              minimumRingSize:
1227
                                description: The minimum number of virtual nodes to
1228
                                  use for the hash ring.
1229
                                type: integer
1230
                            type: object
1231
                          useSourceIp:
1232
                            description: Hash based on the source IP address.
1233
                            type: boolean
1234
                        type: object
1235
                      localityLbSetting:
1236
                        properties:
1237
                          distribute:
1238
                            description: 'Optional: only one of distribute, failover
1239
                              or failoverPriority can be set.'
1240
                            items:
1241
                              properties:
1242
                                from:
1243
                                  description: Originating locality, '/' separated,
1244
                                    e.g.
1245
                                  type: string
1246
                                to:
1247
                                  additionalProperties:
1248
                                    type: integer
1249
                                  description: Map of upstream localities to traffic
1250
                                    distribution weights.
1251
                                  type: object
1252
                              type: object
1253
                            type: array
1254
                          enabled:
1255
                            description: enable locality load balancing, this is DestinationRule-level
1256
                              and will override mesh wide settings in entirety.
1257
                            nullable: true
1258
                            type: boolean
1259
                          failover:
1260
                            description: 'Optional: only one of distribute, failover
1261
                              or failoverPriority can be set.'
1262
                            items:
1263
                              properties:
1264
                                from:
1265
                                  description: Originating region.
1266
                                  type: string
1267
                                to:
1268
                                  description: Destination region the traffic will
1269
                                    fail over to when endpoints in the 'from' region
1270
                                    becomes unhealthy.
1271
                                  type: string
1272
                              type: object
1273
                            type: array
1274
                          failoverPriority:
1275
                            description: failoverPriority is an ordered list of labels
1276
                              used to sort endpoints to do priority based load balancing.
1277
                            items:
1278
                              type: string
1279
                            type: array
1280
                        type: object
1281
                      simple:
1282
                        description: |2-
1283

1284

1285
                          Valid Options: LEAST_CONN, RANDOM, PASSTHROUGH, ROUND_ROBIN, LEAST_REQUEST
1286
                        enum:
1287
                        - UNSPECIFIED
1288
                        - LEAST_CONN
1289
                        - RANDOM
1290
                        - PASSTHROUGH
1291
                        - ROUND_ROBIN
1292
                        - LEAST_REQUEST
1293
                        type: string
1294
                      warmupDurationSecs:
1295
                        description: Represents the warmup duration of Service.
1296
                        type: string
1297
                    type: object
1298
                  outlierDetection:
1299
                    properties:
1300
                      baseEjectionTime:
1301
                        description: Minimum ejection duration.
1302
                        type: string
1303
                      consecutive5xxErrors:
1304
                        description: Number of 5xx errors before a host is ejected
1305
                          from the connection pool.
1306
                        nullable: true
1307
                        type: integer
1308
                      consecutiveErrors:
1309
                        format: int32
1310
                        type: integer
1311
                      consecutiveGatewayErrors:
1312
                        description: Number of gateway errors before a host is ejected
1313
                          from the connection pool.
1314
                        nullable: true
1315
                        type: integer
1316
                      consecutiveLocalOriginFailures:
1317
                        description: The number of consecutive locally originated
1318
                          failures before ejection occurs.
1319
                        nullable: true
1320
                        type: integer
1321
                      interval:
1322
                        description: Time interval between ejection sweep analysis.
1323
                        type: string
1324
                      maxEjectionPercent:
1325
                        description: Maximum % of hosts in the load balancing pool
1326
                          for the upstream service that can be ejected.
1327
                        format: int32
1328
                        type: integer
1329
                      minHealthPercent:
1330
                        description: Outlier detection will be enabled as long as
1331
                          the associated load balancing pool has at least min_health_percent
1332
                          hosts in healthy mode.
1333
                        format: int32
1334
                        type: integer
1335
                      splitExternalLocalOriginErrors:
1336
                        description: Determines whether to distinguish local origin
1337
                          failures from external errors.
1338
                        type: boolean
1339
                    type: object
1340
                  portLevelSettings:
1341
                    description: Traffic policies specific to individual ports.
1342
                    items:
1343
                      properties:
1344
                        connectionPool:
1345
                          properties:
1346
                            http:
1347
                              description: HTTP connection pool settings.
1348
                              properties:
1349
                                h2UpgradePolicy:
1350
                                  description: |-
1351
                                    Specify if http1.1 connection should be upgraded to http2 for the associated destination.
1352

1353
                                    Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
1354
                                  enum:
1355
                                  - DEFAULT
1356
                                  - DO_NOT_UPGRADE
1357
                                  - UPGRADE
1358
                                  type: string
1359
                                http1MaxPendingRequests:
1360
                                  description: Maximum number of requests that will
1361
                                    be queued while waiting for a ready connection
1362
                                    pool connection.
1363
                                  format: int32
1364
                                  type: integer
1365
                                http2MaxRequests:
1366
                                  description: Maximum number of active requests to
1367
                                    a destination.
1368
                                  format: int32
1369
                                  type: integer
1370
                                idleTimeout:
1371
                                  description: The idle timeout for upstream connection
1372
                                    pool connections.
1373
                                  type: string
1374
                                maxConcurrentStreams:
1375
                                  description: The maximum number of concurrent streams
1376
                                    allowed for a peer on one HTTP/2 connection.
1377
                                  format: int32
1378
                                  type: integer
1379
                                maxRequestsPerConnection:
1380
                                  description: Maximum number of requests per connection
1381
                                    to a backend.
1382
                                  format: int32
1383
                                  type: integer
1384
                                maxRetries:
1385
                                  description: Maximum number of retries that can
1386
                                    be outstanding to all hosts in a cluster at a
1387
                                    given time.
1388
                                  format: int32
1389
                                  type: integer
1390
                                useClientProtocol:
1391
                                  description: If set to true, client protocol will
1392
                                    be preserved while initiating connection to backend.
1393
                                  type: boolean
1394
                              type: object
1395
                            tcp:
1396
                              description: Settings common to both HTTP and TCP upstream
1397
                                connections.
1398
                              properties:
1399
                                connectTimeout:
1400
                                  description: TCP connection timeout.
1401
                                  type: string
1402
                                idleTimeout:
1403
                                  description: The idle timeout for TCP connections.
1404
                                  type: string
1405
                                maxConnectionDuration:
1406
                                  description: The maximum duration of a connection.
1407
                                  type: string
1408
                                maxConnections:
1409
                                  description: Maximum number of HTTP1 /TCP connections
1410
                                    to a destination host.
1411
                                  format: int32
1412
                                  type: integer
1413
                                tcpKeepalive:
1414
                                  description: If set then set SO_KEEPALIVE on the
1415
                                    socket to enable TCP Keepalives.
1416
                                  properties:
1417
                                    interval:
1418
                                      description: The time duration between keep-alive
1419
                                        probes.
1420
                                      type: string
1421
                                    probes:
1422
                                      description: Maximum number of keepalive probes
1423
                                        to send without response before deciding the
1424
                                        connection is dead.
1425
                                      type: integer
1426
                                    time:
1427
                                      description: The time duration a connection
1428
                                        needs to be idle before keep-alive probes
1429
                                        start being sent.
1430
                                      type: string
1431
                                  type: object
1432
                              type: object
1433
                          type: object
1434
                        loadBalancer:
1435
                          description: Settings controlling the load balancer algorithms.
1436
                          oneOf:
1437
                          - not:
1438
                              anyOf:
1439
                              - required:
1440
                                - simple
1441
                              - required:
1442
                                - consistentHash
1443
                          - required:
1444
                            - simple
1445
                          - required:
1446
                            - consistentHash
1447
                          properties:
1448
                            consistentHash:
1449
                              allOf:
1450
                              - oneOf:
1451
                                - not:
1452
                                    anyOf:
1453
                                    - required:
1454
                                      - httpHeaderName
1455
                                    - required:
1456
                                      - httpCookie
1457
                                    - required:
1458
                                      - useSourceIp
1459
                                    - required:
1460
                                      - httpQueryParameterName
1461
                                - required:
1462
                                  - httpHeaderName
1463
                                - required:
1464
                                  - httpCookie
1465
                                - required:
1466
                                  - useSourceIp
1467
                                - required:
1468
                                  - httpQueryParameterName
1469
                              - oneOf:
1470
                                - not:
1471
                                    anyOf:
1472
                                    - required:
1473
                                      - ringHash
1474
                                    - required:
1475
                                      - maglev
1476
                                - required:
1477
                                  - ringHash
1478
                                - required:
1479
                                  - maglev
1480
                              properties:
1481
                                httpCookie:
1482
                                  description: Hash based on HTTP cookie.
1483
                                  properties:
1484
                                    name:
1485
                                      description: Name of the cookie.
1486
                                      type: string
1487
                                    path:
1488
                                      description: Path to set for the cookie.
1489
                                      type: string
1490
                                    ttl:
1491
                                      description: Lifetime of the cookie.
1492
                                      type: string
1493
                                  required:
1494
                                  - name
1495
                                  type: object
1496
                                httpHeaderName:
1497
                                  description: Hash based on a specific HTTP header.
1498
                                  type: string
1499
                                httpQueryParameterName:
1500
                                  description: Hash based on a specific HTTP query
1501
                                    parameter.
1502
                                  type: string
1503
                                maglev:
1504
                                  description: The Maglev load balancer implements
1505
                                    consistent hashing to backend hosts.
1506
                                  properties:
1507
                                    tableSize:
1508
                                      description: The table size for Maglev hashing.
1509
                                      type: integer
1510
                                  type: object
1511
                                minimumRingSize:
1512
                                  description: Deprecated.
1513
                                  type: integer
1514
                                ringHash:
1515
                                  description: The ring/modulo hash load balancer
1516
                                    implements consistent hashing to backend hosts.
1517
                                  properties:
1518
                                    minimumRingSize:
1519
                                      description: The minimum number of virtual nodes
1520
                                        to use for the hash ring.
1521
                                      type: integer
1522
                                  type: object
1523
                                useSourceIp:
1524
                                  description: Hash based on the source IP address.
1525
                                  type: boolean
1526
                              type: object
1527
                            localityLbSetting:
1528
                              properties:
1529
                                distribute:
1530
                                  description: 'Optional: only one of distribute,
1531
                                    failover or failoverPriority can be set.'
1532
                                  items:
1533
                                    properties:
1534
                                      from:
1535
                                        description: Originating locality, '/' separated,
1536
                                          e.g.
1537
                                        type: string
1538
                                      to:
1539
                                        additionalProperties:
1540
                                          type: integer
1541
                                        description: Map of upstream localities to
1542
                                          traffic distribution weights.
1543
                                        type: object
1544
                                    type: object
1545
                                  type: array
1546
                                enabled:
1547
                                  description: enable locality load balancing, this
1548
                                    is DestinationRule-level and will override mesh
1549
                                    wide settings in entirety.
1550
                                  nullable: true
1551
                                  type: boolean
1552
                                failover:
1553
                                  description: 'Optional: only one of distribute,
1554
                                    failover or failoverPriority can be set.'
1555
                                  items:
1556
                                    properties:
1557
                                      from:
1558
                                        description: Originating region.
1559
                                        type: string
1560
                                      to:
1561
                                        description: Destination region the traffic
1562
                                          will fail over to when endpoints in the
1563
                                          'from' region becomes unhealthy.
1564
                                        type: string
1565
                                    type: object
1566
                                  type: array
1567
                                failoverPriority:
1568
                                  description: failoverPriority is an ordered list
1569
                                    of labels used to sort endpoints to do priority
1570
                                    based load balancing.
1571
                                  items:
1572
                                    type: string
1573
                                  type: array
1574
                              type: object
1575
                            simple:
1576
                              description: |2-
1577

1578

1579
                                Valid Options: LEAST_CONN, RANDOM, PASSTHROUGH, ROUND_ROBIN, LEAST_REQUEST
1580
                              enum:
1581
                              - UNSPECIFIED
1582
                              - LEAST_CONN
1583
                              - RANDOM
1584
                              - PASSTHROUGH
1585
                              - ROUND_ROBIN
1586
                              - LEAST_REQUEST
1587
                              type: string
1588
                            warmupDurationSecs:
1589
                              description: Represents the warmup duration of Service.
1590
                              type: string
1591
                          type: object
1592
                        outlierDetection:
1593
                          properties:
1594
                            baseEjectionTime:
1595
                              description: Minimum ejection duration.
1596
                              type: string
1597
                            consecutive5xxErrors:
1598
                              description: Number of 5xx errors before a host is ejected
1599
                                from the connection pool.
1600
                              nullable: true
1601
                              type: integer
1602
                            consecutiveErrors:
1603
                              format: int32
1604
                              type: integer
1605
                            consecutiveGatewayErrors:
1606
                              description: Number of gateway errors before a host
1607
                                is ejected from the connection pool.
1608
                              nullable: true
1609
                              type: integer
1610
                            consecutiveLocalOriginFailures:
1611
                              description: The number of consecutive locally originated
1612
                                failures before ejection occurs.
1613
                              nullable: true
1614
                              type: integer
1615
                            interval:
1616
                              description: Time interval between ejection sweep analysis.
1617
                              type: string
1618
                            maxEjectionPercent:
1619
                              description: Maximum % of hosts in the load balancing
1620
                                pool for the upstream service that can be ejected.
1621
                              format: int32
1622
                              type: integer
1623
                            minHealthPercent:
1624
                              description: Outlier detection will be enabled as long
1625
                                as the associated load balancing pool has at least
1626
                                min_health_percent hosts in healthy mode.
1627
                              format: int32
1628
                              type: integer
1629
                            splitExternalLocalOriginErrors:
1630
                              description: Determines whether to distinguish local
1631
                                origin failures from external errors.
1632
                              type: boolean
1633
                          type: object
1634
                        port:
1635
                          description: Specifies the number of a port on the destination
1636
                            service on which this policy is being applied.
1637
                          properties:
1638
                            number:
1639
                              type: integer
1640
                          type: object
1641
                        tls:
1642
                          description: TLS related settings for connections to the
1643
                            upstream service.
1644
                          properties:
1645
                            caCertificates:
1646
                              description: 'OPTIONAL: The path to the file containing
1647
                                certificate authority certificates to use in verifying
1648
                                a presented server certificate.'
1649
                              type: string
1650
                            caCrl:
1651
                              description: 'OPTIONAL: The path to the file containing
1652
                                the certificate revocation list (CRL) to use in verifying
1653
                                a presented server certificate.'
1654
                              type: string
1655
                            clientCertificate:
1656
                              description: REQUIRED if mode is `MUTUAL`.
1657
                              type: string
1658
                            credentialName:
1659
                              description: The name of the secret that holds the TLS
1660
                                certs for the client including the CA certificates.
1661
                              type: string
1662
                            insecureSkipVerify:
1663
                              description: '`insecureSkipVerify` specifies whether
1664
                                the proxy should skip verifying the CA signature and
1665
                                SAN for the server certificate corresponding to the
1666
                                host.'
1667
                              nullable: true
1668
                              type: boolean
1669
                            mode:
1670
                              description: |-
1671
                                Indicates whether connections to this port should be secured using TLS.
1672

1673
                                Valid Options: DISABLE, SIMPLE, MUTUAL, ISTIO_MUTUAL
1674
                              enum:
1675
                              - DISABLE
1676
                              - SIMPLE
1677
                              - MUTUAL
1678
                              - ISTIO_MUTUAL
1679
                              type: string
1680
                            privateKey:
1681
                              description: REQUIRED if mode is `MUTUAL`.
1682
                              type: string
1683
                            sni:
1684
                              description: SNI string to present to the server during
1685
                                TLS handshake.
1686
                              type: string
1687
                            subjectAltNames:
1688
                              description: A list of alternate names to verify the
1689
                                subject identity in the certificate.
1690
                              items:
1691
                                type: string
1692
                              type: array
1693
                          type: object
1694
                      type: object
1695
                    type: array
1696
                  proxyProtocol:
1697
                    description: The upstream PROXY protocol settings.
1698
                    properties:
1699
                      version:
1700
                        description: |-
1701
                          The PROXY protocol version to use.
1702

1703
                          Valid Options: V1, V2
1704
                        enum:
1705
                        - V1
1706
                        - V2
1707
                        type: string
1708
                    type: object
1709
                  tls:
1710
                    description: TLS related settings for connections to the upstream
1711
                      service.
1712
                    properties:
1713
                      caCertificates:
1714
                        description: 'OPTIONAL: The path to the file containing certificate
1715
                          authority certificates to use in verifying a presented server
1716
                          certificate.'
1717
                        type: string
1718
                      caCrl:
1719
                        description: 'OPTIONAL: The path to the file containing the
1720
                          certificate revocation list (CRL) to use in verifying a
1721
                          presented server certificate.'
1722
                        type: string
1723
                      clientCertificate:
1724
                        description: REQUIRED if mode is `MUTUAL`.
1725
                        type: string
1726
                      credentialName:
1727
                        description: The name of the secret that holds the TLS certs
1728
                          for the client including the CA certificates.
1729
                        type: string
1730
                      insecureSkipVerify:
1731
                        description: '`insecureSkipVerify` specifies whether the proxy
1732
                          should skip verifying the CA signature and SAN for the server
1733
                          certificate corresponding to the host.'
1734
                        nullable: true
1735
                        type: boolean
1736
                      mode:
1737
                        description: |-
1738
                          Indicates whether connections to this port should be secured using TLS.
1739

1740
                          Valid Options: DISABLE, SIMPLE, MUTUAL, ISTIO_MUTUAL
1741
                        enum:
1742
                        - DISABLE
1743
                        - SIMPLE
1744
                        - MUTUAL
1745
                        - ISTIO_MUTUAL
1746
                        type: string
1747
                      privateKey:
1748
                        description: REQUIRED if mode is `MUTUAL`.
1749
                        type: string
1750
                      sni:
1751
                        description: SNI string to present to the server during TLS
1752
                          handshake.
1753
                        type: string
1754
                      subjectAltNames:
1755
                        description: A list of alternate names to verify the subject
1756
                          identity in the certificate.
1757
                        items:
1758
                          type: string
1759
                        type: array
1760
                    type: object
1761
                  tunnel:
1762
                    description: Configuration of tunneling TCP over other transport
1763
                      or application layers for the host configured in the DestinationRule.
1764
                    properties:
1765
                      protocol:
1766
                        description: Specifies which protocol to use for tunneling
1767
                          the downstream connection.
1768
                        type: string
1769
                      targetHost:
1770
                        description: Specifies a host to which the downstream connection
1771
                          is tunneled.
1772
                        type: string
1773
                      targetPort:
1774
                        description: Specifies a port to which the downstream connection
1775
                          is tunneled.
1776
                        type: integer
1777
                    required:
1778
                    - targetHost
1779
                    - targetPort
1780
                    type: object
1781
                type: object
1782
              workloadSelector:
1783
                description: Criteria used to select the specific set of pods/VMs
1784
                  on which this `DestinationRule` configuration should be applied.
1785
                properties:
1786
                  matchLabels:
1787
                    additionalProperties:
1788
                      type: string
1789
                    description: One or more labels that indicate a specific set of
1790
                      pods/VMs on which a policy should be applied.
1791
                    type: object
1792
                type: object
1793
            required:
1794
            - host
1795
            type: object
1796
          status:
1797
            type: object
1798
            x-kubernetes-preserve-unknown-fields: true
1799
        type: object
1800
    served: true
1801
    storage: false
1802
    subresources:
1803
      status: {}
1804
  - additionalPrinterColumns:
1805
    - description: The name of a service from the service registry
1806
      jsonPath: .spec.host
1807
      name: Host
1808
      type: string
1809
    - description: 'CreationTimestamp is a timestamp representing the server time
1810
        when this object was created. It is not guaranteed to be set in happens-before
1811
        order across separate operations. Clients may not set this value. It is represented
1812
        in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for
1813
        lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
1814
      jsonPath: .metadata.creationTimestamp
1815
      name: Age
1816
      type: date
1817
    name: v1alpha3
1818
    schema:
1819
      openAPIV3Schema:
1820
        properties:
1821
          spec:
1822
            description: 'Configuration affecting load balancing, outlier detection,
1823
              etc. See more details at: https://istio.io/docs/reference/config/networking/destination-rule.html'
1824
            properties:
1825
              exportTo:
1826
                description: A list of namespaces to which this destination rule is
1827
                  exported.
1828
                items:
1829
                  type: string
1830
                type: array
1831
              host:
1832
                description: The name of a service from the service registry.
1833
                type: string
1834
              subsets:
1835
                description: One or more named sets that represent individual versions
1836
                  of a service.
1837
                items:
1838
                  properties:
1839
                    labels:
1840
                      additionalProperties:
1841
                        type: string
1842
                      description: Labels apply a filter over the endpoints of a service
1843
                        in the service registry.
1844
                      type: object
1845
                    name:
1846
                      description: Name of the subset.
1847
                      type: string
1848
                    trafficPolicy:
1849
                      description: Traffic policies that apply to this subset.
1850
                      properties:
1851
                        connectionPool:
1852
                          properties:
1853
                            http:
1854
                              description: HTTP connection pool settings.
1855
                              properties:
1856
                                h2UpgradePolicy:
1857
                                  description: |-
1858
                                    Specify if http1.1 connection should be upgraded to http2 for the associated destination.
1859

1860
                                    Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
1861
                                  enum:
1862
                                  - DEFAULT
1863
                                  - DO_NOT_UPGRADE
1864
                                  - UPGRADE
1865
                                  type: string
1866
                                http1MaxPendingRequests:
1867
                                  description: Maximum number of requests that will
1868
                                    be queued while waiting for a ready connection
1869
                                    pool connection.
1870
                                  format: int32
1871
                                  type: integer
1872
                                http2MaxRequests:
1873
                                  description: Maximum number of active requests to
1874
                                    a destination.
1875
                                  format: int32
1876
                                  type: integer
1877
                                idleTimeout:
1878
                                  description: The idle timeout for upstream connection
1879
                                    pool connections.
1880
                                  type: string
1881
                                maxConcurrentStreams:
1882
                                  description: The maximum number of concurrent streams
1883
                                    allowed for a peer on one HTTP/2 connection.
1884
                                  format: int32
1885
                                  type: integer
1886
                                maxRequestsPerConnection:
1887
                                  description: Maximum number of requests per connection
1888
                                    to a backend.
1889
                                  format: int32
1890
                                  type: integer
1891
                                maxRetries:
1892
                                  description: Maximum number of retries that can
1893
                                    be outstanding to all hosts in a cluster at a
1894
                                    given time.
1895
                                  format: int32
1896
                                  type: integer
1897
                                useClientProtocol:
1898
                                  description: If set to true, client protocol will
1899
                                    be preserved while initiating connection to backend.
1900
                                  type: boolean
1901
                              type: object
1902
                            tcp:
1903
                              description: Settings common to both HTTP and TCP upstream
1904
                                connections.
1905
                              properties:
1906
                                connectTimeout:
1907
                                  description: TCP connection timeout.
1908
                                  type: string
1909
                                idleTimeout:
1910
                                  description: The idle timeout for TCP connections.
1911
                                  type: string
1912
                                maxConnectionDuration:
1913
                                  description: The maximum duration of a connection.
1914
                                  type: string
1915
                                maxConnections:
1916
                                  description: Maximum number of HTTP1 /TCP connections
1917
                                    to a destination host.
1918
                                  format: int32
1919
                                  type: integer
1920
                                tcpKeepalive:
1921
                                  description: If set then set SO_KEEPALIVE on the
1922
                                    socket to enable TCP Keepalives.
1923
                                  properties:
1924
                                    interval:
1925
                                      description: The time duration between keep-alive
1926
                                        probes.
1927
                                      type: string
1928
                                    probes:
1929
                                      description: Maximum number of keepalive probes
1930
                                        to send without response before deciding the
1931
                                        connection is dead.
1932
                                      type: integer
1933
                                    time:
1934
                                      description: The time duration a connection
1935
                                        needs to be idle before keep-alive probes
1936
                                        start being sent.
1937
                                      type: string
1938
                                  type: object
1939
                              type: object
1940
                          type: object
1941
                        loadBalancer:
1942
                          description: Settings controlling the load balancer algorithms.
1943
                          oneOf:
1944
                          - not:
1945
                              anyOf:
1946
                              - required:
1947
                                - simple
1948
                              - required:
1949
                                - consistentHash
1950
                          - required:
1951
                            - simple
1952
                          - required:
1953
                            - consistentHash
1954
                          properties:
1955
                            consistentHash:
1956
                              allOf:
1957
                              - oneOf:
1958
                                - not:
1959
                                    anyOf:
1960
                                    - required:
1961
                                      - httpHeaderName
1962
                                    - required:
1963
                                      - httpCookie
1964
                                    - required:
1965
                                      - useSourceIp
1966
                                    - required:
1967
                                      - httpQueryParameterName
1968
                                - required:
1969
                                  - httpHeaderName
1970
                                - required:
1971
                                  - httpCookie
1972
                                - required:
1973
                                  - useSourceIp
1974
                                - required:
1975
                                  - httpQueryParameterName
1976
                              - oneOf:
1977
                                - not:
1978
                                    anyOf:
1979
                                    - required:
1980
                                      - ringHash
1981
                                    - required:
1982
                                      - maglev
1983
                                - required:
1984
                                  - ringHash
1985
                                - required:
1986
                                  - maglev
1987
                              properties:
1988
                                httpCookie:
1989
                                  description: Hash based on HTTP cookie.
1990
                                  properties:
1991
                                    name:
1992
                                      description: Name of the cookie.
1993
                                      type: string
1994
                                    path:
1995
                                      description: Path to set for the cookie.
1996
                                      type: string
1997
                                    ttl:
1998
                                      description: Lifetime of the cookie.
1999
                                      type: string
2000
                                  required:
2001
                                  - name
2002
                                  type: object
2003
                                httpHeaderName:
2004
                                  description: Hash based on a specific HTTP header.
2005
                                  type: string
2006
                                httpQueryParameterName:
2007
                                  description: Hash based on a specific HTTP query
2008
                                    parameter.
2009
                                  type: string
2010
                                maglev:
2011
                                  description: The Maglev load balancer implements
2012
                                    consistent hashing to backend hosts.
2013
                                  properties:
2014
                                    tableSize:
2015
                                      description: The table size for Maglev hashing.
2016
                                      type: integer
2017
                                  type: object
2018
                                minimumRingSize:
2019
                                  description: Deprecated.
2020
                                  type: integer
2021
                                ringHash:
2022
                                  description: The ring/modulo hash load balancer
2023
                                    implements consistent hashing to backend hosts.
2024
                                  properties:
2025
                                    minimumRingSize:
2026
                                      description: The minimum number of virtual nodes
2027
                                        to use for the hash ring.
2028
                                      type: integer
2029
                                  type: object
2030
                                useSourceIp:
2031
                                  description: Hash based on the source IP address.
2032
                                  type: boolean
2033
                              type: object
2034
                            localityLbSetting:
2035
                              properties:
2036
                                distribute:
2037
                                  description: 'Optional: only one of distribute,
2038
                                    failover or failoverPriority can be set.'
2039
                                  items:
2040
                                    properties:
2041
                                      from:
2042
                                        description: Originating locality, '/' separated,
2043
                                          e.g.
2044
                                        type: string
2045
                                      to:
2046
                                        additionalProperties:
2047
                                          type: integer
2048
                                        description: Map of upstream localities to
2049
                                          traffic distribution weights.
2050
                                        type: object
2051
                                    type: object
2052
                                  type: array
2053
                                enabled:
2054
                                  description: enable locality load balancing, this
2055
                                    is DestinationRule-level and will override mesh
2056
                                    wide settings in entirety.
2057
                                  nullable: true
2058
                                  type: boolean
2059
                                failover:
2060
                                  description: 'Optional: only one of distribute,
2061
                                    failover or failoverPriority can be set.'
2062
                                  items:
2063
                                    properties:
2064
                                      from:
2065
                                        description: Originating region.
2066
                                        type: string
2067
                                      to:
2068
                                        description: Destination region the traffic
2069
                                          will fail over to when endpoints in the
2070
                                          'from' region becomes unhealthy.
2071
                                        type: string
2072
                                    type: object
2073
                                  type: array
2074
                                failoverPriority:
2075
                                  description: failoverPriority is an ordered list
2076
                                    of labels used to sort endpoints to do priority
2077
                                    based load balancing.
2078
                                  items:
2079
                                    type: string
2080
                                  type: array
2081
                              type: object
2082
                            simple:
2083
                              description: |2-
2084

2085

2086
                                Valid Options: LEAST_CONN, RANDOM, PASSTHROUGH, ROUND_ROBIN, LEAST_REQUEST
2087
                              enum:
2088
                              - UNSPECIFIED
2089
                              - LEAST_CONN
2090
                              - RANDOM
2091
                              - PASSTHROUGH
2092
                              - ROUND_ROBIN
2093
                              - LEAST_REQUEST
2094
                              type: string
2095
                            warmupDurationSecs:
2096
                              description: Represents the warmup duration of Service.
2097
                              type: string
2098
                          type: object
2099
                        outlierDetection:
2100
                          properties:
2101
                            baseEjectionTime:
2102
                              description: Minimum ejection duration.
2103
                              type: string
2104
                            consecutive5xxErrors:
2105
                              description: Number of 5xx errors before a host is ejected
2106
                                from the connection pool.
2107
                              nullable: true
2108
                              type: integer
2109
                            consecutiveErrors:
2110
                              format: int32
2111
                              type: integer
2112
                            consecutiveGatewayErrors:
2113
                              description: Number of gateway errors before a host
2114
                                is ejected from the connection pool.
2115
                              nullable: true
2116
                              type: integer
2117
                            consecutiveLocalOriginFailures:
2118
                              description: The number of consecutive locally originated
2119
                                failures before ejection occurs.
2120
                              nullable: true
2121
                              type: integer
2122
                            interval:
2123
                              description: Time interval between ejection sweep analysis.
2124
                              type: string
2125
                            maxEjectionPercent:
2126
                              description: Maximum % of hosts in the load balancing
2127
                                pool for the upstream service that can be ejected.
2128
                              format: int32
2129
                              type: integer
2130
                            minHealthPercent:
2131
                              description: Outlier detection will be enabled as long
2132
                                as the associated load balancing pool has at least
2133
                                min_health_percent hosts in healthy mode.
2134
                              format: int32
2135
                              type: integer
2136
                            splitExternalLocalOriginErrors:
2137
                              description: Determines whether to distinguish local
2138
                                origin failures from external errors.
2139
                              type: boolean
2140
                          type: object
2141
                        portLevelSettings:
2142
                          description: Traffic policies specific to individual ports.
2143
                          items:
2144
                            properties:
2145
                              connectionPool:
2146
                                properties:
2147
                                  http:
2148
                                    description: HTTP connection pool settings.
2149
                                    properties:
2150
                                      h2UpgradePolicy:
2151
                                        description: |-
2152
                                          Specify if http1.1 connection should be upgraded to http2 for the associated destination.
2153

2154
                                          Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
2155
                                        enum:
2156
                                        - DEFAULT
2157
                                        - DO_NOT_UPGRADE
2158
                                        - UPGRADE
2159
                                        type: string
2160
                                      http1MaxPendingRequests:
2161
                                        description: Maximum number of requests that
2162
                                          will be queued while waiting for a ready
2163
                                          connection pool connection.
2164
                                        format: int32
2165
                                        type: integer
2166
                                      http2MaxRequests:
2167
                                        description: Maximum number of active requests
2168
                                          to a destination.
2169
                                        format: int32
2170
                                        type: integer
2171
                                      idleTimeout:
2172
                                        description: The idle timeout for upstream
2173
                                          connection pool connections.
2174
                                        type: string
2175
                                      maxConcurrentStreams:
2176
                                        description: The maximum number of concurrent
2177
                                          streams allowed for a peer on one HTTP/2
2178
                                          connection.
2179
                                        format: int32
2180
                                        type: integer
2181
                                      maxRequestsPerConnection:
2182
                                        description: Maximum number of requests per
2183
                                          connection to a backend.
2184
                                        format: int32
2185
                                        type: integer
2186
                                      maxRetries:
2187
                                        description: Maximum number of retries that
2188
                                          can be outstanding to all hosts in a cluster
2189
                                          at a given time.
2190
                                        format: int32
2191
                                        type: integer
2192
                                      useClientProtocol:
2193
                                        description: If set to true, client protocol
2194
                                          will be preserved while initiating connection
2195
                                          to backend.
2196
                                        type: boolean
2197
                                    type: object
2198
                                  tcp:
2199
                                    description: Settings common to both HTTP and
2200
                                      TCP upstream connections.
2201
                                    properties:
2202
                                      connectTimeout:
2203
                                        description: TCP connection timeout.
2204
                                        type: string
2205
                                      idleTimeout:
2206
                                        description: The idle timeout for TCP connections.
2207
                                        type: string
2208
                                      maxConnectionDuration:
2209
                                        description: The maximum duration of a connection.
2210
                                        type: string
2211
                                      maxConnections:
2212
                                        description: Maximum number of HTTP1 /TCP
2213
                                          connections to a destination host.
2214
                                        format: int32
2215
                                        type: integer
2216
                                      tcpKeepalive:
2217
                                        description: If set then set SO_KEEPALIVE
2218
                                          on the socket to enable TCP Keepalives.
2219
                                        properties:
2220
                                          interval:
2221
                                            description: The time duration between
2222
                                              keep-alive probes.
2223
                                            type: string
2224
                                          probes:
2225
                                            description: Maximum number of keepalive
2226
                                              probes to send without response before
2227
                                              deciding the connection is dead.
2228
                                            type: integer
2229
                                          time:
2230
                                            description: The time duration a connection
2231
                                              needs to be idle before keep-alive probes
2232
                                              start being sent.
2233
                                            type: string
2234
                                        type: object
2235
                                    type: object
2236
                                type: object
2237
                              loadBalancer:
2238
                                description: Settings controlling the load balancer
2239
                                  algorithms.
2240
                                oneOf:
2241
                                - not:
2242
                                    anyOf:
2243
                                    - required:
2244
                                      - simple
2245
                                    - required:
2246
                                      - consistentHash
2247
                                - required:
2248
                                  - simple
2249
                                - required:
2250
                                  - consistentHash
2251
                                properties:
2252
                                  consistentHash:
2253
                                    allOf:
2254
                                    - oneOf:
2255
                                      - not:
2256
                                          anyOf:
2257
                                          - required:
2258
                                            - httpHeaderName
2259
                                          - required:
2260
                                            - httpCookie
2261
                                          - required:
2262
                                            - useSourceIp
2263
                                          - required:
2264
                                            - httpQueryParameterName
2265
                                      - required:
2266
                                        - httpHeaderName
2267
                                      - required:
2268
                                        - httpCookie
2269
                                      - required:
2270
                                        - useSourceIp
2271
                                      - required:
2272
                                        - httpQueryParameterName
2273
                                    - oneOf:
2274
                                      - not:
2275
                                          anyOf:
2276
                                          - required:
2277
                                            - ringHash
2278
                                          - required:
2279
                                            - maglev
2280
                                      - required:
2281
                                        - ringHash
2282
                                      - required:
2283
                                        - maglev
2284
                                    properties:
2285
                                      httpCookie:
2286
                                        description: Hash based on HTTP cookie.
2287
                                        properties:
2288
                                          name:
2289
                                            description: Name of the cookie.
2290
                                            type: string
2291
                                          path:
2292
                                            description: Path to set for the cookie.
2293
                                            type: string
2294
                                          ttl:
2295
                                            description: Lifetime of the cookie.
2296
                                            type: string
2297
                                        required:
2298
                                        - name
2299
                                        type: object
2300
                                      httpHeaderName:
2301
                                        description: Hash based on a specific HTTP
2302
                                          header.
2303
                                        type: string
2304
                                      httpQueryParameterName:
2305
                                        description: Hash based on a specific HTTP
2306
                                          query parameter.
2307
                                        type: string
2308
                                      maglev:
2309
                                        description: The Maglev load balancer implements
2310
                                          consistent hashing to backend hosts.
2311
                                        properties:
2312
                                          tableSize:
2313
                                            description: The table size for Maglev
2314
                                              hashing.
2315
                                            type: integer
2316
                                        type: object
2317
                                      minimumRingSize:
2318
                                        description: Deprecated.
2319
                                        type: integer
2320
                                      ringHash:
2321
                                        description: The ring/modulo hash load balancer
2322
                                          implements consistent hashing to backend
2323
                                          hosts.
2324
                                        properties:
2325
                                          minimumRingSize:
2326
                                            description: The minimum number of virtual
2327
                                              nodes to use for the hash ring.
2328
                                            type: integer
2329
                                        type: object
2330
                                      useSourceIp:
2331
                                        description: Hash based on the source IP address.
2332
                                        type: boolean
2333
                                    type: object
2334
                                  localityLbSetting:
2335
                                    properties:
2336
                                      distribute:
2337
                                        description: 'Optional: only one of distribute,
2338
                                          failover or failoverPriority can be set.'
2339
                                        items:
2340
                                          properties:
2341
                                            from:
2342
                                              description: Originating locality, '/'
2343
                                                separated, e.g.
2344
                                              type: string
2345
                                            to:
2346
                                              additionalProperties:
2347
                                                type: integer
2348
                                              description: Map of upstream localities
2349
                                                to traffic distribution weights.
2350
                                              type: object
2351
                                          type: object
2352
                                        type: array
2353
                                      enabled:
2354
                                        description: enable locality load balancing,
2355
                                          this is DestinationRule-level and will override
2356
                                          mesh wide settings in entirety.
2357
                                        nullable: true
2358
                                        type: boolean
2359
                                      failover:
2360
                                        description: 'Optional: only one of distribute,
2361
                                          failover or failoverPriority can be set.'
2362
                                        items:
2363
                                          properties:
2364
                                            from:
2365
                                              description: Originating region.
2366
                                              type: string
2367
                                            to:
2368
                                              description: Destination region the
2369
                                                traffic will fail over to when endpoints
2370
                                                in the 'from' region becomes unhealthy.
2371
                                              type: string
2372
                                          type: object
2373
                                        type: array
2374
                                      failoverPriority:
2375
                                        description: failoverPriority is an ordered
2376
                                          list of labels used to sort endpoints to
2377
                                          do priority based load balancing.
2378
                                        items:
2379
                                          type: string
2380
                                        type: array
2381
                                    type: object
2382
                                  simple:
2383
                                    description: |2-
2384

2385

2386
                                      Valid Options: LEAST_CONN, RANDOM, PASSTHROUGH, ROUND_ROBIN, LEAST_REQUEST
2387
                                    enum:
2388
                                    - UNSPECIFIED
2389
                                    - LEAST_CONN
2390
                                    - RANDOM
2391
                                    - PASSTHROUGH
2392
                                    - ROUND_ROBIN
2393
                                    - LEAST_REQUEST
2394
                                    type: string
2395
                                  warmupDurationSecs:
2396
                                    description: Represents the warmup duration of
2397
                                      Service.
2398
                                    type: string
2399
                                type: object
2400
                              outlierDetection:
2401
                                properties:
2402
                                  baseEjectionTime:
2403
                                    description: Minimum ejection duration.
2404
                                    type: string
2405
                                  consecutive5xxErrors:
2406
                                    description: Number of 5xx errors before a host
2407
                                      is ejected from the connection pool.
2408
                                    nullable: true
2409
                                    type: integer
2410
                                  consecutiveErrors:
2411
                                    format: int32
2412
                                    type: integer
2413
                                  consecutiveGatewayErrors:
2414
                                    description: Number of gateway errors before a
2415
                                      host is ejected from the connection pool.
2416
                                    nullable: true
2417
                                    type: integer
2418
                                  consecutiveLocalOriginFailures:
2419
                                    description: The number of consecutive locally
2420
                                      originated failures before ejection occurs.
2421
                                    nullable: true
2422
                                    type: integer
2423
                                  interval:
2424
                                    description: Time interval between ejection sweep
2425
                                      analysis.
2426
                                    type: string
2427
                                  maxEjectionPercent:
2428
                                    description: Maximum % of hosts in the load balancing
2429
                                      pool for the upstream service that can be ejected.
2430
                                    format: int32
2431
                                    type: integer
2432
                                  minHealthPercent:
2433
                                    description: Outlier detection will be enabled
2434
                                      as long as the associated load balancing pool
2435
                                      has at least min_health_percent hosts in healthy
2436
                                      mode.
2437
                                    format: int32
2438
                                    type: integer
2439
                                  splitExternalLocalOriginErrors:
2440
                                    description: Determines whether to distinguish
2441
                                      local origin failures from external errors.
2442
                                    type: boolean
2443
                                type: object
2444
                              port:
2445
                                description: Specifies the number of a port on the
2446
                                  destination service on which this policy is being
2447
                                  applied.
2448
                                properties:
2449
                                  number:
2450
                                    type: integer
2451
                                type: object
2452
                              tls:
2453
                                description: TLS related settings for connections
2454
                                  to the upstream service.
2455
                                properties:
2456
                                  caCertificates:
2457
                                    description: 'OPTIONAL: The path to the file containing
2458
                                      certificate authority certificates to use in
2459
                                      verifying a presented server certificate.'
2460
                                    type: string
2461
                                  caCrl:
2462
                                    description: 'OPTIONAL: The path to the file containing
2463
                                      the certificate revocation list (CRL) to use
2464
                                      in verifying a presented server certificate.'
2465
                                    type: string
2466
                                  clientCertificate:
2467
                                    description: REQUIRED if mode is `MUTUAL`.
2468
                                    type: string
2469
                                  credentialName:
2470
                                    description: The name of the secret that holds
2471
                                      the TLS certs for the client including the CA
2472
                                      certificates.
2473
                                    type: string
2474
                                  insecureSkipVerify:
2475
                                    description: '`insecureSkipVerify` specifies whether
2476
                                      the proxy should skip verifying the CA signature
2477
                                      and SAN for the server certificate corresponding
2478
                                      to the host.'
2479
                                    nullable: true
2480
                                    type: boolean
2481
                                  mode:
2482
                                    description: |-
2483
                                      Indicates whether connections to this port should be secured using TLS.
2484

2485
                                      Valid Options: DISABLE, SIMPLE, MUTUAL, ISTIO_MUTUAL
2486
                                    enum:
2487
                                    - DISABLE
2488
                                    - SIMPLE
2489
                                    - MUTUAL
2490
                                    - ISTIO_MUTUAL
2491
                                    type: string
2492
                                  privateKey:
2493
                                    description: REQUIRED if mode is `MUTUAL`.
2494
                                    type: string
2495
                                  sni:
2496
                                    description: SNI string to present to the server
2497
                                      during TLS handshake.
2498
                                    type: string
2499
                                  subjectAltNames:
2500
                                    description: A list of alternate names to verify
2501
                                      the subject identity in the certificate.
2502
                                    items:
2503
                                      type: string
2504
                                    type: array
2505
                                type: object
2506
                            type: object
2507
                          type: array
2508
                        proxyProtocol:
2509
                          description: The upstream PROXY protocol settings.
2510
                          properties:
2511
                            version:
2512
                              description: |-
2513
                                The PROXY protocol version to use.
2514

2515
                                Valid Options: V1, V2
2516
                              enum:
2517
                              - V1
2518
                              - V2
2519
                              type: string
2520
                          type: object
2521
                        tls:
2522
                          description: TLS related settings for connections to the
2523
                            upstream service.
2524
                          properties:
2525
                            caCertificates:
2526
                              description: 'OPTIONAL: The path to the file containing
2527
                                certificate authority certificates to use in verifying
2528
                                a presented server certificate.'
2529
                              type: string
2530
                            caCrl:
2531
                              description: 'OPTIONAL: The path to the file containing
2532
                                the certificate revocation list (CRL) to use in verifying
2533
                                a presented server certificate.'
2534
                              type: string
2535
                            clientCertificate:
2536
                              description: REQUIRED if mode is `MUTUAL`.
2537
                              type: string
2538
                            credentialName:
2539
                              description: The name of the secret that holds the TLS
2540
                                certs for the client including the CA certificates.
2541
                              type: string
2542
                            insecureSkipVerify:
2543
                              description: '`insecureSkipVerify` specifies whether
2544
                                the proxy should skip verifying the CA signature and
2545
                                SAN for the server certificate corresponding to the
2546
                                host.'
2547
                              nullable: true
2548
                              type: boolean
2549
                            mode:
2550
                              description: |-
2551
                                Indicates whether connections to this port should be secured using TLS.
2552

2553
                                Valid Options: DISABLE, SIMPLE, MUTUAL, ISTIO_MUTUAL
2554
                              enum:
2555
                              - DISABLE
2556
                              - SIMPLE
2557
                              - MUTUAL
2558
                              - ISTIO_MUTUAL
2559
                              type: string
2560
                            privateKey:
2561
                              description: REQUIRED if mode is `MUTUAL`.
2562
                              type: string
2563
                            sni:
2564
                              description: SNI string to present to the server during
2565
                                TLS handshake.
2566
                              type: string
2567
                            subjectAltNames:
2568
                              description: A list of alternate names to verify the
2569
                                subject identity in the certificate.
2570
                              items:
2571
                                type: string
2572
                              type: array
2573
                          type: object
2574
                        tunnel:
2575
                          description: Configuration of tunneling TCP over other transport
2576
                            or application layers for the host configured in the DestinationRule.
2577
                          properties:
2578
                            protocol:
2579
                              description: Specifies which protocol to use for tunneling
2580
                                the downstream connection.
2581
                              type: string
2582
                            targetHost:
2583
                              description: Specifies a host to which the downstream
2584
                                connection is tunneled.
2585
                              type: string
2586
                            targetPort:
2587
                              description: Specifies a port to which the downstream
2588
                                connection is tunneled.
2589
                              type: integer
2590
                          required:
2591
                          - targetHost
2592
                          - targetPort
2593
                          type: object
2594
                      type: object
2595
                  required:
2596
                  - name
2597
                  type: object
2598
                type: array
2599
              trafficPolicy:
2600
                description: Traffic policies to apply (load balancing policy, connection
2601
                  pool sizes, outlier detection).
2602
                properties:
2603
                  connectionPool:
2604
                    properties:
2605
                      http:
2606
                        description: HTTP connection pool settings.
2607
                        properties:
2608
                          h2UpgradePolicy:
2609
                            description: |-
2610
                              Specify if http1.1 connection should be upgraded to http2 for the associated destination.
2611

2612
                              Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
2613
                            enum:
2614
                            - DEFAULT
2615
                            - DO_NOT_UPGRADE
2616
                            - UPGRADE
2617
                            type: string
2618
                          http1MaxPendingRequests:
2619
                            description: Maximum number of requests that will be queued
2620
                              while waiting for a ready connection pool connection.
2621
                            format: int32
2622
                            type: integer
2623
                          http2MaxRequests:
2624
                            description: Maximum number of active requests to a destination.
2625
                            format: int32
2626
                            type: integer
2627
                          idleTimeout:
2628
                            description: The idle timeout for upstream connection
2629
                              pool connections.
2630
                            type: string
2631
                          maxConcurrentStreams:
2632
                            description: The maximum number of concurrent streams
2633
                              allowed for a peer on one HTTP/2 connection.
2634
                            format: int32
2635
                            type: integer
2636
                          maxRequestsPerConnection:
2637
                            description: Maximum number of requests per connection
2638
                              to a backend.
2639
                            format: int32
2640
                            type: integer
2641
                          maxRetries:
2642
                            description: Maximum number of retries that can be outstanding
2643
                              to all hosts in a cluster at a given time.
2644
                            format: int32
2645
                            type: integer
2646
                          useClientProtocol:
2647
                            description: If set to true, client protocol will be preserved
2648
                              while initiating connection to backend.
2649
                            type: boolean
2650
                        type: object
2651
                      tcp:
2652
                        description: Settings common to both HTTP and TCP upstream
2653
                          connections.
2654
                        properties:
2655
                          connectTimeout:
2656
                            description: TCP connection timeout.
2657
                            type: string
2658
                          idleTimeout:
2659
                            description: The idle timeout for TCP connections.
2660
                            type: string
2661
                          maxConnectionDuration:
2662
                            description: The maximum duration of a connection.
2663
                            type: string
2664
                          maxConnections:
2665
                            description: Maximum number of HTTP1 /TCP connections
2666
                              to a destination host.
2667
                            format: int32
2668
                            type: integer
2669
                          tcpKeepalive:
2670
                            description: If set then set SO_KEEPALIVE on the socket
2671
                              to enable TCP Keepalives.
2672
                            properties:
2673
                              interval:
2674
                                description: The time duration between keep-alive
2675
                                  probes.
2676
                                type: string
2677
                              probes:
2678
                                description: Maximum number of keepalive probes to
2679
                                  send without response before deciding the connection
2680
                                  is dead.
2681
                                type: integer
2682
                              time:
2683
                                description: The time duration a connection needs
2684
                                  to be idle before keep-alive probes start being
2685
                                  sent.
2686
                                type: string
2687
                            type: object
2688
                        type: object
2689
                    type: object
2690
                  loadBalancer:
2691
                    description: Settings controlling the load balancer algorithms.
2692
                    oneOf:
2693
                    - not:
2694
                        anyOf:
2695
                        - required:
2696
                          - simple
2697
                        - required:
2698
                          - consistentHash
2699
                    - required:
2700
                      - simple
2701
                    - required:
2702
                      - consistentHash
2703
                    properties:
2704
                      consistentHash:
2705
                        allOf:
2706
                        - oneOf:
2707
                          - not:
2708
                              anyOf:
2709
                              - required:
2710
                                - httpHeaderName
2711
                              - required:
2712
                                - httpCookie
2713
                              - required:
2714
                                - useSourceIp
2715
                              - required:
2716
                                - httpQueryParameterName
2717
                          - required:
2718
                            - httpHeaderName
2719
                          - required:
2720
                            - httpCookie
2721
                          - required:
2722
                            - useSourceIp
2723
                          - required:
2724
                            - httpQueryParameterName
2725
                        - oneOf:
2726
                          - not:
2727
                              anyOf:
2728
                              - required:
2729
                                - ringHash
2730
                              - required:
2731
                                - maglev
2732
                          - required:
2733
                            - ringHash
2734
                          - required:
2735
                            - maglev
2736
                        properties:
2737
                          httpCookie:
2738
                            description: Hash based on HTTP cookie.
2739
                            properties:
2740
                              name:
2741
                                description: Name of the cookie.
2742
                                type: string
2743
                              path:
2744
                                description: Path to set for the cookie.
2745
                                type: string
2746
                              ttl:
2747
                                description: Lifetime of the cookie.
2748
                                type: string
2749
                            required:
2750
                            - name
2751
                            type: object
2752
                          httpHeaderName:
2753
                            description: Hash based on a specific HTTP header.
2754
                            type: string
2755
                          httpQueryParameterName:
2756
                            description: Hash based on a specific HTTP query parameter.
2757
                            type: string
2758
                          maglev:
2759
                            description: The Maglev load balancer implements consistent
2760
                              hashing to backend hosts.
2761
                            properties:
2762
                              tableSize:
2763
                                description: The table size for Maglev hashing.
2764
                                type: integer
2765
                            type: object
2766
                          minimumRingSize:
2767
                            description: Deprecated.
2768
                            type: integer
2769
                          ringHash:
2770
                            description: The ring/modulo hash load balancer implements
2771
                              consistent hashing to backend hosts.
2772
                            properties:
2773
                              minimumRingSize:
2774
                                description: The minimum number of virtual nodes to
2775
                                  use for the hash ring.
2776
                                type: integer
2777
                            type: object
2778
                          useSourceIp:
2779
                            description: Hash based on the source IP address.
2780
                            type: boolean
2781
                        type: object
2782
                      localityLbSetting:
2783
                        properties:
2784
                          distribute:
2785
                            description: 'Optional: only one of distribute, failover
2786
                              or failoverPriority can be set.'
2787
                            items:
2788
                              properties:
2789
                                from:
2790
                                  description: Originating locality, '/' separated,
2791
                                    e.g.
2792
                                  type: string
2793
                                to:
2794
                                  additionalProperties:
2795
                                    type: integer
2796
                                  description: Map of upstream localities to traffic
2797
                                    distribution weights.
2798
                                  type: object
2799
                              type: object
2800
                            type: array
2801
                          enabled:
2802
                            description: enable locality load balancing, this is DestinationRule-level
2803
                              and will override mesh wide settings in entirety.
2804
                            nullable: true
2805
                            type: boolean
2806
                          failover:
2807
                            description: 'Optional: only one of distribute, failover
2808
                              or failoverPriority can be set.'
2809
                            items:
2810
                              properties:
2811
                                from:
2812
                                  description: Originating region.
2813
                                  type: string
2814
                                to:
2815
                                  description: Destination region the traffic will
2816
                                    fail over to when endpoints in the 'from' region
2817
                                    becomes unhealthy.
2818
                                  type: string
2819
                              type: object
2820
                            type: array
2821
                          failoverPriority:
2822
                            description: failoverPriority is an ordered list of labels
2823
                              used to sort endpoints to do priority based load balancing.
2824
                            items:
2825
                              type: string
2826
                            type: array
2827
                        type: object
2828
                      simple:
2829
                        description: |2-
2830

2831

2832
                          Valid Options: LEAST_CONN, RANDOM, PASSTHROUGH, ROUND_ROBIN, LEAST_REQUEST
2833
                        enum:
2834
                        - UNSPECIFIED
2835
                        - LEAST_CONN
2836
                        - RANDOM
2837
                        - PASSTHROUGH
2838
                        - ROUND_ROBIN
2839
                        - LEAST_REQUEST
2840
                        type: string
2841
                      warmupDurationSecs:
2842
                        description: Represents the warmup duration of Service.
2843
                        type: string
2844
                    type: object
2845
                  outlierDetection:
2846
                    properties:
2847
                      baseEjectionTime:
2848
                        description: Minimum ejection duration.
2849
                        type: string
2850
                      consecutive5xxErrors:
2851
                        description: Number of 5xx errors before a host is ejected
2852
                          from the connection pool.
2853
                        nullable: true
2854
                        type: integer
2855
                      consecutiveErrors:
2856
                        format: int32
2857
                        type: integer
2858
                      consecutiveGatewayErrors:
2859
                        description: Number of gateway errors before a host is ejected
2860
                          from the connection pool.
2861
                        nullable: true
2862
                        type: integer
2863
                      consecutiveLocalOriginFailures:
2864
                        description: The number of consecutive locally originated
2865
                          failures before ejection occurs.
2866
                        nullable: true
2867
                        type: integer
2868
                      interval:
2869
                        description: Time interval between ejection sweep analysis.
2870
                        type: string
2871
                      maxEjectionPercent:
2872
                        description: Maximum % of hosts in the load balancing pool
2873
                          for the upstream service that can be ejected.
2874
                        format: int32
2875
                        type: integer
2876
                      minHealthPercent:
2877
                        description: Outlier detection will be enabled as long as
2878
                          the associated load balancing pool has at least min_health_percent
2879
                          hosts in healthy mode.
2880
                        format: int32
2881
                        type: integer
2882
                      splitExternalLocalOriginErrors:
2883
                        description: Determines whether to distinguish local origin
2884
                          failures from external errors.
2885
                        type: boolean
2886
                    type: object
2887
                  portLevelSettings:
2888
                    description: Traffic policies specific to individual ports.
2889
                    items:
2890
                      properties:
2891
                        connectionPool:
2892
                          properties:
2893
                            http:
2894
                              description: HTTP connection pool settings.
2895
                              properties:
2896
                                h2UpgradePolicy:
2897
                                  description: |-
2898
                                    Specify if http1.1 connection should be upgraded to http2 for the associated destination.
2899

2900
                                    Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
2901
                                  enum:
2902
                                  - DEFAULT
2903
                                  - DO_NOT_UPGRADE
2904
                                  - UPGRADE
2905
                                  type: string
2906
                                http1MaxPendingRequests:
2907
                                  description: Maximum number of requests that will
2908
                                    be queued while waiting for a ready connection
2909
                                    pool connection.
2910
                                  format: int32
2911
                                  type: integer
2912
                                http2MaxRequests:
2913
                                  description: Maximum number of active requests to
2914
                                    a destination.
2915
                                  format: int32
2916
                                  type: integer
2917
                                idleTimeout:
2918
                                  description: The idle timeout for upstream connection
2919
                                    pool connections.
2920
                                  type: string
2921
                                maxConcurrentStreams:
2922
                                  description: The maximum number of concurrent streams
2923
                                    allowed for a peer on one HTTP/2 connection.
2924
                                  format: int32
2925
                                  type: integer
2926
                                maxRequestsPerConnection:
2927
                                  description: Maximum number of requests per connection
2928
                                    to a backend.
2929
                                  format: int32
2930
                                  type: integer
2931
                                maxRetries:
2932
                                  description: Maximum number of retries that can
2933
                                    be outstanding to all hosts in a cluster at a
2934
                                    given time.
2935
                                  format: int32
2936
                                  type: integer
2937
                                useClientProtocol:
2938
                                  description: If set to true, client protocol will
2939
                                    be preserved while initiating connection to backend.
2940
                                  type: boolean
2941
                              type: object
2942
                            tcp:
2943
                              description: Settings common to both HTTP and TCP upstream
2944
                                connections.
2945
                              properties:
2946
                                connectTimeout:
2947
                                  description: TCP connection timeout.
2948
                                  type: string
2949
                                idleTimeout:
2950
                                  description: The idle timeout for TCP connections.
2951
                                  type: string
2952
                                maxConnectionDuration:
2953
                                  description: The maximum duration of a connection.
2954
                                  type: string
2955
                                maxConnections:
2956
                                  description: Maximum number of HTTP1 /TCP connections
2957
                                    to a destination host.
2958
                                  format: int32
2959
                                  type: integer
2960
                                tcpKeepalive:
2961
                                  description: If set then set SO_KEEPALIVE on the
2962
                                    socket to enable TCP Keepalives.
2963
                                  properties:
2964
                                    interval:
2965
                                      description: The time duration between keep-alive
2966
                                        probes.
2967
                                      type: string
2968
                                    probes:
2969
                                      description: Maximum number of keepalive probes
2970
                                        to send without response before deciding the
2971
                                        connection is dead.
2972
                                      type: integer
2973
                                    time:
2974
                                      description: The time duration a connection
2975
                                        needs to be idle before keep-alive probes
2976
                                        start being sent.
2977
                                      type: string
2978
                                  type: object
2979
                              type: object
2980
                          type: object
2981
                        loadBalancer:
2982
                          description: Settings controlling the load balancer algorithms.
2983
                          oneOf:
2984
                          - not:
2985
                              anyOf:
2986
                              - required:
2987
                                - simple
2988
                              - required:
2989
                                - consistentHash
2990
                          - required:
2991
                            - simple
2992
                          - required:
2993
                            - consistentHash
2994
                          properties:
2995
                            consistentHash:
2996
                              allOf:
2997
                              - oneOf:
2998
                                - not:
2999
                                    anyOf:
3000
                                    - required:
3001
                                      - httpHeaderName
3002
                                    - required:
3003
                                      - httpCookie
3004
                                    - required:
3005
                                      - useSourceIp
3006
                                    - required:
3007
                                      - httpQueryParameterName
3008
                                - required:
3009
                                  - httpHeaderName
3010
                                - required:
3011
                                  - httpCookie
3012
                                - required:
3013
                                  - useSourceIp
3014
                                - required:
3015
                                  - httpQueryParameterName
3016
                              - oneOf:
3017
                                - not:
3018
                                    anyOf:
3019
                                    - required:
3020
                                      - ringHash
3021
                                    - required:
3022
                                      - maglev
3023
                                - required:
3024
                                  - ringHash
3025
                                - required:
3026
                                  - maglev
3027
                              properties:
3028
                                httpCookie:
3029
                                  description: Hash based on HTTP cookie.
3030
                                  properties:
3031
                                    name:
3032
                                      description: Name of the cookie.
3033
                                      type: string
3034
                                    path:
3035
                                      description: Path to set for the cookie.
3036
                                      type: string
3037
                                    ttl:
3038
                                      description: Lifetime of the cookie.
3039
                                      type: string
3040
                                  required:
3041
                                  - name
3042
                                  type: object
3043
                                httpHeaderName:
3044
                                  description: Hash based on a specific HTTP header.
3045
                                  type: string
3046
                                httpQueryParameterName:
3047
                                  description: Hash based on a specific HTTP query
3048
                                    parameter.
3049
                                  type: string
3050
                                maglev:
3051
                                  description: The Maglev load balancer implements
3052
                                    consistent hashing to backend hosts.
3053
                                  properties:
3054
                                    tableSize:
3055
                                      description: The table size for Maglev hashing.
3056
                                      type: integer
3057
                                  type: object
3058
                                minimumRingSize:
3059
                                  description: Deprecated.
3060
                                  type: integer
3061
                                ringHash:
3062
                                  description: The ring/modulo hash load balancer
3063
                                    implements consistent hashing to backend hosts.
3064
                                  properties:
3065
                                    minimumRingSize:
3066
                                      description: The minimum number of virtual nodes
3067
                                        to use for the hash ring.
3068
                                      type: integer
3069
                                  type: object
3070
                                useSourceIp:
3071
                                  description: Hash based on the source IP address.
3072
                                  type: boolean
3073
                              type: object
3074
                            localityLbSetting:
3075
                              properties:
3076
                                distribute:
3077
                                  description: 'Optional: only one of distribute,
3078
                                    failover or failoverPriority can be set.'
3079
                                  items:
3080
                                    properties:
3081
                                      from:
3082
                                        description: Originating locality, '/' separated,
3083
                                          e.g.
3084
                                        type: string
3085
                                      to:
3086
                                        additionalProperties:
3087
                                          type: integer
3088
                                        description: Map of upstream localities to
3089
                                          traffic distribution weights.
3090
                                        type: object
3091
                                    type: object
3092
                                  type: array
3093
                                enabled:
3094
                                  description: enable locality load balancing, this
3095
                                    is DestinationRule-level and will override mesh
3096
                                    wide settings in entirety.
3097
                                  nullable: true
3098
                                  type: boolean
3099
                                failover:
3100
                                  description: 'Optional: only one of distribute,
3101
                                    failover or failoverPriority can be set.'
3102
                                  items:
3103
                                    properties:
3104
                                      from:
3105
                                        description: Originating region.
3106
                                        type: string
3107
                                      to:
3108
                                        description: Destination region the traffic
3109
                                          will fail over to when endpoints in the
3110
                                          'from' region becomes unhealthy.
3111
                                        type: string
3112
                                    type: object
3113
                                  type: array
3114
                                failoverPriority:
3115
                                  description: failoverPriority is an ordered list
3116
                                    of labels used to sort endpoints to do priority
3117
                                    based load balancing.
3118
                                  items:
3119
                                    type: string
3120
                                  type: array
3121
                              type: object
3122
                            simple:
3123
                              description: |2-
3124

3125

3126
                                Valid Options: LEAST_CONN, RANDOM, PASSTHROUGH, ROUND_ROBIN, LEAST_REQUEST
3127
                              enum:
3128
                              - UNSPECIFIED
3129
                              - LEAST_CONN
3130
                              - RANDOM
3131
                              - PASSTHROUGH
3132
                              - ROUND_ROBIN
3133
                              - LEAST_REQUEST
3134
                              type: string
3135
                            warmupDurationSecs:
3136
                              description: Represents the warmup duration of Service.
3137
                              type: string
3138
                          type: object
3139
                        outlierDetection:
3140
                          properties:
3141
                            baseEjectionTime:
3142
                              description: Minimum ejection duration.
3143
                              type: string
3144
                            consecutive5xxErrors:
3145
                              description: Number of 5xx errors before a host is ejected
3146
                                from the connection pool.
3147
                              nullable: true
3148
                              type: integer
3149
                            consecutiveErrors:
3150
                              format: int32
3151
                              type: integer
3152
                            consecutiveGatewayErrors:
3153
                              description: Number of gateway errors before a host
3154
                                is ejected from the connection pool.
3155
                              nullable: true
3156
                              type: integer
3157
                            consecutiveLocalOriginFailures:
3158
                              description: The number of consecutive locally originated
3159
                                failures before ejection occurs.
3160
                              nullable: true
3161
                              type: integer
3162
                            interval:
3163
                              description: Time interval between ejection sweep analysis.
3164
                              type: string
3165
                            maxEjectionPercent:
3166
                              description: Maximum % of hosts in the load balancing
3167
                                pool for the upstream service that can be ejected.
3168
                              format: int32
3169
                              type: integer
3170
                            minHealthPercent:
3171
                              description: Outlier detection will be enabled as long
3172
                                as the associated load balancing pool has at least
3173
                                min_health_percent hosts in healthy mode.
3174
                              format: int32
3175
                              type: integer
3176
                            splitExternalLocalOriginErrors:
3177
                              description: Determines whether to distinguish local
3178
                                origin failures from external errors.
3179
                              type: boolean
3180
                          type: object
3181
                        port:
3182
                          description: Specifies the number of a port on the destination
3183
                            service on which this policy is being applied.
3184
                          properties:
3185
                            number:
3186
                              type: integer
3187
                          type: object
3188
                        tls:
3189
                          description: TLS related settings for connections to the
3190
                            upstream service.
3191
                          properties:
3192
                            caCertificates:
3193
                              description: 'OPTIONAL: The path to the file containing
3194
                                certificate authority certificates to use in verifying
3195
                                a presented server certificate.'
3196
                              type: string
3197
                            caCrl:
3198
                              description: 'OPTIONAL: The path to the file containing
3199
                                the certificate revocation list (CRL) to use in verifying
3200
                                a presented server certificate.'
3201
                              type: string
3202
                            clientCertificate:
3203
                              description: REQUIRED if mode is `MUTUAL`.
3204
                              type: string
3205
                            credentialName:
3206
                              description: The name of the secret that holds the TLS
3207
                                certs for the client including the CA certificates.
3208
                              type: string
3209
                            insecureSkipVerify:
3210
                              description: '`insecureSkipVerify` specifies whether
3211
                                the proxy should skip verifying the CA signature and
3212
                                SAN for the server certificate corresponding to the
3213
                                host.'
3214
                              nullable: true
3215
                              type: boolean
3216
                            mode:
3217
                              description: |-
3218
                                Indicates whether connections to this port should be secured using TLS.
3219

3220
                                Valid Options: DISABLE, SIMPLE, MUTUAL, ISTIO_MUTUAL
3221
                              enum:
3222
                              - DISABLE
3223
                              - SIMPLE
3224
                              - MUTUAL
3225
                              - ISTIO_MUTUAL
3226
                              type: string
3227
                            privateKey:
3228
                              description: REQUIRED if mode is `MUTUAL`.
3229
                              type: string
3230
                            sni:
3231
                              description: SNI string to present to the server during
3232
                                TLS handshake.
3233
                              type: string
3234
                            subjectAltNames:
3235
                              description: A list of alternate names to verify the
3236
                                subject identity in the certificate.
3237
                              items:
3238
                                type: string
3239
                              type: array
3240
                          type: object
3241
                      type: object
3242
                    type: array
3243
                  proxyProtocol:
3244
                    description: The upstream PROXY protocol settings.
3245
                    properties:
3246
                      version:
3247
                        description: |-
3248
                          The PROXY protocol version to use.
3249

3250
                          Valid Options: V1, V2
3251
                        enum:
3252
                        - V1
3253
                        - V2
3254
                        type: string
3255
                    type: object
3256
                  tls:
3257
                    description: TLS related settings for connections to the upstream
3258
                      service.
3259
                    properties:
3260
                      caCertificates:
3261
                        description: 'OPTIONAL: The path to the file containing certificate
3262
                          authority certificates to use in verifying a presented server
3263
                          certificate.'
3264
                        type: string
3265
                      caCrl:
3266
                        description: 'OPTIONAL: The path to the file containing the
3267
                          certificate revocation list (CRL) to use in verifying a
3268
                          presented server certificate.'
3269
                        type: string
3270
                      clientCertificate:
3271
                        description: REQUIRED if mode is `MUTUAL`.
3272
                        type: string
3273
                      credentialName:
3274
                        description: The name of the secret that holds the TLS certs
3275
                          for the client including the CA certificates.
3276
                        type: string
3277
                      insecureSkipVerify:
3278
                        description: '`insecureSkipVerify` specifies whether the proxy
3279
                          should skip verifying the CA signature and SAN for the server
3280
                          certificate corresponding to the host.'
3281
                        nullable: true
3282
                        type: boolean
3283
                      mode:
3284
                        description: |-
3285
                          Indicates whether connections to this port should be secured using TLS.
3286

3287
                          Valid Options: DISABLE, SIMPLE, MUTUAL, ISTIO_MUTUAL
3288
                        enum:
3289
                        - DISABLE
3290
                        - SIMPLE
3291
                        - MUTUAL
3292
                        - ISTIO_MUTUAL
3293
                        type: string
3294
                      privateKey:
3295
                        description: REQUIRED if mode is `MUTUAL`.
3296
                        type: string
3297
                      sni:
3298
                        description: SNI string to present to the server during TLS
3299
                          handshake.
3300
                        type: string
3301
                      subjectAltNames:
3302
                        description: A list of alternate names to verify the subject
3303
                          identity in the certificate.
3304
                        items:
3305
                          type: string
3306
                        type: array
3307
                    type: object
3308
                  tunnel:
3309
                    description: Configuration of tunneling TCP over other transport
3310
                      or application layers for the host configured in the DestinationRule.
3311
                    properties:
3312
                      protocol:
3313
                        description: Specifies which protocol to use for tunneling
3314
                          the downstream connection.
3315
                        type: string
3316
                      targetHost:
3317
                        description: Specifies a host to which the downstream connection
3318
                          is tunneled.
3319
                        type: string
3320
                      targetPort:
3321
                        description: Specifies a port to which the downstream connection
3322
                          is tunneled.
3323
                        type: integer
3324
                    required:
3325
                    - targetHost
3326
                    - targetPort
3327
                    type: object
3328
                type: object
3329
              workloadSelector:
3330
                description: Criteria used to select the specific set of pods/VMs
3331
                  on which this `DestinationRule` configuration should be applied.
3332
                properties:
3333
                  matchLabels:
3334
                    additionalProperties:
3335
                      type: string
3336
                    description: One or more labels that indicate a specific set of
3337
                      pods/VMs on which a policy should be applied.
3338
                    type: object
3339
                type: object
3340
            required:
3341
            - host
3342
            type: object
3343
          status:
3344
            type: object
3345
            x-kubernetes-preserve-unknown-fields: true
3346
        type: object
3347
    served: true
3348
    storage: false
3349
    subresources:
3350
      status: {}
3351
  - additionalPrinterColumns:
3352
    - description: The name of a service from the service registry
3353
      jsonPath: .spec.host
3354
      name: Host
3355
      type: string
3356
    - description: 'CreationTimestamp is a timestamp representing the server time
3357
        when this object was created. It is not guaranteed to be set in happens-before
3358
        order across separate operations. Clients may not set this value. It is represented
3359
        in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for
3360
        lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
3361
      jsonPath: .metadata.creationTimestamp
3362
      name: Age
3363
      type: date
3364
    name: v1beta1
3365
    schema:
3366
      openAPIV3Schema:
3367
        properties:
3368
          spec:
3369
            description: 'Configuration affecting load balancing, outlier detection,
3370
              etc. See more details at: https://istio.io/docs/reference/config/networking/destination-rule.html'
3371
            properties:
3372
              exportTo:
3373
                description: A list of namespaces to which this destination rule is
3374
                  exported.
3375
                items:
3376
                  type: string
3377
                type: array
3378
              host:
3379
                description: The name of a service from the service registry.
3380
                type: string
3381
              subsets:
3382
                description: One or more named sets that represent individual versions
3383
                  of a service.
3384
                items:
3385
                  properties:
3386
                    labels:
3387
                      additionalProperties:
3388
                        type: string
3389
                      description: Labels apply a filter over the endpoints of a service
3390
                        in the service registry.
3391
                      type: object
3392
                    name:
3393
                      description: Name of the subset.
3394
                      type: string
3395
                    trafficPolicy:
3396
                      description: Traffic policies that apply to this subset.
3397
                      properties:
3398
                        connectionPool:
3399
                          properties:
3400
                            http:
3401
                              description: HTTP connection pool settings.
3402
                              properties:
3403
                                h2UpgradePolicy:
3404
                                  description: |-
3405
                                    Specify if http1.1 connection should be upgraded to http2 for the associated destination.
3406

3407
                                    Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
3408
                                  enum:
3409
                                  - DEFAULT
3410
                                  - DO_NOT_UPGRADE
3411
                                  - UPGRADE
3412
                                  type: string
3413
                                http1MaxPendingRequests:
3414
                                  description: Maximum number of requests that will
3415
                                    be queued while waiting for a ready connection
3416
                                    pool connection.
3417
                                  format: int32
3418
                                  type: integer
3419
                                http2MaxRequests:
3420
                                  description: Maximum number of active requests to
3421
                                    a destination.
3422
                                  format: int32
3423
                                  type: integer
3424
                                idleTimeout:
3425
                                  description: The idle timeout for upstream connection
3426
                                    pool connections.
3427
                                  type: string
3428
                                maxConcurrentStreams:
3429
                                  description: The maximum number of concurrent streams
3430
                                    allowed for a peer on one HTTP/2 connection.
3431
                                  format: int32
3432
                                  type: integer
3433
                                maxRequestsPerConnection:
3434
                                  description: Maximum number of requests per connection
3435
                                    to a backend.
3436
                                  format: int32
3437
                                  type: integer
3438
                                maxRetries:
3439
                                  description: Maximum number of retries that can
3440
                                    be outstanding to all hosts in a cluster at a
3441
                                    given time.
3442
                                  format: int32
3443
                                  type: integer
3444
                                useClientProtocol:
3445
                                  description: If set to true, client protocol will
3446
                                    be preserved while initiating connection to backend.
3447
                                  type: boolean
3448
                              type: object
3449
                            tcp:
3450
                              description: Settings common to both HTTP and TCP upstream
3451
                                connections.
3452
                              properties:
3453
                                connectTimeout:
3454
                                  description: TCP connection timeout.
3455
                                  type: string
3456
                                idleTimeout:
3457
                                  description: The idle timeout for TCP connections.
3458
                                  type: string
3459
                                maxConnectionDuration:
3460
                                  description: The maximum duration of a connection.
3461
                                  type: string
3462
                                maxConnections:
3463
                                  description: Maximum number of HTTP1 /TCP connections
3464
                                    to a destination host.
3465
                                  format: int32
3466
                                  type: integer
3467
                                tcpKeepalive:
3468
                                  description: If set then set SO_KEEPALIVE on the
3469
                                    socket to enable TCP Keepalives.
3470
                                  properties:
3471
                                    interval:
3472
                                      description: The time duration between keep-alive
3473
                                        probes.
3474
                                      type: string
3475
                                    probes:
3476
                                      description: Maximum number of keepalive probes
3477
                                        to send without response before deciding the
3478
                                        connection is dead.
3479
                                      type: integer
3480
                                    time:
3481
                                      description: The time duration a connection
3482
                                        needs to be idle before keep-alive probes
3483
                                        start being sent.
3484
                                      type: string
3485
                                  type: object
3486
                              type: object
3487
                          type: object
3488
                        loadBalancer:
3489
                          description: Settings controlling the load balancer algorithms.
3490
                          oneOf:
3491
                          - not:
3492
                              anyOf:
3493
                              - required:
3494
                                - simple
3495
                              - required:
3496
                                - consistentHash
3497
                          - required:
3498
                            - simple
3499
                          - required:
3500
                            - consistentHash
3501
                          properties:
3502
                            consistentHash:
3503
                              allOf:
3504
                              - oneOf:
3505
                                - not:
3506
                                    anyOf:
3507
                                    - required:
3508
                                      - httpHeaderName
3509
                                    - required:
3510
                                      - httpCookie
3511
                                    - required:
3512
                                      - useSourceIp
3513
                                    - required:
3514
                                      - httpQueryParameterName
3515
                                - required:
3516
                                  - httpHeaderName
3517
                                - required:
3518
                                  - httpCookie
3519
                                - required:
3520
                                  - useSourceIp
3521
                                - required:
3522
                                  - httpQueryParameterName
3523
                              - oneOf:
3524
                                - not:
3525
                                    anyOf:
3526
                                    - required:
3527
                                      - ringHash
3528
                                    - required:
3529
                                      - maglev
3530
                                - required:
3531
                                  - ringHash
3532
                                - required:
3533
                                  - maglev
3534
                              properties:
3535
                                httpCookie:
3536
                                  description: Hash based on HTTP cookie.
3537
                                  properties:
3538
                                    name:
3539
                                      description: Name of the cookie.
3540
                                      type: string
3541
                                    path:
3542
                                      description: Path to set for the cookie.
3543
                                      type: string
3544
                                    ttl:
3545
                                      description: Lifetime of the cookie.
3546
                                      type: string
3547
                                  required:
3548
                                  - name
3549
                                  type: object
3550
                                httpHeaderName:
3551
                                  description: Hash based on a specific HTTP header.
3552
                                  type: string
3553
                                httpQueryParameterName:
3554
                                  description: Hash based on a specific HTTP query
3555
                                    parameter.
3556
                                  type: string
3557
                                maglev:
3558
                                  description: The Maglev load balancer implements
3559
                                    consistent hashing to backend hosts.
3560
                                  properties:
3561
                                    tableSize:
3562
                                      description: The table size for Maglev hashing.
3563
                                      type: integer
3564
                                  type: object
3565
                                minimumRingSize:
3566
                                  description: Deprecated.
3567
                                  type: integer
3568
                                ringHash:
3569
                                  description: The ring/modulo hash load balancer
3570
                                    implements consistent hashing to backend hosts.
3571
                                  properties:
3572
                                    minimumRingSize:
3573
                                      description: The minimum number of virtual nodes
3574
                                        to use for the hash ring.
3575
                                      type: integer
3576
                                  type: object
3577
                                useSourceIp:
3578
                                  description: Hash based on the source IP address.
3579
                                  type: boolean
3580
                              type: object
3581
                            localityLbSetting:
3582
                              properties:
3583
                                distribute:
3584
                                  description: 'Optional: only one of distribute,
3585
                                    failover or failoverPriority can be set.'
3586
                                  items:
3587
                                    properties:
3588
                                      from:
3589
                                        description: Originating locality, '/' separated,
3590
                                          e.g.
3591
                                        type: string
3592
                                      to:
3593
                                        additionalProperties:
3594
                                          type: integer
3595
                                        description: Map of upstream localities to
3596
                                          traffic distribution weights.
3597
                                        type: object
3598
                                    type: object
3599
                                  type: array
3600
                                enabled:
3601
                                  description: enable locality load balancing, this
3602
                                    is DestinationRule-level and will override mesh
3603
                                    wide settings in entirety.
3604
                                  nullable: true
3605
                                  type: boolean
3606
                                failover:
3607
                                  description: 'Optional: only one of distribute,
3608
                                    failover or failoverPriority can be set.'
3609
                                  items:
3610
                                    properties:
3611
                                      from:
3612
                                        description: Originating region.
3613
                                        type: string
3614
                                      to:
3615
                                        description: Destination region the traffic
3616
                                          will fail over to when endpoints in the
3617
                                          'from' region becomes unhealthy.
3618
                                        type: string
3619
                                    type: object
3620
                                  type: array
3621
                                failoverPriority:
3622
                                  description: failoverPriority is an ordered list
3623
                                    of labels used to sort endpoints to do priority
3624
                                    based load balancing.
3625
                                  items:
3626
                                    type: string
3627
                                  type: array
3628
                              type: object
3629
                            simple:
3630
                              description: |2-
3631

3632

3633
                                Valid Options: LEAST_CONN, RANDOM, PASSTHROUGH, ROUND_ROBIN, LEAST_REQUEST
3634
                              enum:
3635
                              - UNSPECIFIED
3636
                              - LEAST_CONN
3637
                              - RANDOM
3638
                              - PASSTHROUGH
3639
                              - ROUND_ROBIN
3640
                              - LEAST_REQUEST
3641
                              type: string
3642
                            warmupDurationSecs:
3643
                              description: Represents the warmup duration of Service.
3644
                              type: string
3645
                          type: object
3646
                        outlierDetection:
3647
                          properties:
3648
                            baseEjectionTime:
3649
                              description: Minimum ejection duration.
3650
                              type: string
3651
                            consecutive5xxErrors:
3652
                              description: Number of 5xx errors before a host is ejected
3653
                                from the connection pool.
3654
                              nullable: true
3655
                              type: integer
3656
                            consecutiveErrors:
3657
                              format: int32
3658
                              type: integer
3659
                            consecutiveGatewayErrors:
3660
                              description: Number of gateway errors before a host
3661
                                is ejected from the connection pool.
3662
                              nullable: true
3663
                              type: integer
3664
                            consecutiveLocalOriginFailures:
3665
                              description: The number of consecutive locally originated
3666
                                failures before ejection occurs.
3667
                              nullable: true
3668
                              type: integer
3669
                            interval:
3670
                              description: Time interval between ejection sweep analysis.
3671
                              type: string
3672
                            maxEjectionPercent:
3673
                              description: Maximum % of hosts in the load balancing
3674
                                pool for the upstream service that can be ejected.
3675
                              format: int32
3676
                              type: integer
3677
                            minHealthPercent:
3678
                              description: Outlier detection will be enabled as long
3679
                                as the associated load balancing pool has at least
3680
                                min_health_percent hosts in healthy mode.
3681
                              format: int32
3682
                              type: integer
3683
                            splitExternalLocalOriginErrors:
3684
                              description: Determines whether to distinguish local
3685
                                origin failures from external errors.
3686
                              type: boolean
3687
                          type: object
3688
                        portLevelSettings:
3689
                          description: Traffic policies specific to individual ports.
3690
                          items:
3691
                            properties:
3692
                              connectionPool:
3693
                                properties:
3694
                                  http:
3695
                                    description: HTTP connection pool settings.
3696
                                    properties:
3697
                                      h2UpgradePolicy:
3698
                                        description: |-
3699
                                          Specify if http1.1 connection should be upgraded to http2 for the associated destination.
3700

3701
                                          Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
3702
                                        enum:
3703
                                        - DEFAULT
3704
                                        - DO_NOT_UPGRADE
3705
                                        - UPGRADE
3706
                                        type: string
3707
                                      http1MaxPendingRequests:
3708
                                        description: Maximum number of requests that
3709
                                          will be queued while waiting for a ready
3710
                                          connection pool connection.
3711
                                        format: int32
3712
                                        type: integer
3713
                                      http2MaxRequests:
3714
                                        description: Maximum number of active requests
3715
                                          to a destination.
3716
                                        format: int32
3717
                                        type: integer
3718
                                      idleTimeout:
3719
                                        description: The idle timeout for upstream
3720
                                          connection pool connections.
3721
                                        type: string
3722
                                      maxConcurrentStreams:
3723
                                        description: The maximum number of concurrent
3724
                                          streams allowed for a peer on one HTTP/2
3725
                                          connection.
3726
                                        format: int32
3727
                                        type: integer
3728
                                      maxRequestsPerConnection:
3729
                                        description: Maximum number of requests per
3730
                                          connection to a backend.
3731
                                        format: int32
3732
                                        type: integer
3733
                                      maxRetries:
3734
                                        description: Maximum number of retries that
3735
                                          can be outstanding to all hosts in a cluster
3736
                                          at a given time.
3737
                                        format: int32
3738
                                        type: integer
3739
                                      useClientProtocol:
3740
                                        description: If set to true, client protocol
3741
                                          will be preserved while initiating connection
3742
                                          to backend.
3743
                                        type: boolean
3744
                                    type: object
3745
                                  tcp:
3746
                                    description: Settings common to both HTTP and
3747
                                      TCP upstream connections.
3748
                                    properties:
3749
                                      connectTimeout:
3750
                                        description: TCP connection timeout.
3751
                                        type: string
3752
                                      idleTimeout:
3753
                                        description: The idle timeout for TCP connections.
3754
                                        type: string
3755
                                      maxConnectionDuration:
3756
                                        description: The maximum duration of a connection.
3757
                                        type: string
3758
                                      maxConnections:
3759
                                        description: Maximum number of HTTP1 /TCP
3760
                                          connections to a destination host.
3761
                                        format: int32
3762
                                        type: integer
3763
                                      tcpKeepalive:
3764
                                        description: If set then set SO_KEEPALIVE
3765
                                          on the socket to enable TCP Keepalives.
3766
                                        properties:
3767
                                          interval:
3768
                                            description: The time duration between
3769
                                              keep-alive probes.
3770
                                            type: string
3771
                                          probes:
3772
                                            description: Maximum number of keepalive
3773
                                              probes to send without response before
3774
                                              deciding the connection is dead.
3775
                                            type: integer
3776
                                          time:
3777
                                            description: The time duration a connection
3778
                                              needs to be idle before keep-alive probes
3779
                                              start being sent.
3780
                                            type: string
3781
                                        type: object
3782
                                    type: object
3783
                                type: object
3784
                              loadBalancer:
3785
                                description: Settings controlling the load balancer
3786
                                  algorithms.
3787
                                oneOf:
3788
                                - not:
3789
                                    anyOf:
3790
                                    - required:
3791
                                      - simple
3792
                                    - required:
3793
                                      - consistentHash
3794
                                - required:
3795
                                  - simple
3796
                                - required:
3797
                                  - consistentHash
3798
                                properties:
3799
                                  consistentHash:
3800
                                    allOf:
3801
                                    - oneOf:
3802
                                      - not:
3803
                                          anyOf:
3804
                                          - required:
3805
                                            - httpHeaderName
3806
                                          - required:
3807
                                            - httpCookie
3808
                                          - required:
3809
                                            - useSourceIp
3810
                                          - required:
3811
                                            - httpQueryParameterName
3812
                                      - required:
3813
                                        - httpHeaderName
3814
                                      - required:
3815
                                        - httpCookie
3816
                                      - required:
3817
                                        - useSourceIp
3818
                                      - required:
3819
                                        - httpQueryParameterName
3820
                                    - oneOf:
3821
                                      - not:
3822
                                          anyOf:
3823
                                          - required:
3824
                                            - ringHash
3825
                                          - required:
3826
                                            - maglev
3827
                                      - required:
3828
                                        - ringHash
3829
                                      - required:
3830
                                        - maglev
3831
                                    properties:
3832
                                      httpCookie:
3833
                                        description: Hash based on HTTP cookie.
3834
                                        properties:
3835
                                          name:
3836
                                            description: Name of the cookie.
3837
                                            type: string
3838
                                          path:
3839
                                            description: Path to set for the cookie.
3840
                                            type: string
3841
                                          ttl:
3842
                                            description: Lifetime of the cookie.
3843
                                            type: string
3844
                                        required:
3845
                                        - name
3846
                                        type: object
3847
                                      httpHeaderName:
3848
                                        description: Hash based on a specific HTTP
3849
                                          header.
3850
                                        type: string
3851
                                      httpQueryParameterName:
3852
                                        description: Hash based on a specific HTTP
3853
                                          query parameter.
3854
                                        type: string
3855
                                      maglev:
3856
                                        description: The Maglev load balancer implements
3857
                                          consistent hashing to backend hosts.
3858
                                        properties:
3859
                                          tableSize:
3860
                                            description: The table size for Maglev
3861
                                              hashing.
3862
                                            type: integer
3863
                                        type: object
3864
                                      minimumRingSize:
3865
                                        description: Deprecated.
3866
                                        type: integer
3867
                                      ringHash:
3868
                                        description: The ring/modulo hash load balancer
3869
                                          implements consistent hashing to backend
3870
                                          hosts.
3871
                                        properties:
3872
                                          minimumRingSize:
3873
                                            description: The minimum number of virtual
3874
                                              nodes to use for the hash ring.
3875
                                            type: integer
3876
                                        type: object
3877
                                      useSourceIp:
3878
                                        description: Hash based on the source IP address.
3879
                                        type: boolean
3880
                                    type: object
3881
                                  localityLbSetting:
3882
                                    properties:
3883
                                      distribute:
3884
                                        description: 'Optional: only one of distribute,
3885
                                          failover or failoverPriority can be set.'
3886
                                        items:
3887
                                          properties:
3888
                                            from:
3889
                                              description: Originating locality, '/'
3890
                                                separated, e.g.
3891
                                              type: string
3892
                                            to:
3893
                                              additionalProperties:
3894
                                                type: integer
3895
                                              description: Map of upstream localities
3896
                                                to traffic distribution weights.
3897
                                              type: object
3898
                                          type: object
3899
                                        type: array
3900
                                      enabled:
3901
                                        description: enable locality load balancing,
3902
                                          this is DestinationRule-level and will override
3903
                                          mesh wide settings in entirety.
3904
                                        nullable: true
3905
                                        type: boolean
3906
                                      failover:
3907
                                        description: 'Optional: only one of distribute,
3908
                                          failover or failoverPriority can be set.'
3909
                                        items:
3910
                                          properties:
3911
                                            from:
3912
                                              description: Originating region.
3913
                                              type: string
3914
                                            to:
3915
                                              description: Destination region the
3916
                                                traffic will fail over to when endpoints
3917
                                                in the 'from' region becomes unhealthy.
3918
                                              type: string
3919
                                          type: object
3920
                                        type: array
3921
                                      failoverPriority:
3922
                                        description: failoverPriority is an ordered
3923
                                          list of labels used to sort endpoints to
3924
                                          do priority based load balancing.
3925
                                        items:
3926
                                          type: string
3927
                                        type: array
3928
                                    type: object
3929
                                  simple:
3930
                                    description: |2-
3931

3932

3933
                                      Valid Options: LEAST_CONN, RANDOM, PASSTHROUGH, ROUND_ROBIN, LEAST_REQUEST
3934
                                    enum:
3935
                                    - UNSPECIFIED
3936
                                    - LEAST_CONN
3937
                                    - RANDOM
3938
                                    - PASSTHROUGH
3939
                                    - ROUND_ROBIN
3940
                                    - LEAST_REQUEST
3941
                                    type: string
3942
                                  warmupDurationSecs:
3943
                                    description: Represents the warmup duration of
3944
                                      Service.
3945
                                    type: string
3946
                                type: object
3947
                              outlierDetection:
3948
                                properties:
3949
                                  baseEjectionTime:
3950
                                    description: Minimum ejection duration.
3951
                                    type: string
3952
                                  consecutive5xxErrors:
3953
                                    description: Number of 5xx errors before a host
3954
                                      is ejected from the connection pool.
3955
                                    nullable: true
3956
                                    type: integer
3957
                                  consecutiveErrors:
3958
                                    format: int32
3959
                                    type: integer
3960
                                  consecutiveGatewayErrors:
3961
                                    description: Number of gateway errors before a
3962
                                      host is ejected from the connection pool.
3963
                                    nullable: true
3964
                                    type: integer
3965
                                  consecutiveLocalOriginFailures:
3966
                                    description: The number of consecutive locally
3967
                                      originated failures before ejection occurs.
3968
                                    nullable: true
3969
                                    type: integer
3970
                                  interval:
3971
                                    description: Time interval between ejection sweep
3972
                                      analysis.
3973
                                    type: string
3974
                                  maxEjectionPercent:
3975
                                    description: Maximum % of hosts in the load balancing
3976
                                      pool for the upstream service that can be ejected.
3977
                                    format: int32
3978
                                    type: integer
3979
                                  minHealthPercent:
3980
                                    description: Outlier detection will be enabled
3981
                                      as long as the associated load balancing pool
3982
                                      has at least min_health_percent hosts in healthy
3983
                                      mode.
3984
                                    format: int32
3985
                                    type: integer
3986
                                  splitExternalLocalOriginErrors:
3987
                                    description: Determines whether to distinguish
3988
                                      local origin failures from external errors.
3989
                                    type: boolean
3990
                                type: object
3991
                              port:
3992
                                description: Specifies the number of a port on the
3993
                                  destination service on which this policy is being
3994
                                  applied.
3995
                                properties:
3996
                                  number:
3997
                                    type: integer
3998
                                type: object
3999
                              tls:
4000
                                description: TLS related settings for connections
4001
                                  to the upstream service.
4002
                                properties:
4003
                                  caCertificates:
4004
                                    description: 'OPTIONAL: The path to the file containing
4005
                                      certificate authority certificates to use in
4006
                                      verifying a presented server certificate.'
4007
                                    type: string
4008
                                  caCrl:
4009
                                    description: 'OPTIONAL: The path to the file containing
4010
                                      the certificate revocation list (CRL) to use
4011
                                      in verifying a presented server certificate.'
4012
                                    type: string
4013
                                  clientCertificate:
4014
                                    description: REQUIRED if mode is `MUTUAL`.
4015
                                    type: string
4016
                                  credentialName:
4017
                                    description: The name of the secret that holds
4018
                                      the TLS certs for the client including the CA
4019
                                      certificates.
4020
                                    type: string
4021
                                  insecureSkipVerify:
4022
                                    description: '`insecureSkipVerify` specifies whether
4023
                                      the proxy should skip verifying the CA signature
4024
                                      and SAN for the server certificate corresponding
4025
                                      to the host.'
4026
                                    nullable: true
4027
                                    type: boolean
4028
                                  mode:
4029
                                    description: |-
4030
                                      Indicates whether connections to this port should be secured using TLS.
4031

4032
                                      Valid Options: DISABLE, SIMPLE, MUTUAL, ISTIO_MUTUAL
4033
                                    enum:
4034
                                    - DISABLE
4035
                                    - SIMPLE
4036
                                    - MUTUAL
4037
                                    - ISTIO_MUTUAL
4038
                                    type: string
4039
                                  privateKey:
4040
                                    description: REQUIRED if mode is `MUTUAL`.
4041
                                    type: string
4042
                                  sni:
4043
                                    description: SNI string to present to the server
4044
                                      during TLS handshake.
4045
                                    type: string
4046
                                  subjectAltNames:
4047
                                    description: A list of alternate names to verify
4048
                                      the subject identity in the certificate.
4049
                                    items:
4050
                                      type: string
4051
                                    type: array
4052
                                type: object
4053
                            type: object
4054
                          type: array
4055
                        proxyProtocol:
4056
                          description: The upstream PROXY protocol settings.
4057
                          properties:
4058
                            version:
4059
                              description: |-
4060
                                The PROXY protocol version to use.
4061

4062
                                Valid Options: V1, V2
4063
                              enum:
4064
                              - V1
4065
                              - V2
4066
                              type: string
4067
                          type: object
4068
                        tls:
4069
                          description: TLS related settings for connections to the
4070
                            upstream service.
4071
                          properties:
4072
                            caCertificates:
4073
                              description: 'OPTIONAL: The path to the file containing
4074
                                certificate authority certificates to use in verifying
4075
                                a presented server certificate.'
4076
                              type: string
4077
                            caCrl:
4078
                              description: 'OPTIONAL: The path to the file containing
4079
                                the certificate revocation list (CRL) to use in verifying
4080
                                a presented server certificate.'
4081
                              type: string
4082
                            clientCertificate:
4083
                              description: REQUIRED if mode is `MUTUAL`.
4084
                              type: string
4085
                            credentialName:
4086
                              description: The name of the secret that holds the TLS
4087
                                certs for the client including the CA certificates.
4088
                              type: string
4089
                            insecureSkipVerify:
4090
                              description: '`insecureSkipVerify` specifies whether
4091
                                the proxy should skip verifying the CA signature and
4092
                                SAN for the server certificate corresponding to the
4093
                                host.'
4094
                              nullable: true
4095
                              type: boolean
4096
                            mode:
4097
                              description: |-
4098
                                Indicates whether connections to this port should be secured using TLS.
4099

4100
                                Valid Options: DISABLE, SIMPLE, MUTUAL, ISTIO_MUTUAL
4101
                              enum:
4102
                              - DISABLE
4103
                              - SIMPLE
4104
                              - MUTUAL
4105
                              - ISTIO_MUTUAL
4106
                              type: string
4107
                            privateKey:
4108
                              description: REQUIRED if mode is `MUTUAL`.
4109
                              type: string
4110
                            sni:
4111
                              description: SNI string to present to the server during
4112
                                TLS handshake.
4113
                              type: string
4114
                            subjectAltNames:
4115
                              description: A list of alternate names to verify the
4116
                                subject identity in the certificate.
4117
                              items:
4118
                                type: string
4119
                              type: array
4120
                          type: object
4121
                        tunnel:
4122
                          description: Configuration of tunneling TCP over other transport
4123
                            or application layers for the host configured in the DestinationRule.
4124
                          properties:
4125
                            protocol:
4126
                              description: Specifies which protocol to use for tunneling
4127
                                the downstream connection.
4128
                              type: string
4129
                            targetHost:
4130
                              description: Specifies a host to which the downstream
4131
                                connection is tunneled.
4132
                              type: string
4133
                            targetPort:
4134
                              description: Specifies a port to which the downstream
4135
                                connection is tunneled.
4136
                              type: integer
4137
                          required:
4138
                          - targetHost
4139
                          - targetPort
4140
                          type: object
4141
                      type: object
4142
                  required:
4143
                  - name
4144
                  type: object
4145
                type: array
4146
              trafficPolicy:
4147
                description: Traffic policies to apply (load balancing policy, connection
4148
                  pool sizes, outlier detection).
4149
                properties:
4150
                  connectionPool:
4151
                    properties:
4152
                      http:
4153
                        description: HTTP connection pool settings.
4154
                        properties:
4155
                          h2UpgradePolicy:
4156
                            description: |-
4157
                              Specify if http1.1 connection should be upgraded to http2 for the associated destination.
4158

4159
                              Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
4160
                            enum:
4161
                            - DEFAULT
4162
                            - DO_NOT_UPGRADE
4163
                            - UPGRADE
4164
                            type: string
4165
                          http1MaxPendingRequests:
4166
                            description: Maximum number of requests that will be queued
4167
                              while waiting for a ready connection pool connection.
4168
                            format: int32
4169
                            type: integer
4170
                          http2MaxRequests:
4171
                            description: Maximum number of active requests to a destination.
4172
                            format: int32
4173
                            type: integer
4174
                          idleTimeout:
4175
                            description: The idle timeout for upstream connection
4176
                              pool connections.
4177
                            type: string
4178
                          maxConcurrentStreams:
4179
                            description: The maximum number of concurrent streams
4180
                              allowed for a peer on one HTTP/2 connection.
4181
                            format: int32
4182
                            type: integer
4183
                          maxRequestsPerConnection:
4184
                            description: Maximum number of requests per connection
4185
                              to a backend.
4186
                            format: int32
4187
                            type: integer
4188
                          maxRetries:
4189
                            description: Maximum number of retries that can be outstanding
4190
                              to all hosts in a cluster at a given time.
4191
                            format: int32
4192
                            type: integer
4193
                          useClientProtocol:
4194
                            description: If set to true, client protocol will be preserved
4195
                              while initiating connection to backend.
4196
                            type: boolean
4197
                        type: object
4198
                      tcp:
4199
                        description: Settings common to both HTTP and TCP upstream
4200
                          connections.
4201
                        properties:
4202
                          connectTimeout:
4203
                            description: TCP connection timeout.
4204
                            type: string
4205
                          idleTimeout:
4206
                            description: The idle timeout for TCP connections.
4207
                            type: string
4208
                          maxConnectionDuration:
4209
                            description: The maximum duration of a connection.
4210
                            type: string
4211
                          maxConnections:
4212
                            description: Maximum number of HTTP1 /TCP connections
4213
                              to a destination host.
4214
                            format: int32
4215
                            type: integer
4216
                          tcpKeepalive:
4217
                            description: If set then set SO_KEEPALIVE on the socket
4218
                              to enable TCP Keepalives.
4219
                            properties:
4220
                              interval:
4221
                                description: The time duration between keep-alive
4222
                                  probes.
4223
                                type: string
4224
                              probes:
4225
                                description: Maximum number of keepalive probes to
4226
                                  send without response before deciding the connection
4227
                                  is dead.
4228
                                type: integer
4229
                              time:
4230
                                description: The time duration a connection needs
4231
                                  to be idle before keep-alive probes start being
4232
                                  sent.
4233
                                type: string
4234
                            type: object
4235
                        type: object
4236
                    type: object
4237
                  loadBalancer:
4238
                    description: Settings controlling the load balancer algorithms.
4239
                    oneOf:
4240
                    - not:
4241
                        anyOf:
4242
                        - required:
4243
                          - simple
4244
                        - required:
4245
                          - consistentHash
4246
                    - required:
4247
                      - simple
4248
                    - required:
4249
                      - consistentHash
4250
                    properties:
4251
                      consistentHash:
4252
                        allOf:
4253
                        - oneOf:
4254
                          - not:
4255
                              anyOf:
4256
                              - required:
4257
                                - httpHeaderName
4258
                              - required:
4259
                                - httpCookie
4260
                              - required:
4261
                                - useSourceIp
4262
                              - required:
4263
                                - httpQueryParameterName
4264
                          - required:
4265
                            - httpHeaderName
4266
                          - required:
4267
                            - httpCookie
4268
                          - required:
4269
                            - useSourceIp
4270
                          - required:
4271
                            - httpQueryParameterName
4272
                        - oneOf:
4273
                          - not:
4274
                              anyOf:
4275
                              - required:
4276
                                - ringHash
4277
                              - required:
4278
                                - maglev
4279
                          - required:
4280
                            - ringHash
4281
                          - required:
4282
                            - maglev
4283
                        properties:
4284
                          httpCookie:
4285
                            description: Hash based on HTTP cookie.
4286
                            properties:
4287
                              name:
4288
                                description: Name of the cookie.
4289
                                type: string
4290
                              path:
4291
                                description: Path to set for the cookie.
4292
                                type: string
4293
                              ttl:
4294
                                description: Lifetime of the cookie.
4295
                                type: string
4296
                            required:
4297
                            - name
4298
                            type: object
4299
                          httpHeaderName:
4300
                            description: Hash based on a specific HTTP header.
4301
                            type: string
4302
                          httpQueryParameterName:
4303
                            description: Hash based on a specific HTTP query parameter.
4304
                            type: string
4305
                          maglev:
4306
                            description: The Maglev load balancer implements consistent
4307
                              hashing to backend hosts.
4308
                            properties:
4309
                              tableSize:
4310
                                description: The table size for Maglev hashing.
4311
                                type: integer
4312
                            type: object
4313
                          minimumRingSize:
4314
                            description: Deprecated.
4315
                            type: integer
4316
                          ringHash:
4317
                            description: The ring/modulo hash load balancer implements
4318
                              consistent hashing to backend hosts.
4319
                            properties:
4320
                              minimumRingSize:
4321
                                description: The minimum number of virtual nodes to
4322
                                  use for the hash ring.
4323
                                type: integer
4324
                            type: object
4325
                          useSourceIp:
4326
                            description: Hash based on the source IP address.
4327
                            type: boolean
4328
                        type: object
4329
                      localityLbSetting:
4330
                        properties:
4331
                          distribute:
4332
                            description: 'Optional: only one of distribute, failover
4333
                              or failoverPriority can be set.'
4334
                            items:
4335
                              properties:
4336
                                from:
4337
                                  description: Originating locality, '/' separated,
4338
                                    e.g.
4339
                                  type: string
4340
                                to:
4341
                                  additionalProperties:
4342
                                    type: integer
4343
                                  description: Map of upstream localities to traffic
4344
                                    distribution weights.
4345
                                  type: object
4346
                              type: object
4347
                            type: array
4348
                          enabled:
4349
                            description: enable locality load balancing, this is DestinationRule-level
4350
                              and will override mesh wide settings in entirety.
4351
                            nullable: true
4352
                            type: boolean
4353
                          failover:
4354
                            description: 'Optional: only one of distribute, failover
4355
                              or failoverPriority can be set.'
4356
                            items:
4357
                              properties:
4358
                                from:
4359
                                  description: Originating region.
4360
                                  type: string
4361
                                to:
4362
                                  description: Destination region the traffic will
4363
                                    fail over to when endpoints in the 'from' region
4364
                                    becomes unhealthy.
4365
                                  type: string
4366
                              type: object
4367
                            type: array
4368
                          failoverPriority:
4369
                            description: failoverPriority is an ordered list of labels
4370
                              used to sort endpoints to do priority based load balancing.
4371
                            items:
4372
                              type: string
4373
                            type: array
4374
                        type: object
4375
                      simple:
4376
                        description: |2-
4377

4378

4379
                          Valid Options: LEAST_CONN, RANDOM, PASSTHROUGH, ROUND_ROBIN, LEAST_REQUEST
4380
                        enum:
4381
                        - UNSPECIFIED
4382
                        - LEAST_CONN
4383
                        - RANDOM
4384
                        - PASSTHROUGH
4385
                        - ROUND_ROBIN
4386
                        - LEAST_REQUEST
4387
                        type: string
4388
                      warmupDurationSecs:
4389
                        description: Represents the warmup duration of Service.
4390
                        type: string
4391
                    type: object
4392
                  outlierDetection:
4393
                    properties:
4394
                      baseEjectionTime:
4395
                        description: Minimum ejection duration.
4396
                        type: string
4397
                      consecutive5xxErrors:
4398
                        description: Number of 5xx errors before a host is ejected
4399
                          from the connection pool.
4400
                        nullable: true
4401
                        type: integer
4402
                      consecutiveErrors:
4403
                        format: int32
4404
                        type: integer
4405
                      consecutiveGatewayErrors:
4406
                        description: Number of gateway errors before a host is ejected
4407
                          from the connection pool.
4408
                        nullable: true
4409
                        type: integer
4410
                      consecutiveLocalOriginFailures:
4411
                        description: The number of consecutive locally originated
4412
                          failures before ejection occurs.
4413
                        nullable: true
4414
                        type: integer
4415
                      interval:
4416
                        description: Time interval between ejection sweep analysis.
4417
                        type: string
4418
                      maxEjectionPercent:
4419
                        description: Maximum % of hosts in the load balancing pool
4420
                          for the upstream service that can be ejected.
4421
                        format: int32
4422
                        type: integer
4423
                      minHealthPercent:
4424
                        description: Outlier detection will be enabled as long as
4425
                          the associated load balancing pool has at least min_health_percent
4426
                          hosts in healthy mode.
4427
                        format: int32
4428
                        type: integer
4429
                      splitExternalLocalOriginErrors:
4430
                        description: Determines whether to distinguish local origin
4431
                          failures from external errors.
4432
                        type: boolean
4433
                    type: object
4434
                  portLevelSettings:
4435
                    description: Traffic policies specific to individual ports.
4436
                    items:
4437
                      properties:
4438
                        connectionPool:
4439
                          properties:
4440
                            http:
4441
                              description: HTTP connection pool settings.
4442
                              properties:
4443
                                h2UpgradePolicy:
4444
                                  description: |-
4445
                                    Specify if http1.1 connection should be upgraded to http2 for the associated destination.
4446

4447
                                    Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
4448
                                  enum:
4449
                                  - DEFAULT
4450
                                  - DO_NOT_UPGRADE
4451
                                  - UPGRADE
4452
                                  type: string
4453
                                http1MaxPendingRequests:
4454
                                  description: Maximum number of requests that will
4455
                                    be queued while waiting for a ready connection
4456
                                    pool connection.
4457
                                  format: int32
4458
                                  type: integer
4459
                                http2MaxRequests:
4460
                                  description: Maximum number of active requests to
4461
                                    a destination.
4462
                                  format: int32
4463
                                  type: integer
4464
                                idleTimeout:
4465
                                  description: The idle timeout for upstream connection
4466
                                    pool connections.
4467
                                  type: string
4468
                                maxConcurrentStreams:
4469
                                  description: The maximum number of concurrent streams
4470
                                    allowed for a peer on one HTTP/2 connection.
4471
                                  format: int32
4472
                                  type: integer
4473
                                maxRequestsPerConnection:
4474
                                  description: Maximum number of requests per connection
4475
                                    to a backend.
4476
                                  format: int32
4477
                                  type: integer
4478
                                maxRetries:
4479
                                  description: Maximum number of retries that can
4480
                                    be outstanding to all hosts in a cluster at a
4481
                                    given time.
4482
                                  format: int32
4483
                                  type: integer
4484
                                useClientProtocol:
4485
                                  description: If set to true, client protocol will
4486
                                    be preserved while initiating connection to backend.
4487
                                  type: boolean
4488
                              type: object
4489
                            tcp:
4490
                              description: Settings common to both HTTP and TCP upstream
4491
                                connections.
4492
                              properties:
4493
                                connectTimeout:
4494
                                  description: TCP connection timeout.
4495
                                  type: string
4496
                                idleTimeout:
4497
                                  description: The idle timeout for TCP connections.
4498
                                  type: string
4499
                                maxConnectionDuration:
4500
                                  description: The maximum duration of a connection.
4501
                                  type: string
4502
                                maxConnections:
4503
                                  description: Maximum number of HTTP1 /TCP connections
4504
                                    to a destination host.
4505
                                  format: int32
4506
                                  type: integer
4507
                                tcpKeepalive:
4508
                                  description: If set then set SO_KEEPALIVE on the
4509
                                    socket to enable TCP Keepalives.
4510
                                  properties:
4511
                                    interval:
4512
                                      description: The time duration between keep-alive
4513
                                        probes.
4514
                                      type: string
4515
                                    probes:
4516
                                      description: Maximum number of keepalive probes
4517
                                        to send without response before deciding the
4518
                                        connection is dead.
4519
                                      type: integer
4520
                                    time:
4521
                                      description: The time duration a connection
4522
                                        needs to be idle before keep-alive probes
4523
                                        start being sent.
4524
                                      type: string
4525
                                  type: object
4526
                              type: object
4527
                          type: object
4528
                        loadBalancer:
4529
                          description: Settings controlling the load balancer algorithms.
4530
                          oneOf:
4531
                          - not:
4532
                              anyOf:
4533
                              - required:
4534
                                - simple
4535
                              - required:
4536
                                - consistentHash
4537
                          - required:
4538
                            - simple
4539
                          - required:
4540
                            - consistentHash
4541
                          properties:
4542
                            consistentHash:
4543
                              allOf:
4544
                              - oneOf:
4545
                                - not:
4546
                                    anyOf:
4547
                                    - required:
4548
                                      - httpHeaderName
4549
                                    - required:
4550
                                      - httpCookie
4551
                                    - required:
4552
                                      - useSourceIp
4553
                                    - required:
4554
                                      - httpQueryParameterName
4555
                                - required:
4556
                                  - httpHeaderName
4557
                                - required:
4558
                                  - httpCookie
4559
                                - required:
4560
                                  - useSourceIp
4561
                                - required:
4562
                                  - httpQueryParameterName
4563
                              - oneOf:
4564
                                - not:
4565
                                    anyOf:
4566
                                    - required:
4567
                                      - ringHash
4568
                                    - required:
4569
                                      - maglev
4570
                                - required:
4571
                                  - ringHash
4572
                                - required:
4573
                                  - maglev
4574
                              properties:
4575
                                httpCookie:
4576
                                  description: Hash based on HTTP cookie.
4577
                                  properties:
4578
                                    name:
4579
                                      description: Name of the cookie.
4580
                                      type: string
4581
                                    path:
4582
                                      description: Path to set for the cookie.
4583
                                      type: string
4584
                                    ttl:
4585
                                      description: Lifetime of the cookie.
4586
                                      type: string
4587
                                  required:
4588
                                  - name
4589
                                  type: object
4590
                                httpHeaderName:
4591
                                  description: Hash based on a specific HTTP header.
4592
                                  type: string
4593
                                httpQueryParameterName:
4594
                                  description: Hash based on a specific HTTP query
4595
                                    parameter.
4596
                                  type: string
4597
                                maglev:
4598
                                  description: The Maglev load balancer implements
4599
                                    consistent hashing to backend hosts.
4600
                                  properties:
4601
                                    tableSize:
4602
                                      description: The table size for Maglev hashing.
4603
                                      type: integer
4604
                                  type: object
4605
                                minimumRingSize:
4606
                                  description: Deprecated.
4607
                                  type: integer
4608
                                ringHash:
4609
                                  description: The ring/modulo hash load balancer
4610
                                    implements consistent hashing to backend hosts.
4611
                                  properties:
4612
                                    minimumRingSize:
4613
                                      description: The minimum number of virtual nodes
4614
                                        to use for the hash ring.
4615
                                      type: integer
4616
                                  type: object
4617
                                useSourceIp:
4618
                                  description: Hash based on the source IP address.
4619
                                  type: boolean
4620
                              type: object
4621
                            localityLbSetting:
4622
                              properties:
4623
                                distribute:
4624
                                  description: 'Optional: only one of distribute,
4625
                                    failover or failoverPriority can be set.'
4626
                                  items:
4627
                                    properties:
4628
                                      from:
4629
                                        description: Originating locality, '/' separated,
4630
                                          e.g.
4631
                                        type: string
4632
                                      to:
4633
                                        additionalProperties:
4634
                                          type: integer
4635
                                        description: Map of upstream localities to
4636
                                          traffic distribution weights.
4637
                                        type: object
4638
                                    type: object
4639
                                  type: array
4640
                                enabled:
4641
                                  description: enable locality load balancing, this
4642
                                    is DestinationRule-level and will override mesh
4643
                                    wide settings in entirety.
4644
                                  nullable: true
4645
                                  type: boolean
4646
                                failover:
4647
                                  description: 'Optional: only one of distribute,
4648
                                    failover or failoverPriority can be set.'
4649
                                  items:
4650
                                    properties:
4651
                                      from:
4652
                                        description: Originating region.
4653
                                        type: string
4654
                                      to:
4655
                                        description: Destination region the traffic
4656
                                          will fail over to when endpoints in the
4657
                                          'from' region becomes unhealthy.
4658
                                        type: string
4659
                                    type: object
4660
                                  type: array
4661
                                failoverPriority:
4662
                                  description: failoverPriority is an ordered list
4663
                                    of labels used to sort endpoints to do priority
4664
                                    based load balancing.
4665
                                  items:
4666
                                    type: string
4667
                                  type: array
4668
                              type: object
4669
                            simple:
4670
                              description: |2-
4671

4672

4673
                                Valid Options: LEAST_CONN, RANDOM, PASSTHROUGH, ROUND_ROBIN, LEAST_REQUEST
4674
                              enum:
4675
                              - UNSPECIFIED
4676
                              - LEAST_CONN
4677
                              - RANDOM
4678
                              - PASSTHROUGH
4679
                              - ROUND_ROBIN
4680
                              - LEAST_REQUEST
4681
                              type: string
4682
                            warmupDurationSecs:
4683
                              description: Represents the warmup duration of Service.
4684
                              type: string
4685
                          type: object
4686
                        outlierDetection:
4687
                          properties:
4688
                            baseEjectionTime:
4689
                              description: Minimum ejection duration.
4690
                              type: string
4691
                            consecutive5xxErrors:
4692
                              description: Number of 5xx errors before a host is ejected
4693
                                from the connection pool.
4694
                              nullable: true
4695
                              type: integer
4696
                            consecutiveErrors:
4697
                              format: int32
4698
                              type: integer
4699
                            consecutiveGatewayErrors:
4700
                              description: Number of gateway errors before a host
4701
                                is ejected from the connection pool.
4702
                              nullable: true
4703
                              type: integer
4704
                            consecutiveLocalOriginFailures:
4705
                              description: The number of consecutive locally originated
4706
                                failures before ejection occurs.
4707
                              nullable: true
4708
                              type: integer
4709
                            interval:
4710
                              description: Time interval between ejection sweep analysis.
4711
                              type: string
4712
                            maxEjectionPercent:
4713
                              description: Maximum % of hosts in the load balancing
4714
                                pool for the upstream service that can be ejected.
4715
                              format: int32
4716
                              type: integer
4717
                            minHealthPercent:
4718
                              description: Outlier detection will be enabled as long
4719
                                as the associated load balancing pool has at least
4720
                                min_health_percent hosts in healthy mode.
4721
                              format: int32
4722
                              type: integer
4723
                            splitExternalLocalOriginErrors:
4724
                              description: Determines whether to distinguish local
4725
                                origin failures from external errors.
4726
                              type: boolean
4727
                          type: object
4728
                        port:
4729
                          description: Specifies the number of a port on the destination
4730
                            service on which this policy is being applied.
4731
                          properties:
4732
                            number:
4733
                              type: integer
4734
                          type: object
4735
                        tls:
4736
                          description: TLS related settings for connections to the
4737
                            upstream service.
4738
                          properties:
4739
                            caCertificates:
4740
                              description: 'OPTIONAL: The path to the file containing
4741
                                certificate authority certificates to use in verifying
4742
                                a presented server certificate.'
4743
                              type: string
4744
                            caCrl:
4745
                              description: 'OPTIONAL: The path to the file containing
4746
                                the certificate revocation list (CRL) to use in verifying
4747
                                a presented server certificate.'
4748
                              type: string
4749
                            clientCertificate:
4750
                              description: REQUIRED if mode is `MUTUAL`.
4751
                              type: string
4752
                            credentialName:
4753
                              description: The name of the secret that holds the TLS
4754
                                certs for the client including the CA certificates.
4755
                              type: string
4756
                            insecureSkipVerify:
4757
                              description: '`insecureSkipVerify` specifies whether
4758
                                the proxy should skip verifying the CA signature and
4759
                                SAN for the server certificate corresponding to the
4760
                                host.'
4761
                              nullable: true
4762
                              type: boolean
4763
                            mode:
4764
                              description: |-
4765
                                Indicates whether connections to this port should be secured using TLS.
4766

4767
                                Valid Options: DISABLE, SIMPLE, MUTUAL, ISTIO_MUTUAL
4768
                              enum:
4769
                              - DISABLE
4770
                              - SIMPLE
4771
                              - MUTUAL
4772
                              - ISTIO_MUTUAL
4773
                              type: string
4774
                            privateKey:
4775
                              description: REQUIRED if mode is `MUTUAL`.
4776
                              type: string
4777
                            sni:
4778
                              description: SNI string to present to the server during
4779
                                TLS handshake.
4780
                              type: string
4781
                            subjectAltNames:
4782
                              description: A list of alternate names to verify the
4783
                                subject identity in the certificate.
4784
                              items:
4785
                                type: string
4786
                              type: array
4787
                          type: object
4788
                      type: object
4789
                    type: array
4790
                  proxyProtocol:
4791
                    description: The upstream PROXY protocol settings.
4792
                    properties:
4793
                      version:
4794
                        description: |-
4795
                          The PROXY protocol version to use.
4796

4797
                          Valid Options: V1, V2
4798
                        enum:
4799
                        - V1
4800
                        - V2
4801
                        type: string
4802
                    type: object
4803
                  tls:
4804
                    description: TLS related settings for connections to the upstream
4805
                      service.
4806
                    properties:
4807
                      caCertificates:
4808
                        description: 'OPTIONAL: The path to the file containing certificate
4809
                          authority certificates to use in verifying a presented server
4810
                          certificate.'
4811
                        type: string
4812
                      caCrl:
4813
                        description: 'OPTIONAL: The path to the file containing the
4814
                          certificate revocation list (CRL) to use in verifying a
4815
                          presented server certificate.'
4816
                        type: string
4817
                      clientCertificate:
4818
                        description: REQUIRED if mode is `MUTUAL`.
4819
                        type: string
4820
                      credentialName:
4821
                        description: The name of the secret that holds the TLS certs
4822
                          for the client including the CA certificates.
4823
                        type: string
4824
                      insecureSkipVerify:
4825
                        description: '`insecureSkipVerify` specifies whether the proxy
4826
                          should skip verifying the CA signature and SAN for the server
4827
                          certificate corresponding to the host.'
4828
                        nullable: true
4829
                        type: boolean
4830
                      mode:
4831
                        description: |-
4832
                          Indicates whether connections to this port should be secured using TLS.
4833

4834
                          Valid Options: DISABLE, SIMPLE, MUTUAL, ISTIO_MUTUAL
4835
                        enum:
4836
                        - DISABLE
4837
                        - SIMPLE
4838
                        - MUTUAL
4839
                        - ISTIO_MUTUAL
4840
                        type: string
4841
                      privateKey:
4842
                        description: REQUIRED if mode is `MUTUAL`.
4843
                        type: string
4844
                      sni:
4845
                        description: SNI string to present to the server during TLS
4846
                          handshake.
4847
                        type: string
4848
                      subjectAltNames:
4849
                        description: A list of alternate names to verify the subject
4850
                          identity in the certificate.
4851
                        items:
4852
                          type: string
4853
                        type: array
4854
                    type: object
4855
                  tunnel:
4856
                    description: Configuration of tunneling TCP over other transport
4857
                      or application layers for the host configured in the DestinationRule.
4858
                    properties:
4859
                      protocol:
4860
                        description: Specifies which protocol to use for tunneling
4861
                          the downstream connection.
4862
                        type: string
4863
                      targetHost:
4864
                        description: Specifies a host to which the downstream connection
4865
                          is tunneled.
4866
                        type: string
4867
                      targetPort:
4868
                        description: Specifies a port to which the downstream connection
4869
                          is tunneled.
4870
                        type: integer
4871
                    required:
4872
                    - targetHost
4873
                    - targetPort
4874
                    type: object
4875
                type: object
4876
              workloadSelector:
4877
                description: Criteria used to select the specific set of pods/VMs
4878
                  on which this `DestinationRule` configuration should be applied.
4879
                properties:
4880
                  matchLabels:
4881
                    additionalProperties:
4882
                      type: string
4883
                    description: One or more labels that indicate a specific set of
4884
                      pods/VMs on which a policy should be applied.
4885
                    type: object
4886
                type: object
4887
            required:
4888
            - host
4889
            type: object
4890
          status:
4891
            type: object
4892
            x-kubernetes-preserve-unknown-fields: true
4893
        type: object
4894
    served: true
4895
    storage: true
4896
    subresources:
4897
      status: {}
4898
---
4899
apiVersion: apiextensions.k8s.io/v1
4900
kind: CustomResourceDefinition
4901
metadata:
4902
  annotations:
4903
    "helm.sh/resource-policy": keep
4904
  labels:
4905
    app: istio-pilot
4906
    chart: istio
4907
    heritage: Tiller
4908
    release: istio
4909
  name: envoyfilters.networking.istio.io
4910
spec:
4911
  group: networking.istio.io
4912
  names:
4913
    categories:
4914
    - istio-io
4915
    - networking-istio-io
4916
    kind: EnvoyFilter
4917
    listKind: EnvoyFilterList
4918
    plural: envoyfilters
4919
    singular: envoyfilter
4920
  scope: Namespaced
4921
  versions:
4922
  - name: v1alpha3
4923
    schema:
4924
      openAPIV3Schema:
4925
        properties:
4926
          spec:
4927
            description: 'Customizing Envoy configuration generated by Istio. See
4928
              more details at: https://istio.io/docs/reference/config/networking/envoy-filter.html'
4929
            properties:
4930
              configPatches:
4931
                description: One or more patches with match conditions.
4932
                items:
4933
                  properties:
4934
                    applyTo:
4935
                      description: |-
4936
                        Specifies where in the Envoy configuration, the patch should be applied.
4937

4938
                        Valid Options: LISTENER, FILTER_CHAIN, NETWORK_FILTER, HTTP_FILTER, ROUTE_CONFIGURATION, VIRTUAL_HOST, HTTP_ROUTE, CLUSTER, EXTENSION_CONFIG, BOOTSTRAP, LISTENER_FILTER
4939
                      enum:
4940
                      - INVALID
4941
                      - LISTENER
4942
                      - FILTER_CHAIN
4943
                      - NETWORK_FILTER
4944
                      - HTTP_FILTER
4945
                      - ROUTE_CONFIGURATION
4946
                      - VIRTUAL_HOST
4947
                      - HTTP_ROUTE
4948
                      - CLUSTER
4949
                      - EXTENSION_CONFIG
4950
                      - BOOTSTRAP
4951
                      - LISTENER_FILTER
4952
                      type: string
4953
                    match:
4954
                      description: Match on listener/route configuration/cluster.
4955
                      oneOf:
4956
                      - not:
4957
                          anyOf:
4958
                          - required:
4959
                            - listener
4960
                          - required:
4961
                            - routeConfiguration
4962
                          - required:
4963
                            - cluster
4964
                      - required:
4965
                        - listener
4966
                      - required:
4967
                        - routeConfiguration
4968
                      - required:
4969
                        - cluster
4970
                      properties:
4971
                        cluster:
4972
                          description: Match on envoy cluster attributes.
4973
                          properties:
4974
                            name:
4975
                              description: The exact name of the cluster to match.
4976
                              type: string
4977
                            portNumber:
4978
                              description: The service port for which this cluster
4979
                                was generated.
4980
                              type: integer
4981
                            service:
4982
                              description: The fully qualified service name for this
4983
                                cluster.
4984
                              type: string
4985
                            subset:
4986
                              description: The subset associated with the service.
4987
                              type: string
4988
                          type: object
4989
                        context:
4990
                          description: |-
4991
                            The specific config generation context to match on.
4992

4993
                            Valid Options: ANY, SIDECAR_INBOUND, SIDECAR_OUTBOUND, GATEWAY
4994
                          enum:
4995
                          - ANY
4996
                          - SIDECAR_INBOUND
4997
                          - SIDECAR_OUTBOUND
4998
                          - GATEWAY
4999
                          type: string
5000
                        listener:
5001
                          description: Match on envoy listener attributes.
5002
                          properties:
5003
                            filterChain:
5004
                              description: Match a specific filter chain in a listener.
5005
                              properties:
5006
                                applicationProtocols:
5007
                                  description: Applies only to sidecars.
5008
                                  type: string
5009
                                destinationPort:
5010
                                  description: The destination_port value used by
5011
                                    a filter chain's match condition.
5012
                                  type: integer
5013
                                filter:
5014
                                  description: The name of a specific filter to apply
5015
                                    the patch to.
5016
                                  properties:
5017
                                    name:
5018
                                      description: The filter name to match on.
5019
                                      type: string
5020
                                    subFilter:
5021
                                      description: The next level filter within this
5022
                                        filter to match upon.
5023
                                      properties:
5024
                                        name:
5025
                                          description: The filter name to match on.
5026
                                          type: string
5027
                                      type: object
5028
                                  type: object
5029
                                name:
5030
                                  description: The name assigned to the filter chain.
5031
                                  type: string
5032
                                sni:
5033
                                  description: The SNI value used by a filter chain's
5034
                                    match condition.
5035
                                  type: string
5036
                                transportProtocol:
5037
                                  description: Applies only to `SIDECAR_INBOUND` context.
5038
                                  type: string
5039
                              type: object
5040
                            listenerFilter:
5041
                              description: Match a specific listener filter.
5042
                              type: string
5043
                            name:
5044
                              description: Match a specific listener by its name.
5045
                              type: string
5046
                            portName:
5047
                              type: string
5048
                            portNumber:
5049
                              description: The service port/gateway port to which
5050
                                traffic is being sent/received.
5051
                              type: integer
5052
                          type: object
5053
                        proxy:
5054
                          description: Match on properties associated with a proxy.
5055
                          properties:
5056
                            metadata:
5057
                              additionalProperties:
5058
                                type: string
5059
                              description: Match on the node metadata supplied by
5060
                                a proxy when connecting to Istio Pilot.
5061
                              type: object
5062
                            proxyVersion:
5063
                              description: A regular expression in golang regex format
5064
                                (RE2) that can be used to select proxies using a specific
5065
                                version of istio proxy.
5066
                              type: string
5067
                          type: object
5068
                        routeConfiguration:
5069
                          description: Match on envoy HTTP route configuration attributes.
5070
                          properties:
5071
                            gateway:
5072
                              description: The Istio gateway config's namespace/name
5073
                                for which this route configuration was generated.
5074
                              type: string
5075
                            name:
5076
                              description: Route configuration name to match on.
5077
                              type: string
5078
                            portName:
5079
                              description: Applicable only for GATEWAY context.
5080
                              type: string
5081
                            portNumber:
5082
                              description: The service port number or gateway server
5083
                                port number for which this route configuration was
5084
                                generated.
5085
                              type: integer
5086
                            vhost:
5087
                              description: Match a specific virtual host in a route
5088
                                configuration and apply the patch to the virtual host.
5089
                              properties:
5090
                                name:
5091
                                  description: The VirtualHosts objects generated
5092
                                    by Istio are named as host:port, where the host
5093
                                    typically corresponds to the VirtualService's
5094
                                    host field or the hostname of a service in the
5095
                                    registry.
5096
                                  type: string
5097
                                route:
5098
                                  description: Match a specific route within the virtual
5099
                                    host.
5100
                                  properties:
5101
                                    action:
5102
                                      description: |-
5103
                                        Match a route with specific action type.
5104

5105
                                        Valid Options: ANY, ROUTE, REDIRECT, DIRECT_RESPONSE
5106
                                      enum:
5107
                                      - ANY
5108
                                      - ROUTE
5109
                                      - REDIRECT
5110
                                      - DIRECT_RESPONSE
5111
                                      type: string
5112
                                    name:
5113
                                      description: The Route objects generated by
5114
                                        default are named as default.
5115
                                      type: string
5116
                                  type: object
5117
                              type: object
5118
                          type: object
5119
                      type: object
5120
                    patch:
5121
                      description: The patch to apply along with the operation.
5122
                      properties:
5123
                        filterClass:
5124
                          description: |-
5125
                            Determines the filter insertion order.
5126

5127
                            Valid Options: AUTHN, AUTHZ, STATS
5128
                          enum:
5129
                          - UNSPECIFIED
5130
                          - AUTHN
5131
                          - AUTHZ
5132
                          - STATS
5133
                          type: string
5134
                        operation:
5135
                          description: |-
5136
                            Determines how the patch should be applied.
5137

5138
                            Valid Options: MERGE, ADD, REMOVE, INSERT_BEFORE, INSERT_AFTER, INSERT_FIRST, REPLACE
5139
                          enum:
5140
                          - INVALID
5141
                          - MERGE
5142
                          - ADD
5143
                          - REMOVE
5144
                          - INSERT_BEFORE
5145
                          - INSERT_AFTER
5146
                          - INSERT_FIRST
5147
                          - REPLACE
5148
                          type: string
5149
                        value:
5150
                          description: The JSON config of the object being patched.
5151
                          type: object
5152
                          x-kubernetes-preserve-unknown-fields: true
5153
                      type: object
5154
                  type: object
5155
                type: array
5156
              priority:
5157
                description: Priority defines the order in which patch sets are applied
5158
                  within a context.
5159
                format: int32
5160
                type: integer
5161
              workloadSelector:
5162
                description: Criteria used to select the specific set of pods/VMs
5163
                  on which this patch configuration should be applied.
5164
                properties:
5165
                  labels:
5166
                    additionalProperties:
5167
                      type: string
5168
                    description: One or more labels that indicate a specific set of
5169
                      pods/VMs on which the configuration should be applied.
5170
                    type: object
5171
                type: object
5172
            type: object
5173
          status:
5174
            type: object
5175
            x-kubernetes-preserve-unknown-fields: true
5176
        type: object
5177
    served: true
5178
    storage: true
5179
    subresources:
5180
      status: {}
5181
---
5182
apiVersion: apiextensions.k8s.io/v1
5183
kind: CustomResourceDefinition
5184
metadata:
5185
  annotations:
5186
    "helm.sh/resource-policy": keep
5187
  labels:
5188
    app: istio-pilot
5189
    chart: istio
5190
    heritage: Tiller
5191
    release: istio
5192
  name: gateways.networking.istio.io
5193
spec:
5194
  group: networking.istio.io
5195
  names:
5196
    categories:
5197
    - istio-io
5198
    - networking-istio-io
5199
    kind: Gateway
5200
    listKind: GatewayList
5201
    plural: gateways
5202
    shortNames:
5203
    - gw
5204
    singular: gateway
5205
  scope: Namespaced
5206
  versions:
5207
  - name: v1
5208
    schema:
5209
      openAPIV3Schema:
5210
        properties:
5211
          spec:
5212
            description: 'Configuration affecting edge load balancer. See more details
5213
              at: https://istio.io/docs/reference/config/networking/gateway.html'
5214
            properties:
5215
              selector:
5216
                additionalProperties:
5217
                  type: string
5218
                description: One or more labels that indicate a specific set of pods/VMs
5219
                  on which this gateway configuration should be applied.
5220
                type: object
5221
              servers:
5222
                description: A list of server specifications.
5223
                items:
5224
                  properties:
5225
                    bind:
5226
                      description: The ip or the Unix domain socket to which the listener
5227
                        should be bound to.
5228
                      type: string
5229
                    defaultEndpoint:
5230
                      type: string
5231
                    hosts:
5232
                      description: One or more hosts exposed by this gateway.
5233
                      items:
5234
                        type: string
5235
                      type: array
5236
                    name:
5237
                      description: An optional name of the server, when set must be
5238
                        unique across all servers.
5239
                      type: string
5240
                    port:
5241
                      description: The Port on which the proxy should listen for incoming
5242
                        connections.
5243
                      properties:
5244
                        name:
5245
                          description: Label assigned to the port.
5246
                          type: string
5247
                        number:
5248
                          description: A valid non-negative integer port number.
5249
                          type: integer
5250
                        protocol:
5251
                          description: The protocol exposed on the port.
5252
                          type: string
5253
                        targetPort:
5254
                          type: integer
5255
                      required:
5256
                      - number
5257
                      - protocol
5258
                      - name
5259
                      type: object
5260
                    tls:
5261
                      description: Set of TLS related options that govern the server's
5262
                        behavior.
5263
                      properties:
5264
                        caCertificates:
5265
                          description: REQUIRED if mode is `MUTUAL` or `OPTIONAL_MUTUAL`.
5266
                          type: string
5267
                        caCrl:
5268
                          description: 'OPTIONAL: The path to the file containing
5269
                            the certificate revocation list (CRL) to use in verifying
5270
                            a presented client side certificate.'
5271
                          type: string
5272
                        cipherSuites:
5273
                          description: 'Optional: If specified, only support the specified
5274
                            cipher list.'
5275
                          items:
5276
                            type: string
5277
                          type: array
5278
                        credentialName:
5279
                          description: For gateways running on Kubernetes, the name
5280
                            of the secret that holds the TLS certs including the CA
5281
                            certificates.
5282
                          type: string
5283
                        httpsRedirect:
5284
                          description: If set to true, the load balancer will send
5285
                            a 301 redirect for all http connections, asking the clients
5286
                            to use HTTPS.
5287
                          type: boolean
5288
                        maxProtocolVersion:
5289
                          description: |-
5290
                            Optional: Maximum TLS protocol version.
5291

5292
                            Valid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3
5293
                          enum:
5294
                          - TLS_AUTO
5295
                          - TLSV1_0
5296
                          - TLSV1_1
5297
                          - TLSV1_2
5298
                          - TLSV1_3
5299
                          type: string
5300
                        minProtocolVersion:
5301
                          description: |-
5302
                            Optional: Minimum TLS protocol version.
5303

5304
                            Valid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3
5305
                          enum:
5306
                          - TLS_AUTO
5307
                          - TLSV1_0
5308
                          - TLSV1_1
5309
                          - TLSV1_2
5310
                          - TLSV1_3
5311
                          type: string
5312
                        mode:
5313
                          description: |-
5314
                            Optional: Indicates whether connections to this port should be secured using TLS.
5315

5316
                            Valid Options: PASSTHROUGH, SIMPLE, MUTUAL, AUTO_PASSTHROUGH, ISTIO_MUTUAL, OPTIONAL_MUTUAL
5317
                          enum:
5318
                          - PASSTHROUGH
5319
                          - SIMPLE
5320
                          - MUTUAL
5321
                          - AUTO_PASSTHROUGH
5322
                          - ISTIO_MUTUAL
5323
                          - OPTIONAL_MUTUAL
5324
                          type: string
5325
                        privateKey:
5326
                          description: REQUIRED if mode is `SIMPLE` or `MUTUAL`.
5327
                          type: string
5328
                        serverCertificate:
5329
                          description: REQUIRED if mode is `SIMPLE` or `MUTUAL`.
5330
                          type: string
5331
                        subjectAltNames:
5332
                          description: A list of alternate names to verify the subject
5333
                            identity in the certificate presented by the client.
5334
                          items:
5335
                            type: string
5336
                          type: array
5337
                        verifyCertificateHash:
5338
                          description: An optional list of hex-encoded SHA-256 hashes
5339
                            of the authorized client certificates.
5340
                          items:
5341
                            type: string
5342
                          type: array
5343
                        verifyCertificateSpki:
5344
                          description: An optional list of base64-encoded SHA-256
5345
                            hashes of the SPKIs of authorized client certificates.
5346
                          items:
5347
                            type: string
5348
                          type: array
5349
                      type: object
5350
                  required:
5351
                  - port
5352
                  - hosts
5353
                  type: object
5354
                type: array
5355
            type: object
5356
          status:
5357
            type: object
5358
            x-kubernetes-preserve-unknown-fields: true
5359
        type: object
5360
    served: true
5361
    storage: false
5362
    subresources:
5363
      status: {}
5364
  - name: v1alpha3
5365
    schema:
5366
      openAPIV3Schema:
5367
        properties:
5368
          spec:
5369
            description: 'Configuration affecting edge load balancer. See more details
5370
              at: https://istio.io/docs/reference/config/networking/gateway.html'
5371
            properties:
5372
              selector:
5373
                additionalProperties:
5374
                  type: string
5375
                description: One or more labels that indicate a specific set of pods/VMs
5376
                  on which this gateway configuration should be applied.
5377
                type: object
5378
              servers:
5379
                description: A list of server specifications.
5380
                items:
5381
                  properties:
5382
                    bind:
5383
                      description: The ip or the Unix domain socket to which the listener
5384
                        should be bound to.
5385
                      type: string
5386
                    defaultEndpoint:
5387
                      type: string
5388
                    hosts:
5389
                      description: One or more hosts exposed by this gateway.
5390
                      items:
5391
                        type: string
5392
                      type: array
5393
                    name:
5394
                      description: An optional name of the server, when set must be
5395
                        unique across all servers.
5396
                      type: string
5397
                    port:
5398
                      description: The Port on which the proxy should listen for incoming
5399
                        connections.
5400
                      properties:
5401
                        name:
5402
                          description: Label assigned to the port.
5403
                          type: string
5404
                        number:
5405
                          description: A valid non-negative integer port number.
5406
                          type: integer
5407
                        protocol:
5408
                          description: The protocol exposed on the port.
5409
                          type: string
5410
                        targetPort:
5411
                          type: integer
5412
                      required:
5413
                      - number
5414
                      - protocol
5415
                      - name
5416
                      type: object
5417
                    tls:
5418
                      description: Set of TLS related options that govern the server's
5419
                        behavior.
5420
                      properties:
5421
                        caCertificates:
5422
                          description: REQUIRED if mode is `MUTUAL` or `OPTIONAL_MUTUAL`.
5423
                          type: string
5424
                        caCrl:
5425
                          description: 'OPTIONAL: The path to the file containing
5426
                            the certificate revocation list (CRL) to use in verifying
5427
                            a presented client side certificate.'
5428
                          type: string
5429
                        cipherSuites:
5430
                          description: 'Optional: If specified, only support the specified
5431
                            cipher list.'
5432
                          items:
5433
                            type: string
5434
                          type: array
5435
                        credentialName:
5436
                          description: For gateways running on Kubernetes, the name
5437
                            of the secret that holds the TLS certs including the CA
5438
                            certificates.
5439
                          type: string
5440
                        httpsRedirect:
5441
                          description: If set to true, the load balancer will send
5442
                            a 301 redirect for all http connections, asking the clients
5443
                            to use HTTPS.
5444
                          type: boolean
5445
                        maxProtocolVersion:
5446
                          description: |-
5447
                            Optional: Maximum TLS protocol version.
5448

5449
                            Valid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3
5450
                          enum:
5451
                          - TLS_AUTO
5452
                          - TLSV1_0
5453
                          - TLSV1_1
5454
                          - TLSV1_2
5455
                          - TLSV1_3
5456
                          type: string
5457
                        minProtocolVersion:
5458
                          description: |-
5459
                            Optional: Minimum TLS protocol version.
5460

5461
                            Valid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3
5462
                          enum:
5463
                          - TLS_AUTO
5464
                          - TLSV1_0
5465
                          - TLSV1_1
5466
                          - TLSV1_2
5467
                          - TLSV1_3
5468
                          type: string
5469
                        mode:
5470
                          description: |-
5471
                            Optional: Indicates whether connections to this port should be secured using TLS.
5472

5473
                            Valid Options: PASSTHROUGH, SIMPLE, MUTUAL, AUTO_PASSTHROUGH, ISTIO_MUTUAL, OPTIONAL_MUTUAL
5474
                          enum:
5475
                          - PASSTHROUGH
5476
                          - SIMPLE
5477
                          - MUTUAL
5478
                          - AUTO_PASSTHROUGH
5479
                          - ISTIO_MUTUAL
5480
                          - OPTIONAL_MUTUAL
5481
                          type: string
5482
                        privateKey:
5483
                          description: REQUIRED if mode is `SIMPLE` or `MUTUAL`.
5484
                          type: string
5485
                        serverCertificate:
5486
                          description: REQUIRED if mode is `SIMPLE` or `MUTUAL`.
5487
                          type: string
5488
                        subjectAltNames:
5489
                          description: A list of alternate names to verify the subject
5490
                            identity in the certificate presented by the client.
5491
                          items:
5492
                            type: string
5493
                          type: array
5494
                        verifyCertificateHash:
5495
                          description: An optional list of hex-encoded SHA-256 hashes
5496
                            of the authorized client certificates.
5497
                          items:
5498
                            type: string
5499
                          type: array
5500
                        verifyCertificateSpki:
5501
                          description: An optional list of base64-encoded SHA-256
5502
                            hashes of the SPKIs of authorized client certificates.
5503
                          items:
5504
                            type: string
5505
                          type: array
5506
                      type: object
5507
                  required:
5508
                  - port
5509
                  - hosts
5510
                  type: object
5511
                type: array
5512
            type: object
5513
          status:
5514
            type: object
5515
            x-kubernetes-preserve-unknown-fields: true
5516
        type: object
5517
    served: true
5518
    storage: false
5519
    subresources:
5520
      status: {}
5521
  - name: v1beta1
5522
    schema:
5523
      openAPIV3Schema:
5524
        properties:
5525
          spec:
5526
            description: 'Configuration affecting edge load balancer. See more details
5527
              at: https://istio.io/docs/reference/config/networking/gateway.html'
5528
            properties:
5529
              selector:
5530
                additionalProperties:
5531
                  type: string
5532
                description: One or more labels that indicate a specific set of pods/VMs
5533
                  on which this gateway configuration should be applied.
5534
                type: object
5535
              servers:
5536
                description: A list of server specifications.
5537
                items:
5538
                  properties:
5539
                    bind:
5540
                      description: The ip or the Unix domain socket to which the listener
5541
                        should be bound to.
5542
                      type: string
5543
                    defaultEndpoint:
5544
                      type: string
5545
                    hosts:
5546
                      description: One or more hosts exposed by this gateway.
5547
                      items:
5548
                        type: string
5549
                      type: array
5550
                    name:
5551
                      description: An optional name of the server, when set must be
5552
                        unique across all servers.
5553
                      type: string
5554
                    port:
5555
                      description: The Port on which the proxy should listen for incoming
5556
                        connections.
5557
                      properties:
5558
                        name:
5559
                          description: Label assigned to the port.
5560
                          type: string
5561
                        number:
5562
                          description: A valid non-negative integer port number.
5563
                          type: integer
5564
                        protocol:
5565
                          description: The protocol exposed on the port.
5566
                          type: string
5567
                        targetPort:
5568
                          type: integer
5569
                      required:
5570
                      - number
5571
                      - protocol
5572
                      - name
5573
                      type: object
5574
                    tls:
5575
                      description: Set of TLS related options that govern the server's
5576
                        behavior.
5577
                      properties:
5578
                        caCertificates:
5579
                          description: REQUIRED if mode is `MUTUAL` or `OPTIONAL_MUTUAL`.
5580
                          type: string
5581
                        caCrl:
5582
                          description: 'OPTIONAL: The path to the file containing
5583
                            the certificate revocation list (CRL) to use in verifying
5584
                            a presented client side certificate.'
5585
                          type: string
5586
                        cipherSuites:
5587
                          description: 'Optional: If specified, only support the specified
5588
                            cipher list.'
5589
                          items:
5590
                            type: string
5591
                          type: array
5592
                        credentialName:
5593
                          description: For gateways running on Kubernetes, the name
5594
                            of the secret that holds the TLS certs including the CA
5595
                            certificates.
5596
                          type: string
5597
                        httpsRedirect:
5598
                          description: If set to true, the load balancer will send
5599
                            a 301 redirect for all http connections, asking the clients
5600
                            to use HTTPS.
5601
                          type: boolean
5602
                        maxProtocolVersion:
5603
                          description: |-
5604
                            Optional: Maximum TLS protocol version.
5605

5606
                            Valid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3
5607
                          enum:
5608
                          - TLS_AUTO
5609
                          - TLSV1_0
5610
                          - TLSV1_1
5611
                          - TLSV1_2
5612
                          - TLSV1_3
5613
                          type: string
5614
                        minProtocolVersion:
5615
                          description: |-
5616
                            Optional: Minimum TLS protocol version.
5617

5618
                            Valid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3
5619
                          enum:
5620
                          - TLS_AUTO
5621
                          - TLSV1_0
5622
                          - TLSV1_1
5623
                          - TLSV1_2
5624
                          - TLSV1_3
5625
                          type: string
5626
                        mode:
5627
                          description: |-
5628
                            Optional: Indicates whether connections to this port should be secured using TLS.
5629

5630
                            Valid Options: PASSTHROUGH, SIMPLE, MUTUAL, AUTO_PASSTHROUGH, ISTIO_MUTUAL, OPTIONAL_MUTUAL
5631
                          enum:
5632
                          - PASSTHROUGH
5633
                          - SIMPLE
5634
                          - MUTUAL
5635
                          - AUTO_PASSTHROUGH
5636
                          - ISTIO_MUTUAL
5637
                          - OPTIONAL_MUTUAL
5638
                          type: string
5639
                        privateKey:
5640
                          description: REQUIRED if mode is `SIMPLE` or `MUTUAL`.
5641
                          type: string
5642
                        serverCertificate:
5643
                          description: REQUIRED if mode is `SIMPLE` or `MUTUAL`.
5644
                          type: string
5645
                        subjectAltNames:
5646
                          description: A list of alternate names to verify the subject
5647
                            identity in the certificate presented by the client.
5648
                          items:
5649
                            type: string
5650
                          type: array
5651
                        verifyCertificateHash:
5652
                          description: An optional list of hex-encoded SHA-256 hashes
5653
                            of the authorized client certificates.
5654
                          items:
5655
                            type: string
5656
                          type: array
5657
                        verifyCertificateSpki:
5658
                          description: An optional list of base64-encoded SHA-256
5659
                            hashes of the SPKIs of authorized client certificates.
5660
                          items:
5661
                            type: string
5662
                          type: array
5663
                      type: object
5664
                  required:
5665
                  - port
5666
                  - hosts
5667
                  type: object
5668
                type: array
5669
            type: object
5670
          status:
5671
            type: object
5672
            x-kubernetes-preserve-unknown-fields: true
5673
        type: object
5674
    served: true
5675
    storage: true
5676
    subresources:
5677
      status: {}
5678
---
5679
apiVersion: apiextensions.k8s.io/v1
5680
kind: CustomResourceDefinition
5681
metadata:
5682
  annotations:
5683
    "helm.sh/resource-policy": keep
5684
  labels:
5685
    app: istio-pilot
5686
    chart: istio
5687
    heritage: Tiller
5688
    release: istio
5689
  name: proxyconfigs.networking.istio.io
5690
spec:
5691
  group: networking.istio.io
5692
  names:
5693
    categories:
5694
    - istio-io
5695
    - networking-istio-io
5696
    kind: ProxyConfig
5697
    listKind: ProxyConfigList
5698
    plural: proxyconfigs
5699
    singular: proxyconfig
5700
  scope: Namespaced
5701
  versions:
5702
  - name: v1beta1
5703
    schema:
5704
      openAPIV3Schema:
5705
        properties:
5706
          spec:
5707
            description: 'Provides configuration for individual workloads. See more
5708
              details at: https://istio.io/docs/reference/config/networking/proxy-config.html'
5709
            properties:
5710
              concurrency:
5711
                description: The number of worker threads to run.
5712
                nullable: true
5713
                type: integer
5714
              environmentVariables:
5715
                additionalProperties:
5716
                  type: string
5717
                description: Additional environment variables for the proxy.
5718
                type: object
5719
              image:
5720
                description: Specifies the details of the proxy image.
5721
                properties:
5722
                  imageType:
5723
                    description: The image type of the image.
5724
                    type: string
5725
                type: object
5726
              selector:
5727
                description: Optional.
5728
                properties:
5729
                  matchLabels:
5730
                    additionalProperties:
5731
                      type: string
5732
                    description: One or more labels that indicate a specific set of
5733
                      pods/VMs on which a policy should be applied.
5734
                    type: object
5735
                type: object
5736
            type: object
5737
          status:
5738
            type: object
5739
            x-kubernetes-preserve-unknown-fields: true
5740
        type: object
5741
    served: true
5742
    storage: true
5743
    subresources:
5744
      status: {}
5745
---
5746
apiVersion: apiextensions.k8s.io/v1
5747
kind: CustomResourceDefinition
5748
metadata:
5749
  annotations:
5750
    "helm.sh/resource-policy": keep
5751
  labels:
5752
    app: istio-pilot
5753
    chart: istio
5754
    heritage: Tiller
5755
    release: istio
5756
  name: serviceentries.networking.istio.io
5757
spec:
5758
  group: networking.istio.io
5759
  names:
5760
    categories:
5761
    - istio-io
5762
    - networking-istio-io
5763
    kind: ServiceEntry
5764
    listKind: ServiceEntryList
5765
    plural: serviceentries
5766
    shortNames:
5767
    - se
5768
    singular: serviceentry
5769
  scope: Namespaced
5770
  versions:
5771
  - additionalPrinterColumns:
5772
    - description: The hosts associated with the ServiceEntry
5773
      jsonPath: .spec.hosts
5774
      name: Hosts
5775
      type: string
5776
    - description: Whether the service is external to the mesh or part of the mesh
5777
        (MESH_EXTERNAL or MESH_INTERNAL)
5778
      jsonPath: .spec.location
5779
      name: Location
5780
      type: string
5781
    - description: Service resolution mode for the hosts (NONE, STATIC, or DNS)
5782
      jsonPath: .spec.resolution
5783
      name: Resolution
5784
      type: string
5785
    - description: 'CreationTimestamp is a timestamp representing the server time
5786
        when this object was created. It is not guaranteed to be set in happens-before
5787
        order across separate operations. Clients may not set this value. It is represented
5788
        in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for
5789
        lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
5790
      jsonPath: .metadata.creationTimestamp
5791
      name: Age
5792
      type: date
5793
    name: v1
5794
    schema:
5795
      openAPIV3Schema:
5796
        properties:
5797
          spec:
5798
            description: 'Configuration affecting service registry. See more details
5799
              at: https://istio.io/docs/reference/config/networking/service-entry.html'
5800
            properties:
5801
              addresses:
5802
                description: The virtual IP addresses associated with the service.
5803
                items:
5804
                  type: string
5805
                type: array
5806
              endpoints:
5807
                description: One or more endpoints associated with the service.
5808
                items:
5809
                  properties:
5810
                    address:
5811
                      description: Address associated with the network endpoint without
5812
                        the port.
5813
                      type: string
5814
                    labels:
5815
                      additionalProperties:
5816
                        type: string
5817
                      description: One or more labels associated with the endpoint.
5818
                      type: object
5819
                    locality:
5820
                      description: The locality associated with the endpoint.
5821
                      type: string
5822
                    network:
5823
                      description: Network enables Istio to group endpoints resident
5824
                        in the same L3 domain/network.
5825
                      type: string
5826
                    ports:
5827
                      additionalProperties:
5828
                        type: integer
5829
                      description: Set of ports associated with the endpoint.
5830
                      type: object
5831
                    serviceAccount:
5832
                      description: The service account associated with the workload
5833
                        if a sidecar is present in the workload.
5834
                      type: string
5835
                    weight:
5836
                      description: The load balancing weight associated with the endpoint.
5837
                      type: integer
5838
                  type: object
5839
                type: array
5840
              exportTo:
5841
                description: A list of namespaces to which this service is exported.
5842
                items:
5843
                  type: string
5844
                type: array
5845
              hosts:
5846
                description: The hosts associated with the ServiceEntry.
5847
                items:
5848
                  type: string
5849
                type: array
5850
              location:
5851
                description: |-
5852
                  Specify whether the service should be considered external to the mesh or part of the mesh.
5853

5854
                  Valid Options: MESH_EXTERNAL, MESH_INTERNAL
5855
                enum:
5856
                - MESH_EXTERNAL
5857
                - MESH_INTERNAL
5858
                type: string
5859
              ports:
5860
                description: The ports associated with the external service.
5861
                items:
5862
                  properties:
5863
                    name:
5864
                      description: Label assigned to the port.
5865
                      type: string
5866
                    number:
5867
                      description: A valid non-negative integer port number.
5868
                      type: integer
5869
                    protocol:
5870
                      description: The protocol exposed on the port.
5871
                      type: string
5872
                    targetPort:
5873
                      description: The port number on the endpoint where the traffic
5874
                        will be received.
5875
                      type: integer
5876
                  required:
5877
                  - number
5878
                  - name
5879
                  type: object
5880
                type: array
5881
              resolution:
5882
                description: |-
5883
                  Service resolution mode for the hosts.
5884

5885
                  Valid Options: NONE, STATIC, DNS, DNS_ROUND_ROBIN
5886
                enum:
5887
                - NONE
5888
                - STATIC
5889
                - DNS
5890
                - DNS_ROUND_ROBIN
5891
                type: string
5892
              subjectAltNames:
5893
                description: If specified, the proxy will verify that the server certificate's
5894
                  subject alternate name matches one of the specified values.
5895
                items:
5896
                  type: string
5897
                type: array
5898
              workloadSelector:
5899
                description: Applicable only for MESH_INTERNAL services.
5900
                properties:
5901
                  labels:
5902
                    additionalProperties:
5903
                      type: string
5904
                    description: One or more labels that indicate a specific set of
5905
                      pods/VMs on which the configuration should be applied.
5906
                    type: object
5907
                type: object
5908
            required:
5909
            - hosts
5910
            type: object
5911
          status:
5912
            type: object
5913
            x-kubernetes-preserve-unknown-fields: true
5914
        type: object
5915
    served: true
5916
    storage: false
5917
    subresources:
5918
      status: {}
5919
  - additionalPrinterColumns:
5920
    - description: The hosts associated with the ServiceEntry
5921
      jsonPath: .spec.hosts
5922
      name: Hosts
5923
      type: string
5924
    - description: Whether the service is external to the mesh or part of the mesh
5925
        (MESH_EXTERNAL or MESH_INTERNAL)
5926
      jsonPath: .spec.location
5927
      name: Location
5928
      type: string
5929
    - description: Service resolution mode for the hosts (NONE, STATIC, or DNS)
5930
      jsonPath: .spec.resolution
5931
      name: Resolution
5932
      type: string
5933
    - description: 'CreationTimestamp is a timestamp representing the server time
5934
        when this object was created. It is not guaranteed to be set in happens-before
5935
        order across separate operations. Clients may not set this value. It is represented
5936
        in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for
5937
        lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
5938
      jsonPath: .metadata.creationTimestamp
5939
      name: Age
5940
      type: date
5941
    name: v1alpha3
5942
    schema:
5943
      openAPIV3Schema:
5944
        properties:
5945
          spec:
5946
            description: 'Configuration affecting service registry. See more details
5947
              at: https://istio.io/docs/reference/config/networking/service-entry.html'
5948
            properties:
5949
              addresses:
5950
                description: The virtual IP addresses associated with the service.
5951
                items:
5952
                  type: string
5953
                type: array
5954
              endpoints:
5955
                description: One or more endpoints associated with the service.
5956
                items:
5957
                  properties:
5958
                    address:
5959
                      description: Address associated with the network endpoint without
5960
                        the port.
5961
                      type: string
5962
                    labels:
5963
                      additionalProperties:
5964
                        type: string
5965
                      description: One or more labels associated with the endpoint.
5966
                      type: object
5967
                    locality:
5968
                      description: The locality associated with the endpoint.
5969
                      type: string
5970
                    network:
5971
                      description: Network enables Istio to group endpoints resident
5972
                        in the same L3 domain/network.
5973
                      type: string
5974
                    ports:
5975
                      additionalProperties:
5976
                        type: integer
5977
                      description: Set of ports associated with the endpoint.
5978
                      type: object
5979
                    serviceAccount:
5980
                      description: The service account associated with the workload
5981
                        if a sidecar is present in the workload.
5982
                      type: string
5983
                    weight:
5984
                      description: The load balancing weight associated with the endpoint.
5985
                      type: integer
5986
                  type: object
5987
                type: array
5988
              exportTo:
5989
                description: A list of namespaces to which this service is exported.
5990
                items:
5991
                  type: string
5992
                type: array
5993
              hosts:
5994
                description: The hosts associated with the ServiceEntry.
5995
                items:
5996
                  type: string
5997
                type: array
5998
              location:
5999
                description: |-
6000
                  Specify whether the service should be considered external to the mesh or part of the mesh.
6001

6002
                  Valid Options: MESH_EXTERNAL, MESH_INTERNAL
6003
                enum:
6004
                - MESH_EXTERNAL
6005
                - MESH_INTERNAL
6006
                type: string
6007
              ports:
6008
                description: The ports associated with the external service.
6009
                items:
6010
                  properties:
6011
                    name:
6012
                      description: Label assigned to the port.
6013
                      type: string
6014
                    number:
6015
                      description: A valid non-negative integer port number.
6016
                      type: integer
6017
                    protocol:
6018
                      description: The protocol exposed on the port.
6019
                      type: string
6020
                    targetPort:
6021
                      description: The port number on the endpoint where the traffic
6022
                        will be received.
6023
                      type: integer
6024
                  required:
6025
                  - number
6026
                  - name
6027
                  type: object
6028
                type: array
6029
              resolution:
6030
                description: |-
6031
                  Service resolution mode for the hosts.
6032

6033
                  Valid Options: NONE, STATIC, DNS, DNS_ROUND_ROBIN
6034
                enum:
6035
                - NONE
6036
                - STATIC
6037
                - DNS
6038
                - DNS_ROUND_ROBIN
6039
                type: string
6040
              subjectAltNames:
6041
                description: If specified, the proxy will verify that the server certificate's
6042
                  subject alternate name matches one of the specified values.
6043
                items:
6044
                  type: string
6045
                type: array
6046
              workloadSelector:
6047
                description: Applicable only for MESH_INTERNAL services.
6048
                properties:
6049
                  labels:
6050
                    additionalProperties:
6051
                      type: string
6052
                    description: One or more labels that indicate a specific set of
6053
                      pods/VMs on which the configuration should be applied.
6054
                    type: object
6055
                type: object
6056
            required:
6057
            - hosts
6058
            type: object
6059
          status:
6060
            type: object
6061
            x-kubernetes-preserve-unknown-fields: true
6062
        type: object
6063
    served: true
6064
    storage: false
6065
    subresources:
6066
      status: {}
6067
  - additionalPrinterColumns:
6068
    - description: The hosts associated with the ServiceEntry
6069
      jsonPath: .spec.hosts
6070
      name: Hosts
6071
      type: string
6072
    - description: Whether the service is external to the mesh or part of the mesh
6073
        (MESH_EXTERNAL or MESH_INTERNAL)
6074
      jsonPath: .spec.location
6075
      name: Location
6076
      type: string
6077
    - description: Service resolution mode for the hosts (NONE, STATIC, or DNS)
6078
      jsonPath: .spec.resolution
6079
      name: Resolution
6080
      type: string
6081
    - description: 'CreationTimestamp is a timestamp representing the server time
6082
        when this object was created. It is not guaranteed to be set in happens-before
6083
        order across separate operations. Clients may not set this value. It is represented
6084
        in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for
6085
        lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
6086
      jsonPath: .metadata.creationTimestamp
6087
      name: Age
6088
      type: date
6089
    name: v1beta1
6090
    schema:
6091
      openAPIV3Schema:
6092
        properties:
6093
          spec:
6094
            description: 'Configuration affecting service registry. See more details
6095
              at: https://istio.io/docs/reference/config/networking/service-entry.html'
6096
            properties:
6097
              addresses:
6098
                description: The virtual IP addresses associated with the service.
6099
                items:
6100
                  type: string
6101
                type: array
6102
              endpoints:
6103
                description: One or more endpoints associated with the service.
6104
                items:
6105
                  properties:
6106
                    address:
6107
                      description: Address associated with the network endpoint without
6108
                        the port.
6109
                      type: string
6110
                    labels:
6111
                      additionalProperties:
6112
                        type: string
6113
                      description: One or more labels associated with the endpoint.
6114
                      type: object
6115
                    locality:
6116
                      description: The locality associated with the endpoint.
6117
                      type: string
6118
                    network:
6119
                      description: Network enables Istio to group endpoints resident
6120
                        in the same L3 domain/network.
6121
                      type: string
6122
                    ports:
6123
                      additionalProperties:
6124
                        type: integer
6125
                      description: Set of ports associated with the endpoint.
6126
                      type: object
6127
                    serviceAccount:
6128
                      description: The service account associated with the workload
6129
                        if a sidecar is present in the workload.
6130
                      type: string
6131
                    weight:
6132
                      description: The load balancing weight associated with the endpoint.
6133
                      type: integer
6134
                  type: object
6135
                type: array
6136
              exportTo:
6137
                description: A list of namespaces to which this service is exported.
6138
                items:
6139
                  type: string
6140
                type: array
6141
              hosts:
6142
                description: The hosts associated with the ServiceEntry.
6143
                items:
6144
                  type: string
6145
                type: array
6146
              location:
6147
                description: |-
6148
                  Specify whether the service should be considered external to the mesh or part of the mesh.
6149

6150
                  Valid Options: MESH_EXTERNAL, MESH_INTERNAL
6151
                enum:
6152
                - MESH_EXTERNAL
6153
                - MESH_INTERNAL
6154
                type: string
6155
              ports:
6156
                description: The ports associated with the external service.
6157
                items:
6158
                  properties:
6159
                    name:
6160
                      description: Label assigned to the port.
6161
                      type: string
6162
                    number:
6163
                      description: A valid non-negative integer port number.
6164
                      type: integer
6165
                    protocol:
6166
                      description: The protocol exposed on the port.
6167
                      type: string
6168
                    targetPort:
6169
                      description: The port number on the endpoint where the traffic
6170
                        will be received.
6171
                      type: integer
6172
                  required:
6173
                  - number
6174
                  - name
6175
                  type: object
6176
                type: array
6177
              resolution:
6178
                description: |-
6179
                  Service resolution mode for the hosts.
6180

6181
                  Valid Options: NONE, STATIC, DNS, DNS_ROUND_ROBIN
6182
                enum:
6183
                - NONE
6184
                - STATIC
6185
                - DNS
6186
                - DNS_ROUND_ROBIN
6187
                type: string
6188
              subjectAltNames:
6189
                description: If specified, the proxy will verify that the server certificate's
6190
                  subject alternate name matches one of the specified values.
6191
                items:
6192
                  type: string
6193
                type: array
6194
              workloadSelector:
6195
                description: Applicable only for MESH_INTERNAL services.
6196
                properties:
6197
                  labels:
6198
                    additionalProperties:
6199
                      type: string
6200
                    description: One or more labels that indicate a specific set of
6201
                      pods/VMs on which the configuration should be applied.
6202
                    type: object
6203
                type: object
6204
            required:
6205
            - hosts
6206
            type: object
6207
          status:
6208
            type: object
6209
            x-kubernetes-preserve-unknown-fields: true
6210
        type: object
6211
    served: true
6212
    storage: true
6213
    subresources:
6214
      status: {}
6215
---
6216
apiVersion: apiextensions.k8s.io/v1
6217
kind: CustomResourceDefinition
6218
metadata:
6219
  annotations:
6220
    "helm.sh/resource-policy": keep
6221
  labels:
6222
    app: istio-pilot
6223
    chart: istio
6224
    heritage: Tiller
6225
    release: istio
6226
  name: sidecars.networking.istio.io
6227
spec:
6228
  group: networking.istio.io
6229
  names:
6230
    categories:
6231
    - istio-io
6232
    - networking-istio-io
6233
    kind: Sidecar
6234
    listKind: SidecarList
6235
    plural: sidecars
6236
    singular: sidecar
6237
  scope: Namespaced
6238
  versions:
6239
  - name: v1
6240
    schema:
6241
      openAPIV3Schema:
6242
        properties:
6243
          spec:
6244
            description: 'Configuration affecting network reachability of a sidecar.
6245
              See more details at: https://istio.io/docs/reference/config/networking/sidecar.html'
6246
            properties:
6247
              egress:
6248
                description: Egress specifies the configuration of the sidecar for
6249
                  processing outbound traffic from the attached workload instance
6250
                  to other services in the mesh.
6251
                items:
6252
                  properties:
6253
                    bind:
6254
                      description: The IP(IPv4 or IPv6) or the Unix domain socket
6255
                        to which the listener should be bound to.
6256
                      type: string
6257
                    captureMode:
6258
                      description: |-
6259
                        When the bind address is an IP, the captureMode option dictates how traffic to the listener is expected to be captured (or not).
6260

6261
                        Valid Options: DEFAULT, IPTABLES, NONE
6262
                      enum:
6263
                      - DEFAULT
6264
                      - IPTABLES
6265
                      - NONE
6266
                      type: string
6267
                    hosts:
6268
                      description: One or more service hosts exposed by the listener
6269
                        in `namespace/dnsName` format.
6270
                      items:
6271
                        type: string
6272
                      type: array
6273
                    port:
6274
                      description: The port associated with the listener.
6275
                      properties:
6276
                        name:
6277
                          description: Label assigned to the port.
6278
                          type: string
6279
                        number:
6280
                          description: A valid non-negative integer port number.
6281
                          type: integer
6282
                        protocol:
6283
                          description: The protocol exposed on the port.
6284
                          type: string
6285
                        targetPort:
6286
                          type: integer
6287
                      type: object
6288
                  required:
6289
                  - hosts
6290
                  type: object
6291
                type: array
6292
              inboundConnectionPool:
6293
                description: Settings controlling the volume of connections Envoy
6294
                  will accept from the network.
6295
                properties:
6296
                  http:
6297
                    description: HTTP connection pool settings.
6298
                    properties:
6299
                      h2UpgradePolicy:
6300
                        description: |-
6301
                          Specify if http1.1 connection should be upgraded to http2 for the associated destination.
6302

6303
                          Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
6304
                        enum:
6305
                        - DEFAULT
6306
                        - DO_NOT_UPGRADE
6307
                        - UPGRADE
6308
                        type: string
6309
                      http1MaxPendingRequests:
6310
                        description: Maximum number of requests that will be queued
6311
                          while waiting for a ready connection pool connection.
6312
                        format: int32
6313
                        type: integer
6314
                      http2MaxRequests:
6315
                        description: Maximum number of active requests to a destination.
6316
                        format: int32
6317
                        type: integer
6318
                      idleTimeout:
6319
                        description: The idle timeout for upstream connection pool
6320
                          connections.
6321
                        type: string
6322
                      maxConcurrentStreams:
6323
                        description: The maximum number of concurrent streams allowed
6324
                          for a peer on one HTTP/2 connection.
6325
                        format: int32
6326
                        type: integer
6327
                      maxRequestsPerConnection:
6328
                        description: Maximum number of requests per connection to
6329
                          a backend.
6330
                        format: int32
6331
                        type: integer
6332
                      maxRetries:
6333
                        description: Maximum number of retries that can be outstanding
6334
                          to all hosts in a cluster at a given time.
6335
                        format: int32
6336
                        type: integer
6337
                      useClientProtocol:
6338
                        description: If set to true, client protocol will be preserved
6339
                          while initiating connection to backend.
6340
                        type: boolean
6341
                    type: object
6342
                  tcp:
6343
                    description: Settings common to both HTTP and TCP upstream connections.
6344
                    properties:
6345
                      connectTimeout:
6346
                        description: TCP connection timeout.
6347
                        type: string
6348
                      idleTimeout:
6349
                        description: The idle timeout for TCP connections.
6350
                        type: string
6351
                      maxConnectionDuration:
6352
                        description: The maximum duration of a connection.
6353
                        type: string
6354
                      maxConnections:
6355
                        description: Maximum number of HTTP1 /TCP connections to a
6356
                          destination host.
6357
                        format: int32
6358
                        type: integer
6359
                      tcpKeepalive:
6360
                        description: If set then set SO_KEEPALIVE on the socket to
6361
                          enable TCP Keepalives.
6362
                        properties:
6363
                          interval:
6364
                            description: The time duration between keep-alive probes.
6365
                            type: string
6366
                          probes:
6367
                            description: Maximum number of keepalive probes to send
6368
                              without response before deciding the connection is dead.
6369
                            type: integer
6370
                          time:
6371
                            description: The time duration a connection needs to be
6372
                              idle before keep-alive probes start being sent.
6373
                            type: string
6374
                        type: object
6375
                    type: object
6376
                type: object
6377
              ingress:
6378
                description: Ingress specifies the configuration of the sidecar for
6379
                  processing inbound traffic to the attached workload instance.
6380
                items:
6381
                  properties:
6382
                    bind:
6383
                      description: The IP(IPv4 or IPv6) to which the listener should
6384
                        be bound.
6385
                      type: string
6386
                    captureMode:
6387
                      description: |-
6388
                        The captureMode option dictates how traffic to the listener is expected to be captured (or not).
6389

6390
                        Valid Options: DEFAULT, IPTABLES, NONE
6391
                      enum:
6392
                      - DEFAULT
6393
                      - IPTABLES
6394
                      - NONE
6395
                      type: string
6396
                    connectionPool:
6397
                      description: Settings controlling the volume of connections
6398
                        Envoy will accept from the network.
6399
                      properties:
6400
                        http:
6401
                          description: HTTP connection pool settings.
6402
                          properties:
6403
                            h2UpgradePolicy:
6404
                              description: |-
6405
                                Specify if http1.1 connection should be upgraded to http2 for the associated destination.
6406

6407
                                Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
6408
                              enum:
6409
                              - DEFAULT
6410
                              - DO_NOT_UPGRADE
6411
                              - UPGRADE
6412
                              type: string
6413
                            http1MaxPendingRequests:
6414
                              description: Maximum number of requests that will be
6415
                                queued while waiting for a ready connection pool connection.
6416
                              format: int32
6417
                              type: integer
6418
                            http2MaxRequests:
6419
                              description: Maximum number of active requests to a
6420
                                destination.
6421
                              format: int32
6422
                              type: integer
6423
                            idleTimeout:
6424
                              description: The idle timeout for upstream connection
6425
                                pool connections.
6426
                              type: string
6427
                            maxConcurrentStreams:
6428
                              description: The maximum number of concurrent streams
6429
                                allowed for a peer on one HTTP/2 connection.
6430
                              format: int32
6431
                              type: integer
6432
                            maxRequestsPerConnection:
6433
                              description: Maximum number of requests per connection
6434
                                to a backend.
6435
                              format: int32
6436
                              type: integer
6437
                            maxRetries:
6438
                              description: Maximum number of retries that can be outstanding
6439
                                to all hosts in a cluster at a given time.
6440
                              format: int32
6441
                              type: integer
6442
                            useClientProtocol:
6443
                              description: If set to true, client protocol will be
6444
                                preserved while initiating connection to backend.
6445
                              type: boolean
6446
                          type: object
6447
                        tcp:
6448
                          description: Settings common to both HTTP and TCP upstream
6449
                            connections.
6450
                          properties:
6451
                            connectTimeout:
6452
                              description: TCP connection timeout.
6453
                              type: string
6454
                            idleTimeout:
6455
                              description: The idle timeout for TCP connections.
6456
                              type: string
6457
                            maxConnectionDuration:
6458
                              description: The maximum duration of a connection.
6459
                              type: string
6460
                            maxConnections:
6461
                              description: Maximum number of HTTP1 /TCP connections
6462
                                to a destination host.
6463
                              format: int32
6464
                              type: integer
6465
                            tcpKeepalive:
6466
                              description: If set then set SO_KEEPALIVE on the socket
6467
                                to enable TCP Keepalives.
6468
                              properties:
6469
                                interval:
6470
                                  description: The time duration between keep-alive
6471
                                    probes.
6472
                                  type: string
6473
                                probes:
6474
                                  description: Maximum number of keepalive probes
6475
                                    to send without response before deciding the connection
6476
                                    is dead.
6477
                                  type: integer
6478
                                time:
6479
                                  description: The time duration a connection needs
6480
                                    to be idle before keep-alive probes start being
6481
                                    sent.
6482
                                  type: string
6483
                              type: object
6484
                          type: object
6485
                      type: object
6486
                    defaultEndpoint:
6487
                      description: The IP endpoint or Unix domain socket to which
6488
                        traffic should be forwarded to.
6489
                      type: string
6490
                    port:
6491
                      description: The port associated with the listener.
6492
                      properties:
6493
                        name:
6494
                          description: Label assigned to the port.
6495
                          type: string
6496
                        number:
6497
                          description: A valid non-negative integer port number.
6498
                          type: integer
6499
                        protocol:
6500
                          description: The protocol exposed on the port.
6501
                          type: string
6502
                        targetPort:
6503
                          type: integer
6504
                      type: object
6505
                    tls:
6506
                      description: Set of TLS related options that will enable TLS
6507
                        termination on the sidecar for requests originating from outside
6508
                        the mesh.
6509
                      properties:
6510
                        caCertificates:
6511
                          description: REQUIRED if mode is `MUTUAL` or `OPTIONAL_MUTUAL`.
6512
                          type: string
6513
                        caCrl:
6514
                          description: 'OPTIONAL: The path to the file containing
6515
                            the certificate revocation list (CRL) to use in verifying
6516
                            a presented client side certificate.'
6517
                          type: string
6518
                        cipherSuites:
6519
                          description: 'Optional: If specified, only support the specified
6520
                            cipher list.'
6521
                          items:
6522
                            type: string
6523
                          type: array
6524
                        credentialName:
6525
                          description: For gateways running on Kubernetes, the name
6526
                            of the secret that holds the TLS certs including the CA
6527
                            certificates.
6528
                          type: string
6529
                        httpsRedirect:
6530
                          description: If set to true, the load balancer will send
6531
                            a 301 redirect for all http connections, asking the clients
6532
                            to use HTTPS.
6533
                          type: boolean
6534
                        maxProtocolVersion:
6535
                          description: |-
6536
                            Optional: Maximum TLS protocol version.
6537

6538
                            Valid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3
6539
                          enum:
6540
                          - TLS_AUTO
6541
                          - TLSV1_0
6542
                          - TLSV1_1
6543
                          - TLSV1_2
6544
                          - TLSV1_3
6545
                          type: string
6546
                        minProtocolVersion:
6547
                          description: |-
6548
                            Optional: Minimum TLS protocol version.
6549

6550
                            Valid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3
6551
                          enum:
6552
                          - TLS_AUTO
6553
                          - TLSV1_0
6554
                          - TLSV1_1
6555
                          - TLSV1_2
6556
                          - TLSV1_3
6557
                          type: string
6558
                        mode:
6559
                          description: |-
6560
                            Optional: Indicates whether connections to this port should be secured using TLS.
6561

6562
                            Valid Options: PASSTHROUGH, SIMPLE, MUTUAL, AUTO_PASSTHROUGH, ISTIO_MUTUAL, OPTIONAL_MUTUAL
6563
                          enum:
6564
                          - PASSTHROUGH
6565
                          - SIMPLE
6566
                          - MUTUAL
6567
                          - AUTO_PASSTHROUGH
6568
                          - ISTIO_MUTUAL
6569
                          - OPTIONAL_MUTUAL
6570
                          type: string
6571
                        privateKey:
6572
                          description: REQUIRED if mode is `SIMPLE` or `MUTUAL`.
6573
                          type: string
6574
                        serverCertificate:
6575
                          description: REQUIRED if mode is `SIMPLE` or `MUTUAL`.
6576
                          type: string
6577
                        subjectAltNames:
6578
                          description: A list of alternate names to verify the subject
6579
                            identity in the certificate presented by the client.
6580
                          items:
6581
                            type: string
6582
                          type: array
6583
                        verifyCertificateHash:
6584
                          description: An optional list of hex-encoded SHA-256 hashes
6585
                            of the authorized client certificates.
6586
                          items:
6587
                            type: string
6588
                          type: array
6589
                        verifyCertificateSpki:
6590
                          description: An optional list of base64-encoded SHA-256
6591
                            hashes of the SPKIs of authorized client certificates.
6592
                          items:
6593
                            type: string
6594
                          type: array
6595
                      type: object
6596
                  required:
6597
                  - port
6598
                  type: object
6599
                type: array
6600
              outboundTrafficPolicy:
6601
                description: Configuration for the outbound traffic policy.
6602
                properties:
6603
                  egressProxy:
6604
                    properties:
6605
                      host:
6606
                        description: The name of a service from the service registry.
6607
                        type: string
6608
                      port:
6609
                        description: Specifies the port on the host that is being
6610
                          addressed.
6611
                        properties:
6612
                          number:
6613
                            type: integer
6614
                        type: object
6615
                      subset:
6616
                        description: The name of a subset within the service.
6617
                        type: string
6618
                    required:
6619
                    - host
6620
                    type: object
6621
                  mode:
6622
                    description: |2-
6623

6624

6625
                      Valid Options: REGISTRY_ONLY, ALLOW_ANY
6626
                    enum:
6627
                    - REGISTRY_ONLY
6628
                    - ALLOW_ANY
6629
                    type: string
6630
                type: object
6631
              workloadSelector:
6632
                description: Criteria used to select the specific set of pods/VMs
6633
                  on which this `Sidecar` configuration should be applied.
6634
                properties:
6635
                  labels:
6636
                    additionalProperties:
6637
                      type: string
6638
                    description: One or more labels that indicate a specific set of
6639
                      pods/VMs on which the configuration should be applied.
6640
                    type: object
6641
                type: object
6642
            type: object
6643
          status:
6644
            type: object
6645
            x-kubernetes-preserve-unknown-fields: true
6646
        type: object
6647
    served: true
6648
    storage: false
6649
    subresources:
6650
      status: {}
6651
  - name: v1alpha3
6652
    schema:
6653
      openAPIV3Schema:
6654
        properties:
6655
          spec:
6656
            description: 'Configuration affecting network reachability of a sidecar.
6657
              See more details at: https://istio.io/docs/reference/config/networking/sidecar.html'
6658
            properties:
6659
              egress:
6660
                description: Egress specifies the configuration of the sidecar for
6661
                  processing outbound traffic from the attached workload instance
6662
                  to other services in the mesh.
6663
                items:
6664
                  properties:
6665
                    bind:
6666
                      description: The IP(IPv4 or IPv6) or the Unix domain socket
6667
                        to which the listener should be bound to.
6668
                      type: string
6669
                    captureMode:
6670
                      description: |-
6671
                        When the bind address is an IP, the captureMode option dictates how traffic to the listener is expected to be captured (or not).
6672

6673
                        Valid Options: DEFAULT, IPTABLES, NONE
6674
                      enum:
6675
                      - DEFAULT
6676
                      - IPTABLES
6677
                      - NONE
6678
                      type: string
6679
                    hosts:
6680
                      description: One or more service hosts exposed by the listener
6681
                        in `namespace/dnsName` format.
6682
                      items:
6683
                        type: string
6684
                      type: array
6685
                    port:
6686
                      description: The port associated with the listener.
6687
                      properties:
6688
                        name:
6689
                          description: Label assigned to the port.
6690
                          type: string
6691
                        number:
6692
                          description: A valid non-negative integer port number.
6693
                          type: integer
6694
                        protocol:
6695
                          description: The protocol exposed on the port.
6696
                          type: string
6697
                        targetPort:
6698
                          type: integer
6699
                      type: object
6700
                  required:
6701
                  - hosts
6702
                  type: object
6703
                type: array
6704
              inboundConnectionPool:
6705
                description: Settings controlling the volume of connections Envoy
6706
                  will accept from the network.
6707
                properties:
6708
                  http:
6709
                    description: HTTP connection pool settings.
6710
                    properties:
6711
                      h2UpgradePolicy:
6712
                        description: |-
6713
                          Specify if http1.1 connection should be upgraded to http2 for the associated destination.
6714

6715
                          Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
6716
                        enum:
6717
                        - DEFAULT
6718
                        - DO_NOT_UPGRADE
6719
                        - UPGRADE
6720
                        type: string
6721
                      http1MaxPendingRequests:
6722
                        description: Maximum number of requests that will be queued
6723
                          while waiting for a ready connection pool connection.
6724
                        format: int32
6725
                        type: integer
6726
                      http2MaxRequests:
6727
                        description: Maximum number of active requests to a destination.
6728
                        format: int32
6729
                        type: integer
6730
                      idleTimeout:
6731
                        description: The idle timeout for upstream connection pool
6732
                          connections.
6733
                        type: string
6734
                      maxConcurrentStreams:
6735
                        description: The maximum number of concurrent streams allowed
6736
                          for a peer on one HTTP/2 connection.
6737
                        format: int32
6738
                        type: integer
6739
                      maxRequestsPerConnection:
6740
                        description: Maximum number of requests per connection to
6741
                          a backend.
6742
                        format: int32
6743
                        type: integer
6744
                      maxRetries:
6745
                        description: Maximum number of retries that can be outstanding
6746
                          to all hosts in a cluster at a given time.
6747
                        format: int32
6748
                        type: integer
6749
                      useClientProtocol:
6750
                        description: If set to true, client protocol will be preserved
6751
                          while initiating connection to backend.
6752
                        type: boolean
6753
                    type: object
6754
                  tcp:
6755
                    description: Settings common to both HTTP and TCP upstream connections.
6756
                    properties:
6757
                      connectTimeout:
6758
                        description: TCP connection timeout.
6759
                        type: string
6760
                      idleTimeout:
6761
                        description: The idle timeout for TCP connections.
6762
                        type: string
6763
                      maxConnectionDuration:
6764
                        description: The maximum duration of a connection.
6765
                        type: string
6766
                      maxConnections:
6767
                        description: Maximum number of HTTP1 /TCP connections to a
6768
                          destination host.
6769
                        format: int32
6770
                        type: integer
6771
                      tcpKeepalive:
6772
                        description: If set then set SO_KEEPALIVE on the socket to
6773
                          enable TCP Keepalives.
6774
                        properties:
6775
                          interval:
6776
                            description: The time duration between keep-alive probes.
6777
                            type: string
6778
                          probes:
6779
                            description: Maximum number of keepalive probes to send
6780
                              without response before deciding the connection is dead.
6781
                            type: integer
6782
                          time:
6783
                            description: The time duration a connection needs to be
6784
                              idle before keep-alive probes start being sent.
6785
                            type: string
6786
                        type: object
6787
                    type: object
6788
                type: object
6789
              ingress:
6790
                description: Ingress specifies the configuration of the sidecar for
6791
                  processing inbound traffic to the attached workload instance.
6792
                items:
6793
                  properties:
6794
                    bind:
6795
                      description: The IP(IPv4 or IPv6) to which the listener should
6796
                        be bound.
6797
                      type: string
6798
                    captureMode:
6799
                      description: |-
6800
                        The captureMode option dictates how traffic to the listener is expected to be captured (or not).
6801

6802
                        Valid Options: DEFAULT, IPTABLES, NONE
6803
                      enum:
6804
                      - DEFAULT
6805
                      - IPTABLES
6806
                      - NONE
6807
                      type: string
6808
                    connectionPool:
6809
                      description: Settings controlling the volume of connections
6810
                        Envoy will accept from the network.
6811
                      properties:
6812
                        http:
6813
                          description: HTTP connection pool settings.
6814
                          properties:
6815
                            h2UpgradePolicy:
6816
                              description: |-
6817
                                Specify if http1.1 connection should be upgraded to http2 for the associated destination.
6818

6819
                                Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
6820
                              enum:
6821
                              - DEFAULT
6822
                              - DO_NOT_UPGRADE
6823
                              - UPGRADE
6824
                              type: string
6825
                            http1MaxPendingRequests:
6826
                              description: Maximum number of requests that will be
6827
                                queued while waiting for a ready connection pool connection.
6828
                              format: int32
6829
                              type: integer
6830
                            http2MaxRequests:
6831
                              description: Maximum number of active requests to a
6832
                                destination.
6833
                              format: int32
6834
                              type: integer
6835
                            idleTimeout:
6836
                              description: The idle timeout for upstream connection
6837
                                pool connections.
6838
                              type: string
6839
                            maxConcurrentStreams:
6840
                              description: The maximum number of concurrent streams
6841
                                allowed for a peer on one HTTP/2 connection.
6842
                              format: int32
6843
                              type: integer
6844
                            maxRequestsPerConnection:
6845
                              description: Maximum number of requests per connection
6846
                                to a backend.
6847
                              format: int32
6848
                              type: integer
6849
                            maxRetries:
6850
                              description: Maximum number of retries that can be outstanding
6851
                                to all hosts in a cluster at a given time.
6852
                              format: int32
6853
                              type: integer
6854
                            useClientProtocol:
6855
                              description: If set to true, client protocol will be
6856
                                preserved while initiating connection to backend.
6857
                              type: boolean
6858
                          type: object
6859
                        tcp:
6860
                          description: Settings common to both HTTP and TCP upstream
6861
                            connections.
6862
                          properties:
6863
                            connectTimeout:
6864
                              description: TCP connection timeout.
6865
                              type: string
6866
                            idleTimeout:
6867
                              description: The idle timeout for TCP connections.
6868
                              type: string
6869
                            maxConnectionDuration:
6870
                              description: The maximum duration of a connection.
6871
                              type: string
6872
                            maxConnections:
6873
                              description: Maximum number of HTTP1 /TCP connections
6874
                                to a destination host.
6875
                              format: int32
6876
                              type: integer
6877
                            tcpKeepalive:
6878
                              description: If set then set SO_KEEPALIVE on the socket
6879
                                to enable TCP Keepalives.
6880
                              properties:
6881
                                interval:
6882
                                  description: The time duration between keep-alive
6883
                                    probes.
6884
                                  type: string
6885
                                probes:
6886
                                  description: Maximum number of keepalive probes
6887
                                    to send without response before deciding the connection
6888
                                    is dead.
6889
                                  type: integer
6890
                                time:
6891
                                  description: The time duration a connection needs
6892
                                    to be idle before keep-alive probes start being
6893
                                    sent.
6894
                                  type: string
6895
                              type: object
6896
                          type: object
6897
                      type: object
6898
                    defaultEndpoint:
6899
                      description: The IP endpoint or Unix domain socket to which
6900
                        traffic should be forwarded to.
6901
                      type: string
6902
                    port:
6903
                      description: The port associated with the listener.
6904
                      properties:
6905
                        name:
6906
                          description: Label assigned to the port.
6907
                          type: string
6908
                        number:
6909
                          description: A valid non-negative integer port number.
6910
                          type: integer
6911
                        protocol:
6912
                          description: The protocol exposed on the port.
6913
                          type: string
6914
                        targetPort:
6915
                          type: integer
6916
                      type: object
6917
                    tls:
6918
                      description: Set of TLS related options that will enable TLS
6919
                        termination on the sidecar for requests originating from outside
6920
                        the mesh.
6921
                      properties:
6922
                        caCertificates:
6923
                          description: REQUIRED if mode is `MUTUAL` or `OPTIONAL_MUTUAL`.
6924
                          type: string
6925
                        caCrl:
6926
                          description: 'OPTIONAL: The path to the file containing
6927
                            the certificate revocation list (CRL) to use in verifying
6928
                            a presented client side certificate.'
6929
                          type: string
6930
                        cipherSuites:
6931
                          description: 'Optional: If specified, only support the specified
6932
                            cipher list.'
6933
                          items:
6934
                            type: string
6935
                          type: array
6936
                        credentialName:
6937
                          description: For gateways running on Kubernetes, the name
6938
                            of the secret that holds the TLS certs including the CA
6939
                            certificates.
6940
                          type: string
6941
                        httpsRedirect:
6942
                          description: If set to true, the load balancer will send
6943
                            a 301 redirect for all http connections, asking the clients
6944
                            to use HTTPS.
6945
                          type: boolean
6946
                        maxProtocolVersion:
6947
                          description: |-
6948
                            Optional: Maximum TLS protocol version.
6949

6950
                            Valid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3
6951
                          enum:
6952
                          - TLS_AUTO
6953
                          - TLSV1_0
6954
                          - TLSV1_1
6955
                          - TLSV1_2
6956
                          - TLSV1_3
6957
                          type: string
6958
                        minProtocolVersion:
6959
                          description: |-
6960
                            Optional: Minimum TLS protocol version.
6961

6962
                            Valid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3
6963
                          enum:
6964
                          - TLS_AUTO
6965
                          - TLSV1_0
6966
                          - TLSV1_1
6967
                          - TLSV1_2
6968
                          - TLSV1_3
6969
                          type: string
6970
                        mode:
6971
                          description: |-
6972
                            Optional: Indicates whether connections to this port should be secured using TLS.
6973

6974
                            Valid Options: PASSTHROUGH, SIMPLE, MUTUAL, AUTO_PASSTHROUGH, ISTIO_MUTUAL, OPTIONAL_MUTUAL
6975
                          enum:
6976
                          - PASSTHROUGH
6977
                          - SIMPLE
6978
                          - MUTUAL
6979
                          - AUTO_PASSTHROUGH
6980
                          - ISTIO_MUTUAL
6981
                          - OPTIONAL_MUTUAL
6982
                          type: string
6983
                        privateKey:
6984
                          description: REQUIRED if mode is `SIMPLE` or `MUTUAL`.
6985
                          type: string
6986
                        serverCertificate:
6987
                          description: REQUIRED if mode is `SIMPLE` or `MUTUAL`.
6988
                          type: string
6989
                        subjectAltNames:
6990
                          description: A list of alternate names to verify the subject
6991
                            identity in the certificate presented by the client.
6992
                          items:
6993
                            type: string
6994
                          type: array
6995
                        verifyCertificateHash:
6996
                          description: An optional list of hex-encoded SHA-256 hashes
6997
                            of the authorized client certificates.
6998
                          items:
6999
                            type: string
7000
                          type: array
7001
                        verifyCertificateSpki:
7002
                          description: An optional list of base64-encoded SHA-256
7003
                            hashes of the SPKIs of authorized client certificates.
7004
                          items:
7005
                            type: string
7006
                          type: array
7007
                      type: object
7008
                  required:
7009
                  - port
7010
                  type: object
7011
                type: array
7012
              outboundTrafficPolicy:
7013
                description: Configuration for the outbound traffic policy.
7014
                properties:
7015
                  egressProxy:
7016
                    properties:
7017
                      host:
7018
                        description: The name of a service from the service registry.
7019
                        type: string
7020
                      port:
7021
                        description: Specifies the port on the host that is being
7022
                          addressed.
7023
                        properties:
7024
                          number:
7025
                            type: integer
7026
                        type: object
7027
                      subset:
7028
                        description: The name of a subset within the service.
7029
                        type: string
7030
                    required:
7031
                    - host
7032
                    type: object
7033
                  mode:
7034
                    description: |2-
7035

7036

7037
                      Valid Options: REGISTRY_ONLY, ALLOW_ANY
7038
                    enum:
7039
                    - REGISTRY_ONLY
7040
                    - ALLOW_ANY
7041
                    type: string
7042
                type: object
7043
              workloadSelector:
7044
                description: Criteria used to select the specific set of pods/VMs
7045
                  on which this `Sidecar` configuration should be applied.
7046
                properties:
7047
                  labels:
7048
                    additionalProperties:
7049
                      type: string
7050
                    description: One or more labels that indicate a specific set of
7051
                      pods/VMs on which the configuration should be applied.
7052
                    type: object
7053
                type: object
7054
            type: object
7055
          status:
7056
            type: object
7057
            x-kubernetes-preserve-unknown-fields: true
7058
        type: object
7059
    served: true
7060
    storage: false
7061
    subresources:
7062
      status: {}
7063
  - name: v1beta1
7064
    schema:
7065
      openAPIV3Schema:
7066
        properties:
7067
          spec:
7068
            description: 'Configuration affecting network reachability of a sidecar.
7069
              See more details at: https://istio.io/docs/reference/config/networking/sidecar.html'
7070
            properties:
7071
              egress:
7072
                description: Egress specifies the configuration of the sidecar for
7073
                  processing outbound traffic from the attached workload instance
7074
                  to other services in the mesh.
7075
                items:
7076
                  properties:
7077
                    bind:
7078
                      description: The IP(IPv4 or IPv6) or the Unix domain socket
7079
                        to which the listener should be bound to.
7080
                      type: string
7081
                    captureMode:
7082
                      description: |-
7083
                        When the bind address is an IP, the captureMode option dictates how traffic to the listener is expected to be captured (or not).
7084

7085
                        Valid Options: DEFAULT, IPTABLES, NONE
7086
                      enum:
7087
                      - DEFAULT
7088
                      - IPTABLES
7089
                      - NONE
7090
                      type: string
7091
                    hosts:
7092
                      description: One or more service hosts exposed by the listener
7093
                        in `namespace/dnsName` format.
7094
                      items:
7095
                        type: string
7096
                      type: array
7097
                    port:
7098
                      description: The port associated with the listener.
7099
                      properties:
7100
                        name:
7101
                          description: Label assigned to the port.
7102
                          type: string
7103
                        number:
7104
                          description: A valid non-negative integer port number.
7105
                          type: integer
7106
                        protocol:
7107
                          description: The protocol exposed on the port.
7108
                          type: string
7109
                        targetPort:
7110
                          type: integer
7111
                      type: object
7112
                  required:
7113
                  - hosts
7114
                  type: object
7115
                type: array
7116
              inboundConnectionPool:
7117
                description: Settings controlling the volume of connections Envoy
7118
                  will accept from the network.
7119
                properties:
7120
                  http:
7121
                    description: HTTP connection pool settings.
7122
                    properties:
7123
                      h2UpgradePolicy:
7124
                        description: |-
7125
                          Specify if http1.1 connection should be upgraded to http2 for the associated destination.
7126

7127
                          Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
7128
                        enum:
7129
                        - DEFAULT
7130
                        - DO_NOT_UPGRADE
7131
                        - UPGRADE
7132
                        type: string
7133
                      http1MaxPendingRequests:
7134
                        description: Maximum number of requests that will be queued
7135
                          while waiting for a ready connection pool connection.
7136
                        format: int32
7137
                        type: integer
7138
                      http2MaxRequests:
7139
                        description: Maximum number of active requests to a destination.
7140
                        format: int32
7141
                        type: integer
7142
                      idleTimeout:
7143
                        description: The idle timeout for upstream connection pool
7144
                          connections.
7145
                        type: string
7146
                      maxConcurrentStreams:
7147
                        description: The maximum number of concurrent streams allowed
7148
                          for a peer on one HTTP/2 connection.
7149
                        format: int32
7150
                        type: integer
7151
                      maxRequestsPerConnection:
7152
                        description: Maximum number of requests per connection to
7153
                          a backend.
7154
                        format: int32
7155
                        type: integer
7156
                      maxRetries:
7157
                        description: Maximum number of retries that can be outstanding
7158
                          to all hosts in a cluster at a given time.
7159
                        format: int32
7160
                        type: integer
7161
                      useClientProtocol:
7162
                        description: If set to true, client protocol will be preserved
7163
                          while initiating connection to backend.
7164
                        type: boolean
7165
                    type: object
7166
                  tcp:
7167
                    description: Settings common to both HTTP and TCP upstream connections.
7168
                    properties:
7169
                      connectTimeout:
7170
                        description: TCP connection timeout.
7171
                        type: string
7172
                      idleTimeout:
7173
                        description: The idle timeout for TCP connections.
7174
                        type: string
7175
                      maxConnectionDuration:
7176
                        description: The maximum duration of a connection.
7177
                        type: string
7178
                      maxConnections:
7179
                        description: Maximum number of HTTP1 /TCP connections to a
7180
                          destination host.
7181
                        format: int32
7182
                        type: integer
7183
                      tcpKeepalive:
7184
                        description: If set then set SO_KEEPALIVE on the socket to
7185
                          enable TCP Keepalives.
7186
                        properties:
7187
                          interval:
7188
                            description: The time duration between keep-alive probes.
7189
                            type: string
7190
                          probes:
7191
                            description: Maximum number of keepalive probes to send
7192
                              without response before deciding the connection is dead.
7193
                            type: integer
7194
                          time:
7195
                            description: The time duration a connection needs to be
7196
                              idle before keep-alive probes start being sent.
7197
                            type: string
7198
                        type: object
7199
                    type: object
7200
                type: object
7201
              ingress:
7202
                description: Ingress specifies the configuration of the sidecar for
7203
                  processing inbound traffic to the attached workload instance.
7204
                items:
7205
                  properties:
7206
                    bind:
7207
                      description: The IP(IPv4 or IPv6) to which the listener should
7208
                        be bound.
7209
                      type: string
7210
                    captureMode:
7211
                      description: |-
7212
                        The captureMode option dictates how traffic to the listener is expected to be captured (or not).
7213

7214
                        Valid Options: DEFAULT, IPTABLES, NONE
7215
                      enum:
7216
                      - DEFAULT
7217
                      - IPTABLES
7218
                      - NONE
7219
                      type: string
7220
                    connectionPool:
7221
                      description: Settings controlling the volume of connections
7222
                        Envoy will accept from the network.
7223
                      properties:
7224
                        http:
7225
                          description: HTTP connection pool settings.
7226
                          properties:
7227
                            h2UpgradePolicy:
7228
                              description: |-
7229
                                Specify if http1.1 connection should be upgraded to http2 for the associated destination.
7230

7231
                                Valid Options: DEFAULT, DO_NOT_UPGRADE, UPGRADE
7232
                              enum:
7233
                              - DEFAULT
7234
                              - DO_NOT_UPGRADE
7235
                              - UPGRADE
7236
                              type: string
7237
                            http1MaxPendingRequests:
7238
                              description: Maximum number of requests that will be
7239
                                queued while waiting for a ready connection pool connection.
7240
                              format: int32
7241
                              type: integer
7242
                            http2MaxRequests:
7243
                              description: Maximum number of active requests to a
7244
                                destination.
7245
                              format: int32
7246
                              type: integer
7247
                            idleTimeout:
7248
                              description: The idle timeout for upstream connection
7249
                                pool connections.
7250
                              type: string
7251
                            maxConcurrentStreams:
7252
                              description: The maximum number of concurrent streams
7253
                                allowed for a peer on one HTTP/2 connection.
7254
                              format: int32
7255
                              type: integer
7256
                            maxRequestsPerConnection:
7257
                              description: Maximum number of requests per connection
7258
                                to a backend.
7259
                              format: int32
7260
                              type: integer
7261
                            maxRetries:
7262
                              description: Maximum number of retries that can be outstanding
7263
                                to all hosts in a cluster at a given time.
7264
                              format: int32
7265
                              type: integer
7266
                            useClientProtocol:
7267
                              description: If set to true, client protocol will be
7268
                                preserved while initiating connection to backend.
7269
                              type: boolean
7270
                          type: object
7271
                        tcp:
7272
                          description: Settings common to both HTTP and TCP upstream
7273
                            connections.
7274
                          properties:
7275
                            connectTimeout:
7276
                              description: TCP connection timeout.
7277
                              type: string
7278
                            idleTimeout:
7279
                              description: The idle timeout for TCP connections.
7280
                              type: string
7281
                            maxConnectionDuration:
7282
                              description: The maximum duration of a connection.
7283
                              type: string
7284
                            maxConnections:
7285
                              description: Maximum number of HTTP1 /TCP connections
7286
                                to a destination host.
7287
                              format: int32
7288
                              type: integer
7289
                            tcpKeepalive:
7290
                              description: If set then set SO_KEEPALIVE on the socket
7291
                                to enable TCP Keepalives.
7292
                              properties:
7293
                                interval:
7294
                                  description: The time duration between keep-alive
7295
                                    probes.
7296
                                  type: string
7297
                                probes:
7298
                                  description: Maximum number of keepalive probes
7299
                                    to send without response before deciding the connection
7300
                                    is dead.
7301
                                  type: integer
7302
                                time:
7303
                                  description: The time duration a connection needs
7304
                                    to be idle before keep-alive probes start being
7305
                                    sent.
7306
                                  type: string
7307
                              type: object
7308
                          type: object
7309
                      type: object
7310
                    defaultEndpoint:
7311
                      description: The IP endpoint or Unix domain socket to which
7312
                        traffic should be forwarded to.
7313
                      type: string
7314
                    port:
7315
                      description: The port associated with the listener.
7316
                      properties:
7317
                        name:
7318
                          description: Label assigned to the port.
7319
                          type: string
7320
                        number:
7321
                          description: A valid non-negative integer port number.
7322
                          type: integer
7323
                        protocol:
7324
                          description: The protocol exposed on the port.
7325
                          type: string
7326
                        targetPort:
7327
                          type: integer
7328
                      type: object
7329
                    tls:
7330
                      description: Set of TLS related options that will enable TLS
7331
                        termination on the sidecar for requests originating from outside
7332
                        the mesh.
7333
                      properties:
7334
                        caCertificates:
7335
                          description: REQUIRED if mode is `MUTUAL` or `OPTIONAL_MUTUAL`.
7336
                          type: string
7337
                        caCrl:
7338
                          description: 'OPTIONAL: The path to the file containing
7339
                            the certificate revocation list (CRL) to use in verifying
7340
                            a presented client side certificate.'
7341
                          type: string
7342
                        cipherSuites:
7343
                          description: 'Optional: If specified, only support the specified
7344
                            cipher list.'
7345
                          items:
7346
                            type: string
7347
                          type: array
7348
                        credentialName:
7349
                          description: For gateways running on Kubernetes, the name
7350
                            of the secret that holds the TLS certs including the CA
7351
                            certificates.
7352
                          type: string
7353
                        httpsRedirect:
7354
                          description: If set to true, the load balancer will send
7355
                            a 301 redirect for all http connections, asking the clients
7356
                            to use HTTPS.
7357
                          type: boolean
7358
                        maxProtocolVersion:
7359
                          description: |-
7360
                            Optional: Maximum TLS protocol version.
7361

7362
                            Valid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3
7363
                          enum:
7364
                          - TLS_AUTO
7365
                          - TLSV1_0
7366
                          - TLSV1_1
7367
                          - TLSV1_2
7368
                          - TLSV1_3
7369
                          type: string
7370
                        minProtocolVersion:
7371
                          description: |-
7372
                            Optional: Minimum TLS protocol version.
7373

7374
                            Valid Options: TLS_AUTO, TLSV1_0, TLSV1_1, TLSV1_2, TLSV1_3
7375
                          enum:
7376
                          - TLS_AUTO
7377
                          - TLSV1_0
7378
                          - TLSV1_1
7379
                          - TLSV1_2
7380
                          - TLSV1_3
7381
                          type: string
7382
                        mode:
7383
                          description: |-
7384
                            Optional: Indicates whether connections to this port should be secured using TLS.
7385

7386
                            Valid Options: PASSTHROUGH, SIMPLE, MUTUAL, AUTO_PASSTHROUGH, ISTIO_MUTUAL, OPTIONAL_MUTUAL
7387
                          enum:
7388
                          - PASSTHROUGH
7389
                          - SIMPLE
7390
                          - MUTUAL
7391
                          - AUTO_PASSTHROUGH
7392
                          - ISTIO_MUTUAL
7393
                          - OPTIONAL_MUTUAL
7394
                          type: string
7395
                        privateKey:
7396
                          description: REQUIRED if mode is `SIMPLE` or `MUTUAL`.
7397
                          type: string
7398
                        serverCertificate:
7399
                          description: REQUIRED if mode is `SIMPLE` or `MUTUAL`.
7400
                          type: string
7401
                        subjectAltNames:
7402
                          description: A list of alternate names to verify the subject
7403
                            identity in the certificate presented by the client.
7404
                          items:
7405
                            type: string
7406
                          type: array
7407
                        verifyCertificateHash:
7408
                          description: An optional list of hex-encoded SHA-256 hashes
7409
                            of the authorized client certificates.
7410
                          items:
7411
                            type: string
7412
                          type: array
7413
                        verifyCertificateSpki:
7414
                          description: An optional list of base64-encoded SHA-256
7415
                            hashes of the SPKIs of authorized client certificates.
7416
                          items:
7417
                            type: string
7418
                          type: array
7419
                      type: object
7420
                  required:
7421
                  - port
7422
                  type: object
7423
                type: array
7424
              outboundTrafficPolicy:
7425
                description: Configuration for the outbound traffic policy.
7426
                properties:
7427
                  egressProxy:
7428
                    properties:
7429
                      host:
7430
                        description: The name of a service from the service registry.
7431
                        type: string
7432
                      port:
7433
                        description: Specifies the port on the host that is being
7434
                          addressed.
7435
                        properties:
7436
                          number:
7437
                            type: integer
7438
                        type: object
7439
                      subset:
7440
                        description: The name of a subset within the service.
7441
                        type: string
7442
                    required:
7443
                    - host
7444
                    type: object
7445
                  mode:
7446
                    description: |2-
7447

7448

7449
                      Valid Options: REGISTRY_ONLY, ALLOW_ANY
7450
                    enum:
7451
                    - REGISTRY_ONLY
7452
                    - ALLOW_ANY
7453
                    type: string
7454
                type: object
7455
              workloadSelector:
7456
                description: Criteria used to select the specific set of pods/VMs
7457
                  on which this `Sidecar` configuration should be applied.
7458
                properties:
7459
                  labels:
7460
                    additionalProperties:
7461
                      type: string
7462
                    description: One or more labels that indicate a specific set of
7463
                      pods/VMs on which the configuration should be applied.
7464
                    type: object
7465
                type: object
7466
            type: object
7467
          status:
7468
            type: object
7469
            x-kubernetes-preserve-unknown-fields: true
7470
        type: object
7471
    served: true
7472
    storage: true
7473
    subresources:
7474
      status: {}
7475
---
7476
apiVersion: apiextensions.k8s.io/v1
7477
kind: CustomResourceDefinition
7478
metadata:
7479
  annotations:
7480
    "helm.sh/resource-policy": keep
7481
  labels:
7482
    app: istio-pilot
7483
    chart: istio
7484
    heritage: Tiller
7485
    release: istio
7486
  name: virtualservices.networking.istio.io
7487
spec:
7488
  group: networking.istio.io
7489
  names:
7490
    categories:
7491
    - istio-io
7492
    - networking-istio-io
7493
    kind: VirtualService
7494
    listKind: VirtualServiceList
7495
    plural: virtualservices
7496
    shortNames:
7497
    - vs
7498
    singular: virtualservice
7499
  scope: Namespaced
7500
  versions:
7501
  - additionalPrinterColumns:
7502
    - description: The names of gateways and sidecars that should apply these routes
7503
      jsonPath: .spec.gateways
7504
      name: Gateways
7505
      type: string
7506
    - description: The destination hosts to which traffic is being sent
7507
      jsonPath: .spec.hosts
7508
      name: Hosts
7509
      type: string
7510
    - description: 'CreationTimestamp is a timestamp representing the server time
7511
        when this object was created. It is not guaranteed to be set in happens-before
7512
        order across separate operations. Clients may not set this value. It is represented
7513
        in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for
7514
        lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
7515
      jsonPath: .metadata.creationTimestamp
7516
      name: Age
7517
      type: date
7518
    name: v1
7519
    schema:
7520
      openAPIV3Schema:
7521
        properties:
7522
          spec:
7523
            description: 'Configuration affecting label/content routing, sni routing,
7524
              etc. See more details at: https://istio.io/docs/reference/config/networking/virtual-service.html'
7525
            properties:
7526
              exportTo:
7527
                description: A list of namespaces to which this virtual service is
7528
                  exported.
7529
                items:
7530
                  type: string
7531
                type: array
7532
              gateways:
7533
                description: The names of gateways and sidecars that should apply
7534
                  these routes.
7535
                items:
7536
                  type: string
7537
                type: array
7538
              hosts:
7539
                description: The destination hosts to which traffic is being sent.
7540
                items:
7541
                  type: string
7542
                type: array
7543
              http:
7544
                description: An ordered list of route rules for HTTP traffic.
7545
                items:
7546
                  properties:
7547
                    corsPolicy:
7548
                      description: Cross-Origin Resource Sharing policy (CORS).
7549
                      properties:
7550
                        allowCredentials:
7551
                          description: Indicates whether the caller is allowed to
7552
                            send the actual request (not the preflight) using credentials.
7553
                          nullable: true
7554
                          type: boolean
7555
                        allowHeaders:
7556
                          description: List of HTTP headers that can be used when
7557
                            requesting the resource.
7558
                          items:
7559
                            type: string
7560
                          type: array
7561
                        allowMethods:
7562
                          description: List of HTTP methods allowed to access the
7563
                            resource.
7564
                          items:
7565
                            type: string
7566
                          type: array
7567
                        allowOrigin:
7568
                          items:
7569
                            type: string
7570
                          type: array
7571
                        allowOrigins:
7572
                          description: String patterns that match allowed origins.
7573
                          items:
7574
                            oneOf:
7575
                            - not:
7576
                                anyOf:
7577
                                - required:
7578
                                  - exact
7579
                                - required:
7580
                                  - prefix
7581
                                - required:
7582
                                  - regex
7583
                            - required:
7584
                              - exact
7585
                            - required:
7586
                              - prefix
7587
                            - required:
7588
                              - regex
7589
                            properties:
7590
                              exact:
7591
                                type: string
7592
                              prefix:
7593
                                type: string
7594
                              regex:
7595
                                description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
7596
                                type: string
7597
                            type: object
7598
                          type: array
7599
                        exposeHeaders:
7600
                          description: A list of HTTP headers that the browsers are
7601
                            allowed to access.
7602
                          items:
7603
                            type: string
7604
                          type: array
7605
                        maxAge:
7606
                          description: Specifies how long the results of a preflight
7607
                            request can be cached.
7608
                          type: string
7609
                      type: object
7610
                    delegate:
7611
                      description: Delegate is used to specify the particular VirtualService
7612
                        which can be used to define delegate HTTPRoute.
7613
                      properties:
7614
                        name:
7615
                          description: Name specifies the name of the delegate VirtualService.
7616
                          type: string
7617
                        namespace:
7618
                          description: Namespace specifies the namespace where the
7619
                            delegate VirtualService resides.
7620
                          type: string
7621
                      type: object
7622
                    directResponse:
7623
                      description: A HTTP rule can either return a direct_response,
7624
                        redirect or forward (default) traffic.
7625
                      properties:
7626
                        body:
7627
                          description: Specifies the content of the response body.
7628
                          oneOf:
7629
                          - not:
7630
                              anyOf:
7631
                              - required:
7632
                                - string
7633
                              - required:
7634
                                - bytes
7635
                          - required:
7636
                            - string
7637
                          - required:
7638
                            - bytes
7639
                          properties:
7640
                            bytes:
7641
                              description: response body as base64 encoded bytes.
7642
                              format: binary
7643
                              type: string
7644
                            string:
7645
                              type: string
7646
                          type: object
7647
                        status:
7648
                          description: Specifies the HTTP response status to be returned.
7649
                          type: integer
7650
                      required:
7651
                      - status
7652
                      type: object
7653
                    fault:
7654
                      description: Fault injection policy to apply on HTTP traffic
7655
                        at the client side.
7656
                      properties:
7657
                        abort:
7658
                          description: Abort Http request attempts and return error
7659
                            codes back to downstream service, giving the impression
7660
                            that the upstream service is faulty.
7661
                          oneOf:
7662
                          - not:
7663
                              anyOf:
7664
                              - required:
7665
                                - httpStatus
7666
                              - required:
7667
                                - grpcStatus
7668
                              - required:
7669
                                - http2Error
7670
                          - required:
7671
                            - httpStatus
7672
                          - required:
7673
                            - grpcStatus
7674
                          - required:
7675
                            - http2Error
7676
                          properties:
7677
                            grpcStatus:
7678
                              description: GRPC status code to use to abort the request.
7679
                              type: string
7680
                            http2Error:
7681
                              type: string
7682
                            httpStatus:
7683
                              description: HTTP status code to use to abort the Http
7684
                                request.
7685
                              format: int32
7686
                              type: integer
7687
                            percentage:
7688
                              description: Percentage of requests to be aborted with
7689
                                the error code provided.
7690
                              properties:
7691
                                value:
7692
                                  format: double
7693
                                  type: number
7694
                              type: object
7695
                          type: object
7696
                        delay:
7697
                          description: Delay requests before forwarding, emulating
7698
                            various failures such as network issues, overloaded upstream
7699
                            service, etc.
7700
                          oneOf:
7701
                          - not:
7702
                              anyOf:
7703
                              - required:
7704
                                - fixedDelay
7705
                              - required:
7706
                                - exponentialDelay
7707
                          - required:
7708
                            - fixedDelay
7709
                          - required:
7710
                            - exponentialDelay
7711
                          properties:
7712
                            exponentialDelay:
7713
                              type: string
7714
                            fixedDelay:
7715
                              description: Add a fixed delay before forwarding the
7716
                                request.
7717
                              type: string
7718
                            percent:
7719
                              description: Percentage of requests on which the delay
7720
                                will be injected (0-100).
7721
                              format: int32
7722
                              type: integer
7723
                            percentage:
7724
                              description: Percentage of requests on which the delay
7725
                                will be injected.
7726
                              properties:
7727
                                value:
7728
                                  format: double
7729
                                  type: number
7730
                              type: object
7731
                          type: object
7732
                      type: object
7733
                    headers:
7734
                      properties:
7735
                        request:
7736
                          properties:
7737
                            add:
7738
                              additionalProperties:
7739
                                type: string
7740
                              type: object
7741
                            remove:
7742
                              items:
7743
                                type: string
7744
                              type: array
7745
                            set:
7746
                              additionalProperties:
7747
                                type: string
7748
                              type: object
7749
                          type: object
7750
                        response:
7751
                          properties:
7752
                            add:
7753
                              additionalProperties:
7754
                                type: string
7755
                              type: object
7756
                            remove:
7757
                              items:
7758
                                type: string
7759
                              type: array
7760
                            set:
7761
                              additionalProperties:
7762
                                type: string
7763
                              type: object
7764
                          type: object
7765
                      type: object
7766
                    match:
7767
                      description: Match conditions to be satisfied for the rule to
7768
                        be activated.
7769
                      items:
7770
                        properties:
7771
                          authority:
7772
                            description: 'HTTP Authority values are case-sensitive
7773
                              and formatted as follows: - `exact: "value"` for exact
7774
                              string match - `prefix: "value"` for prefix-based match
7775
                              - `regex: "value"` for RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).'
7776
                            oneOf:
7777
                            - not:
7778
                                anyOf:
7779
                                - required:
7780
                                  - exact
7781
                                - required:
7782
                                  - prefix
7783
                                - required:
7784
                                  - regex
7785
                            - required:
7786
                              - exact
7787
                            - required:
7788
                              - prefix
7789
                            - required:
7790
                              - regex
7791
                            properties:
7792
                              exact:
7793
                                type: string
7794
                              prefix:
7795
                                type: string
7796
                              regex:
7797
                                description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
7798
                                type: string
7799
                            type: object
7800
                          gateways:
7801
                            description: Names of gateways where the rule should be
7802
                              applied.
7803
                            items:
7804
                              type: string
7805
                            type: array
7806
                          headers:
7807
                            additionalProperties:
7808
                              oneOf:
7809
                              - not:
7810
                                  anyOf:
7811
                                  - required:
7812
                                    - exact
7813
                                  - required:
7814
                                    - prefix
7815
                                  - required:
7816
                                    - regex
7817
                              - required:
7818
                                - exact
7819
                              - required:
7820
                                - prefix
7821
                              - required:
7822
                                - regex
7823
                              properties:
7824
                                exact:
7825
                                  type: string
7826
                                prefix:
7827
                                  type: string
7828
                                regex:
7829
                                  description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
7830
                                  type: string
7831
                              type: object
7832
                            description: The header keys must be lowercase and use
7833
                              hyphen as the separator, e.g.
7834
                            type: object
7835
                          ignoreUriCase:
7836
                            description: Flag to specify whether the URI matching
7837
                              should be case-insensitive.
7838
                            type: boolean
7839
                          method:
7840
                            description: 'HTTP Method values are case-sensitive and
7841
                              formatted as follows: - `exact: "value"` for exact string
7842
                              match - `prefix: "value"` for prefix-based match - `regex:
7843
                              "value"` for RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).'
7844
                            oneOf:
7845
                            - not:
7846
                                anyOf:
7847
                                - required:
7848
                                  - exact
7849
                                - required:
7850
                                  - prefix
7851
                                - required:
7852
                                  - regex
7853
                            - required:
7854
                              - exact
7855
                            - required:
7856
                              - prefix
7857
                            - required:
7858
                              - regex
7859
                            properties:
7860
                              exact:
7861
                                type: string
7862
                              prefix:
7863
                                type: string
7864
                              regex:
7865
                                description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
7866
                                type: string
7867
                            type: object
7868
                          name:
7869
                            description: The name assigned to a match.
7870
                            type: string
7871
                          port:
7872
                            description: Specifies the ports on the host that is being
7873
                              addressed.
7874
                            type: integer
7875
                          queryParams:
7876
                            additionalProperties:
7877
                              oneOf:
7878
                              - not:
7879
                                  anyOf:
7880
                                  - required:
7881
                                    - exact
7882
                                  - required:
7883
                                    - prefix
7884
                                  - required:
7885
                                    - regex
7886
                              - required:
7887
                                - exact
7888
                              - required:
7889
                                - prefix
7890
                              - required:
7891
                                - regex
7892
                              properties:
7893
                                exact:
7894
                                  type: string
7895
                                prefix:
7896
                                  type: string
7897
                                regex:
7898
                                  description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
7899
                                  type: string
7900
                              type: object
7901
                            description: Query parameters for matching.
7902
                            type: object
7903
                          scheme:
7904
                            description: 'URI Scheme values are case-sensitive and
7905
                              formatted as follows: - `exact: "value"` for exact string
7906
                              match - `prefix: "value"` for prefix-based match - `regex:
7907
                              "value"` for RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).'
7908
                            oneOf:
7909
                            - not:
7910
                                anyOf:
7911
                                - required:
7912
                                  - exact
7913
                                - required:
7914
                                  - prefix
7915
                                - required:
7916
                                  - regex
7917
                            - required:
7918
                              - exact
7919
                            - required:
7920
                              - prefix
7921
                            - required:
7922
                              - regex
7923
                            properties:
7924
                              exact:
7925
                                type: string
7926
                              prefix:
7927
                                type: string
7928
                              regex:
7929
                                description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
7930
                                type: string
7931
                            type: object
7932
                          sourceLabels:
7933
                            additionalProperties:
7934
                              type: string
7935
                            description: One or more labels that constrain the applicability
7936
                              of a rule to source (client) workloads with the given
7937
                              labels.
7938
                            type: object
7939
                          sourceNamespace:
7940
                            description: Source namespace constraining the applicability
7941
                              of a rule to workloads in that namespace.
7942
                            type: string
7943
                          statPrefix:
7944
                            description: The human readable prefix to use when emitting
7945
                              statistics for this route.
7946
                            type: string
7947
                          uri:
7948
                            description: 'URI to match values are case-sensitive and
7949
                              formatted as follows: - `exact: "value"` for exact string
7950
                              match - `prefix: "value"` for prefix-based match - `regex:
7951
                              "value"` for RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).'
7952
                            oneOf:
7953
                            - not:
7954
                                anyOf:
7955
                                - required:
7956
                                  - exact
7957
                                - required:
7958
                                  - prefix
7959
                                - required:
7960
                                  - regex
7961
                            - required:
7962
                              - exact
7963
                            - required:
7964
                              - prefix
7965
                            - required:
7966
                              - regex
7967
                            properties:
7968
                              exact:
7969
                                type: string
7970
                              prefix:
7971
                                type: string
7972
                              regex:
7973
                                description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
7974
                                type: string
7975
                            type: object
7976
                          withoutHeaders:
7977
                            additionalProperties:
7978
                              oneOf:
7979
                              - not:
7980
                                  anyOf:
7981
                                  - required:
7982
                                    - exact
7983
                                  - required:
7984
                                    - prefix
7985
                                  - required:
7986
                                    - regex
7987
                              - required:
7988
                                - exact
7989
                              - required:
7990
                                - prefix
7991
                              - required:
7992
                                - regex
7993
                              properties:
7994
                                exact:
7995
                                  type: string
7996
                                prefix:
7997
                                  type: string
7998
                                regex:
7999
                                  description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
8000
                                  type: string
8001
                              type: object
8002
                            description: withoutHeader has the same syntax with the
8003
                              header, but has opposite meaning.
8004
                            type: object
8005
                        type: object
8006
                      type: array
8007
                    mirror:
8008
                      description: Mirror HTTP traffic to a another destination in
8009
                        addition to forwarding the requests to the intended destination.
8010
                      properties:
8011
                        host:
8012
                          description: The name of a service from the service registry.
8013
                          type: string
8014
                        port:
8015
                          description: Specifies the port on the host that is being
8016
                            addressed.
8017
                          properties:
8018
                            number:
8019
                              type: integer
8020
                          type: object
8021
                        subset:
8022
                          description: The name of a subset within the service.
8023
                          type: string
8024
                      required:
8025
                      - host
8026
                      type: object
8027
                    mirror_percent:
8028
                      nullable: true
8029
                      type: integer
8030
                    mirrorPercent:
8031
                      nullable: true
8032
                      type: integer
8033
                    mirrorPercentage:
8034
                      description: Percentage of the traffic to be mirrored by the
8035
                        `mirror` field.
8036
                      properties:
8037
                        value:
8038
                          format: double
8039
                          type: number
8040
                      type: object
8041
                    mirrors:
8042
                      description: Specifies the destinations to mirror HTTP traffic
8043
                        in addition to the original destination.
8044
                      items:
8045
                        properties:
8046
                          destination:
8047
                            description: Destination specifies the target of the mirror
8048
                              operation.
8049
                            properties:
8050
                              host:
8051
                                description: The name of a service from the service
8052
                                  registry.
8053
                                type: string
8054
                              port:
8055
                                description: Specifies the port on the host that is
8056
                                  being addressed.
8057
                                properties:
8058
                                  number:
8059
                                    type: integer
8060
                                type: object
8061
                              subset:
8062
                                description: The name of a subset within the service.
8063
                                type: string
8064
                            required:
8065
                            - host
8066
                            type: object
8067
                          percentage:
8068
                            description: Percentage of the traffic to be mirrored
8069
                              by the `destination` field.
8070
                            properties:
8071
                              value:
8072
                                format: double
8073
                                type: number
8074
                            type: object
8075
                        required:
8076
                        - destination
8077
                        type: object
8078
                      type: array
8079
                    name:
8080
                      description: The name assigned to the route for debugging purposes.
8081
                      type: string
8082
                    redirect:
8083
                      description: A HTTP rule can either return a direct_response,
8084
                        redirect or forward (default) traffic.
8085
                      oneOf:
8086
                      - not:
8087
                          anyOf:
8088
                          - required:
8089
                            - port
8090
                          - required:
8091
                            - derivePort
8092
                      - required:
8093
                        - port
8094
                      - required:
8095
                        - derivePort
8096
                      properties:
8097
                        authority:
8098
                          description: On a redirect, overwrite the Authority/Host
8099
                            portion of the URL with this value.
8100
                          type: string
8101
                        derivePort:
8102
                          description: |-
8103
                            On a redirect, dynamically set the port: * FROM_PROTOCOL_DEFAULT: automatically set to 80 for HTTP and 443 for HTTPS.
8104

8105
                            Valid Options: FROM_PROTOCOL_DEFAULT, FROM_REQUEST_PORT
8106
                          enum:
8107
                          - FROM_PROTOCOL_DEFAULT
8108
                          - FROM_REQUEST_PORT
8109
                          type: string
8110
                        port:
8111
                          description: On a redirect, overwrite the port portion of
8112
                            the URL with this value.
8113
                          type: integer
8114
                        redirectCode:
8115
                          description: On a redirect, Specifies the HTTP status code
8116
                            to use in the redirect response.
8117
                          type: integer
8118
                        scheme:
8119
                          description: On a redirect, overwrite the scheme portion
8120
                            of the URL with this value.
8121
                          type: string
8122
                        uri:
8123
                          description: On a redirect, overwrite the Path portion of
8124
                            the URL with this value.
8125
                          type: string
8126
                      type: object
8127
                    retries:
8128
                      description: Retry policy for HTTP requests.
8129
                      properties:
8130
                        attempts:
8131
                          description: Number of retries to be allowed for a given
8132
                            request.
8133
                          format: int32
8134
                          type: integer
8135
                        perTryTimeout:
8136
                          description: Timeout per attempt for a given request, including
8137
                            the initial call and any retries.
8138
                          type: string
8139
                        retryOn:
8140
                          description: Specifies the conditions under which retry
8141
                            takes place.
8142
                          type: string
8143
                        retryRemoteLocalities:
8144
                          description: Flag to specify whether the retries should
8145
                            retry to other localities.
8146
                          nullable: true
8147
                          type: boolean
8148
                      type: object
8149
                    rewrite:
8150
                      description: Rewrite HTTP URIs and Authority headers.
8151
                      properties:
8152
                        authority:
8153
                          description: rewrite the Authority/Host header with this
8154
                            value.
8155
                          type: string
8156
                        uri:
8157
                          description: rewrite the path (or the prefix) portion of
8158
                            the URI with this value.
8159
                          type: string
8160
                        uriRegexRewrite:
8161
                          description: rewrite the path portion of the URI with the
8162
                            specified regex.
8163
                          properties:
8164
                            match:
8165
                              description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
8166
                              type: string
8167
                            rewrite:
8168
                              description: The string that should replace into matching
8169
                                portions of original URI.
8170
                              type: string
8171
                          type: object
8172
                      type: object
8173
                    route:
8174
                      description: A HTTP rule can either return a direct_response,
8175
                        redirect or forward (default) traffic.
8176
                      items:
8177
                        properties:
8178
                          destination:
8179
                            description: Destination uniquely identifies the instances
8180
                              of a service to which the request/connection should
8181
                              be forwarded to.
8182
                            properties:
8183
                              host:
8184
                                description: The name of a service from the service
8185
                                  registry.
8186
                                type: string
8187
                              port:
8188
                                description: Specifies the port on the host that is
8189
                                  being addressed.
8190
                                properties:
8191
                                  number:
8192
                                    type: integer
8193
                                type: object
8194
                              subset:
8195
                                description: The name of a subset within the service.
8196
                                type: string
8197
                            required:
8198
                            - host
8199
                            type: object
8200
                          headers:
8201
                            properties:
8202
                              request:
8203
                                properties:
8204
                                  add:
8205
                                    additionalProperties:
8206
                                      type: string
8207
                                    type: object
8208
                                  remove:
8209
                                    items:
8210
                                      type: string
8211
                                    type: array
8212
                                  set:
8213
                                    additionalProperties:
8214
                                      type: string
8215
                                    type: object
8216
                                type: object
8217
                              response:
8218
                                properties:
8219
                                  add:
8220
                                    additionalProperties:
8221
                                      type: string
8222
                                    type: object
8223
                                  remove:
8224
                                    items:
8225
                                      type: string
8226
                                    type: array
8227
                                  set:
8228
                                    additionalProperties:
8229
                                      type: string
8230
                                    type: object
8231
                                type: object
8232
                            type: object
8233
                          weight:
8234
                            description: Weight specifies the relative proportion
8235
                              of traffic to be forwarded to the destination.
8236
                            format: int32
8237
                            type: integer
8238
                        required:
8239
                        - destination
8240
                        type: object
8241
                      type: array
8242
                    timeout:
8243
                      description: Timeout for HTTP requests, default is disabled.
8244
                      type: string
8245
                  type: object
8246
                type: array
8247
              tcp:
8248
                description: An ordered list of route rules for opaque TCP traffic.
8249
                items:
8250
                  properties:
8251
                    match:
8252
                      description: Match conditions to be satisfied for the rule to
8253
                        be activated.
8254
                      items:
8255
                        properties:
8256
                          destinationSubnets:
8257
                            description: IPv4 or IPv6 ip addresses of destination
8258
                              with optional subnet.
8259
                            items:
8260
                              type: string
8261
                            type: array
8262
                          gateways:
8263
                            description: Names of gateways where the rule should be
8264
                              applied.
8265
                            items:
8266
                              type: string
8267
                            type: array
8268
                          port:
8269
                            description: Specifies the port on the host that is being
8270
                              addressed.
8271
                            type: integer
8272
                          sourceLabels:
8273
                            additionalProperties:
8274
                              type: string
8275
                            description: One or more labels that constrain the applicability
8276
                              of a rule to workloads with the given labels.
8277
                            type: object
8278
                          sourceNamespace:
8279
                            description: Source namespace constraining the applicability
8280
                              of a rule to workloads in that namespace.
8281
                            type: string
8282
                          sourceSubnet:
8283
                            type: string
8284
                        type: object
8285
                      type: array
8286
                    route:
8287
                      description: The destination to which the connection should
8288
                        be forwarded to.
8289
                      items:
8290
                        properties:
8291
                          destination:
8292
                            description: Destination uniquely identifies the instances
8293
                              of a service to which the request/connection should
8294
                              be forwarded to.
8295
                            properties:
8296
                              host:
8297
                                description: The name of a service from the service
8298
                                  registry.
8299
                                type: string
8300
                              port:
8301
                                description: Specifies the port on the host that is
8302
                                  being addressed.
8303
                                properties:
8304
                                  number:
8305
                                    type: integer
8306
                                type: object
8307
                              subset:
8308
                                description: The name of a subset within the service.
8309
                                type: string
8310
                            required:
8311
                            - host
8312
                            type: object
8313
                          weight:
8314
                            description: Weight specifies the relative proportion
8315
                              of traffic to be forwarded to the destination.
8316
                            format: int32
8317
                            type: integer
8318
                        required:
8319
                        - destination
8320
                        type: object
8321
                      type: array
8322
                  type: object
8323
                type: array
8324
              tls:
8325
                description: An ordered list of route rule for non-terminated TLS
8326
                  & HTTPS traffic.
8327
                items:
8328
                  properties:
8329
                    match:
8330
                      description: Match conditions to be satisfied for the rule to
8331
                        be activated.
8332
                      items:
8333
                        properties:
8334
                          destinationSubnets:
8335
                            description: IPv4 or IPv6 ip addresses of destination
8336
                              with optional subnet.
8337
                            items:
8338
                              type: string
8339
                            type: array
8340
                          gateways:
8341
                            description: Names of gateways where the rule should be
8342
                              applied.
8343
                            items:
8344
                              type: string
8345
                            type: array
8346
                          port:
8347
                            description: Specifies the port on the host that is being
8348
                              addressed.
8349
                            type: integer
8350
                          sniHosts:
8351
                            description: SNI (server name indicator) to match on.
8352
                            items:
8353
                              type: string
8354
                            type: array
8355
                          sourceLabels:
8356
                            additionalProperties:
8357
                              type: string
8358
                            description: One or more labels that constrain the applicability
8359
                              of a rule to workloads with the given labels.
8360
                            type: object
8361
                          sourceNamespace:
8362
                            description: Source namespace constraining the applicability
8363
                              of a rule to workloads in that namespace.
8364
                            type: string
8365
                        required:
8366
                        - sniHosts
8367
                        type: object
8368
                      type: array
8369
                    route:
8370
                      description: The destination to which the connection should
8371
                        be forwarded to.
8372
                      items:
8373
                        properties:
8374
                          destination:
8375
                            description: Destination uniquely identifies the instances
8376
                              of a service to which the request/connection should
8377
                              be forwarded to.
8378
                            properties:
8379
                              host:
8380
                                description: The name of a service from the service
8381
                                  registry.
8382
                                type: string
8383
                              port:
8384
                                description: Specifies the port on the host that is
8385
                                  being addressed.
8386
                                properties:
8387
                                  number:
8388
                                    type: integer
8389
                                type: object
8390
                              subset:
8391
                                description: The name of a subset within the service.
8392
                                type: string
8393
                            required:
8394
                            - host
8395
                            type: object
8396
                          weight:
8397
                            description: Weight specifies the relative proportion
8398
                              of traffic to be forwarded to the destination.
8399
                            format: int32
8400
                            type: integer
8401
                        required:
8402
                        - destination
8403
                        type: object
8404
                      type: array
8405
                  required:
8406
                  - match
8407
                  type: object
8408
                type: array
8409
            type: object
8410
          status:
8411
            type: object
8412
            x-kubernetes-preserve-unknown-fields: true
8413
        type: object
8414
    served: true
8415
    storage: false
8416
    subresources:
8417
      status: {}
8418
  - additionalPrinterColumns:
8419
    - description: The names of gateways and sidecars that should apply these routes
8420
      jsonPath: .spec.gateways
8421
      name: Gateways
8422
      type: string
8423
    - description: The destination hosts to which traffic is being sent
8424
      jsonPath: .spec.hosts
8425
      name: Hosts
8426
      type: string
8427
    - description: 'CreationTimestamp is a timestamp representing the server time
8428
        when this object was created. It is not guaranteed to be set in happens-before
8429
        order across separate operations. Clients may not set this value. It is represented
8430
        in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for
8431
        lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
8432
      jsonPath: .metadata.creationTimestamp
8433
      name: Age
8434
      type: date
8435
    name: v1alpha3
8436
    schema:
8437
      openAPIV3Schema:
8438
        properties:
8439
          spec:
8440
            description: 'Configuration affecting label/content routing, sni routing,
8441
              etc. See more details at: https://istio.io/docs/reference/config/networking/virtual-service.html'
8442
            properties:
8443
              exportTo:
8444
                description: A list of namespaces to which this virtual service is
8445
                  exported.
8446
                items:
8447
                  type: string
8448
                type: array
8449
              gateways:
8450
                description: The names of gateways and sidecars that should apply
8451
                  these routes.
8452
                items:
8453
                  type: string
8454
                type: array
8455
              hosts:
8456
                description: The destination hosts to which traffic is being sent.
8457
                items:
8458
                  type: string
8459
                type: array
8460
              http:
8461
                description: An ordered list of route rules for HTTP traffic.
8462
                items:
8463
                  properties:
8464
                    corsPolicy:
8465
                      description: Cross-Origin Resource Sharing policy (CORS).
8466
                      properties:
8467
                        allowCredentials:
8468
                          description: Indicates whether the caller is allowed to
8469
                            send the actual request (not the preflight) using credentials.
8470
                          nullable: true
8471
                          type: boolean
8472
                        allowHeaders:
8473
                          description: List of HTTP headers that can be used when
8474
                            requesting the resource.
8475
                          items:
8476
                            type: string
8477
                          type: array
8478
                        allowMethods:
8479
                          description: List of HTTP methods allowed to access the
8480
                            resource.
8481
                          items:
8482
                            type: string
8483
                          type: array
8484
                        allowOrigin:
8485
                          items:
8486
                            type: string
8487
                          type: array
8488
                        allowOrigins:
8489
                          description: String patterns that match allowed origins.
8490
                          items:
8491
                            oneOf:
8492
                            - not:
8493
                                anyOf:
8494
                                - required:
8495
                                  - exact
8496
                                - required:
8497
                                  - prefix
8498
                                - required:
8499
                                  - regex
8500
                            - required:
8501
                              - exact
8502
                            - required:
8503
                              - prefix
8504
                            - required:
8505
                              - regex
8506
                            properties:
8507
                              exact:
8508
                                type: string
8509
                              prefix:
8510
                                type: string
8511
                              regex:
8512
                                description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
8513
                                type: string
8514
                            type: object
8515
                          type: array
8516
                        exposeHeaders:
8517
                          description: A list of HTTP headers that the browsers are
8518
                            allowed to access.
8519
                          items:
8520
                            type: string
8521
                          type: array
8522
                        maxAge:
8523
                          description: Specifies how long the results of a preflight
8524
                            request can be cached.
8525
                          type: string
8526
                      type: object
8527
                    delegate:
8528
                      description: Delegate is used to specify the particular VirtualService
8529
                        which can be used to define delegate HTTPRoute.
8530
                      properties:
8531
                        name:
8532
                          description: Name specifies the name of the delegate VirtualService.
8533
                          type: string
8534
                        namespace:
8535
                          description: Namespace specifies the namespace where the
8536
                            delegate VirtualService resides.
8537
                          type: string
8538
                      type: object
8539
                    directResponse:
8540
                      description: A HTTP rule can either return a direct_response,
8541
                        redirect or forward (default) traffic.
8542
                      properties:
8543
                        body:
8544
                          description: Specifies the content of the response body.
8545
                          oneOf:
8546
                          - not:
8547
                              anyOf:
8548
                              - required:
8549
                                - string
8550
                              - required:
8551
                                - bytes
8552
                          - required:
8553
                            - string
8554
                          - required:
8555
                            - bytes
8556
                          properties:
8557
                            bytes:
8558
                              description: response body as base64 encoded bytes.
8559
                              format: binary
8560
                              type: string
8561
                            string:
8562
                              type: string
8563
                          type: object
8564
                        status:
8565
                          description: Specifies the HTTP response status to be returned.
8566
                          type: integer
8567
                      required:
8568
                      - status
8569
                      type: object
8570
                    fault:
8571
                      description: Fault injection policy to apply on HTTP traffic
8572
                        at the client side.
8573
                      properties:
8574
                        abort:
8575
                          description: Abort Http request attempts and return error
8576
                            codes back to downstream service, giving the impression
8577
                            that the upstream service is faulty.
8578
                          oneOf:
8579
                          - not:
8580
                              anyOf:
8581
                              - required:
8582
                                - httpStatus
8583
                              - required:
8584
                                - grpcStatus
8585
                              - required:
8586
                                - http2Error
8587
                          - required:
8588
                            - httpStatus
8589
                          - required:
8590
                            - grpcStatus
8591
                          - required:
8592
                            - http2Error
8593
                          properties:
8594
                            grpcStatus:
8595
                              description: GRPC status code to use to abort the request.
8596
                              type: string
8597
                            http2Error:
8598
                              type: string
8599
                            httpStatus:
8600
                              description: HTTP status code to use to abort the Http
8601
                                request.
8602
                              format: int32
8603
                              type: integer
8604
                            percentage:
8605
                              description: Percentage of requests to be aborted with
8606
                                the error code provided.
8607
                              properties:
8608
                                value:
8609
                                  format: double
8610
                                  type: number
8611
                              type: object
8612
                          type: object
8613
                        delay:
8614
                          description: Delay requests before forwarding, emulating
8615
                            various failures such as network issues, overloaded upstream
8616
                            service, etc.
8617
                          oneOf:
8618
                          - not:
8619
                              anyOf:
8620
                              - required:
8621
                                - fixedDelay
8622
                              - required:
8623
                                - exponentialDelay
8624
                          - required:
8625
                            - fixedDelay
8626
                          - required:
8627
                            - exponentialDelay
8628
                          properties:
8629
                            exponentialDelay:
8630
                              type: string
8631
                            fixedDelay:
8632
                              description: Add a fixed delay before forwarding the
8633
                                request.
8634
                              type: string
8635
                            percent:
8636
                              description: Percentage of requests on which the delay
8637
                                will be injected (0-100).
8638
                              format: int32
8639
                              type: integer
8640
                            percentage:
8641
                              description: Percentage of requests on which the delay
8642
                                will be injected.
8643
                              properties:
8644
                                value:
8645
                                  format: double
8646
                                  type: number
8647
                              type: object
8648
                          type: object
8649
                      type: object
8650
                    headers:
8651
                      properties:
8652
                        request:
8653
                          properties:
8654
                            add:
8655
                              additionalProperties:
8656
                                type: string
8657
                              type: object
8658
                            remove:
8659
                              items:
8660
                                type: string
8661
                              type: array
8662
                            set:
8663
                              additionalProperties:
8664
                                type: string
8665
                              type: object
8666
                          type: object
8667
                        response:
8668
                          properties:
8669
                            add:
8670
                              additionalProperties:
8671
                                type: string
8672
                              type: object
8673
                            remove:
8674
                              items:
8675
                                type: string
8676
                              type: array
8677
                            set:
8678
                              additionalProperties:
8679
                                type: string
8680
                              type: object
8681
                          type: object
8682
                      type: object
8683
                    match:
8684
                      description: Match conditions to be satisfied for the rule to
8685
                        be activated.
8686
                      items:
8687
                        properties:
8688
                          authority:
8689
                            description: 'HTTP Authority values are case-sensitive
8690
                              and formatted as follows: - `exact: "value"` for exact
8691
                              string match - `prefix: "value"` for prefix-based match
8692
                              - `regex: "value"` for RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).'
8693
                            oneOf:
8694
                            - not:
8695
                                anyOf:
8696
                                - required:
8697
                                  - exact
8698
                                - required:
8699
                                  - prefix
8700
                                - required:
8701
                                  - regex
8702
                            - required:
8703
                              - exact
8704
                            - required:
8705
                              - prefix
8706
                            - required:
8707
                              - regex
8708
                            properties:
8709
                              exact:
8710
                                type: string
8711
                              prefix:
8712
                                type: string
8713
                              regex:
8714
                                description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
8715
                                type: string
8716
                            type: object
8717
                          gateways:
8718
                            description: Names of gateways where the rule should be
8719
                              applied.
8720
                            items:
8721
                              type: string
8722
                            type: array
8723
                          headers:
8724
                            additionalProperties:
8725
                              oneOf:
8726
                              - not:
8727
                                  anyOf:
8728
                                  - required:
8729
                                    - exact
8730
                                  - required:
8731
                                    - prefix
8732
                                  - required:
8733
                                    - regex
8734
                              - required:
8735
                                - exact
8736
                              - required:
8737
                                - prefix
8738
                              - required:
8739
                                - regex
8740
                              properties:
8741
                                exact:
8742
                                  type: string
8743
                                prefix:
8744
                                  type: string
8745
                                regex:
8746
                                  description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
8747
                                  type: string
8748
                              type: object
8749
                            description: The header keys must be lowercase and use
8750
                              hyphen as the separator, e.g.
8751
                            type: object
8752
                          ignoreUriCase:
8753
                            description: Flag to specify whether the URI matching
8754
                              should be case-insensitive.
8755
                            type: boolean
8756
                          method:
8757
                            description: 'HTTP Method values are case-sensitive and
8758
                              formatted as follows: - `exact: "value"` for exact string
8759
                              match - `prefix: "value"` for prefix-based match - `regex:
8760
                              "value"` for RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).'
8761
                            oneOf:
8762
                            - not:
8763
                                anyOf:
8764
                                - required:
8765
                                  - exact
8766
                                - required:
8767
                                  - prefix
8768
                                - required:
8769
                                  - regex
8770
                            - required:
8771
                              - exact
8772
                            - required:
8773
                              - prefix
8774
                            - required:
8775
                              - regex
8776
                            properties:
8777
                              exact:
8778
                                type: string
8779
                              prefix:
8780
                                type: string
8781
                              regex:
8782
                                description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
8783
                                type: string
8784
                            type: object
8785
                          name:
8786
                            description: The name assigned to a match.
8787
                            type: string
8788
                          port:
8789
                            description: Specifies the ports on the host that is being
8790
                              addressed.
8791
                            type: integer
8792
                          queryParams:
8793
                            additionalProperties:
8794
                              oneOf:
8795
                              - not:
8796
                                  anyOf:
8797
                                  - required:
8798
                                    - exact
8799
                                  - required:
8800
                                    - prefix
8801
                                  - required:
8802
                                    - regex
8803
                              - required:
8804
                                - exact
8805
                              - required:
8806
                                - prefix
8807
                              - required:
8808
                                - regex
8809
                              properties:
8810
                                exact:
8811
                                  type: string
8812
                                prefix:
8813
                                  type: string
8814
                                regex:
8815
                                  description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
8816
                                  type: string
8817
                              type: object
8818
                            description: Query parameters for matching.
8819
                            type: object
8820
                          scheme:
8821
                            description: 'URI Scheme values are case-sensitive and
8822
                              formatted as follows: - `exact: "value"` for exact string
8823
                              match - `prefix: "value"` for prefix-based match - `regex:
8824
                              "value"` for RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).'
8825
                            oneOf:
8826
                            - not:
8827
                                anyOf:
8828
                                - required:
8829
                                  - exact
8830
                                - required:
8831
                                  - prefix
8832
                                - required:
8833
                                  - regex
8834
                            - required:
8835
                              - exact
8836
                            - required:
8837
                              - prefix
8838
                            - required:
8839
                              - regex
8840
                            properties:
8841
                              exact:
8842
                                type: string
8843
                              prefix:
8844
                                type: string
8845
                              regex:
8846
                                description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
8847
                                type: string
8848
                            type: object
8849
                          sourceLabels:
8850
                            additionalProperties:
8851
                              type: string
8852
                            description: One or more labels that constrain the applicability
8853
                              of a rule to source (client) workloads with the given
8854
                              labels.
8855
                            type: object
8856
                          sourceNamespace:
8857
                            description: Source namespace constraining the applicability
8858
                              of a rule to workloads in that namespace.
8859
                            type: string
8860
                          statPrefix:
8861
                            description: The human readable prefix to use when emitting
8862
                              statistics for this route.
8863
                            type: string
8864
                          uri:
8865
                            description: 'URI to match values are case-sensitive and
8866
                              formatted as follows: - `exact: "value"` for exact string
8867
                              match - `prefix: "value"` for prefix-based match - `regex:
8868
                              "value"` for RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).'
8869
                            oneOf:
8870
                            - not:
8871
                                anyOf:
8872
                                - required:
8873
                                  - exact
8874
                                - required:
8875
                                  - prefix
8876
                                - required:
8877
                                  - regex
8878
                            - required:
8879
                              - exact
8880
                            - required:
8881
                              - prefix
8882
                            - required:
8883
                              - regex
8884
                            properties:
8885
                              exact:
8886
                                type: string
8887
                              prefix:
8888
                                type: string
8889
                              regex:
8890
                                description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
8891
                                type: string
8892
                            type: object
8893
                          withoutHeaders:
8894
                            additionalProperties:
8895
                              oneOf:
8896
                              - not:
8897
                                  anyOf:
8898
                                  - required:
8899
                                    - exact
8900
                                  - required:
8901
                                    - prefix
8902
                                  - required:
8903
                                    - regex
8904
                              - required:
8905
                                - exact
8906
                              - required:
8907
                                - prefix
8908
                              - required:
8909
                                - regex
8910
                              properties:
8911
                                exact:
8912
                                  type: string
8913
                                prefix:
8914
                                  type: string
8915
                                regex:
8916
                                  description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
8917
                                  type: string
8918
                              type: object
8919
                            description: withoutHeader has the same syntax with the
8920
                              header, but has opposite meaning.
8921
                            type: object
8922
                        type: object
8923
                      type: array
8924
                    mirror:
8925
                      description: Mirror HTTP traffic to a another destination in
8926
                        addition to forwarding the requests to the intended destination.
8927
                      properties:
8928
                        host:
8929
                          description: The name of a service from the service registry.
8930
                          type: string
8931
                        port:
8932
                          description: Specifies the port on the host that is being
8933
                            addressed.
8934
                          properties:
8935
                            number:
8936
                              type: integer
8937
                          type: object
8938
                        subset:
8939
                          description: The name of a subset within the service.
8940
                          type: string
8941
                      required:
8942
                      - host
8943
                      type: object
8944
                    mirror_percent:
8945
                      nullable: true
8946
                      type: integer
8947
                    mirrorPercent:
8948
                      nullable: true
8949
                      type: integer
8950
                    mirrorPercentage:
8951
                      description: Percentage of the traffic to be mirrored by the
8952
                        `mirror` field.
8953
                      properties:
8954
                        value:
8955
                          format: double
8956
                          type: number
8957
                      type: object
8958
                    mirrors:
8959
                      description: Specifies the destinations to mirror HTTP traffic
8960
                        in addition to the original destination.
8961
                      items:
8962
                        properties:
8963
                          destination:
8964
                            description: Destination specifies the target of the mirror
8965
                              operation.
8966
                            properties:
8967
                              host:
8968
                                description: The name of a service from the service
8969
                                  registry.
8970
                                type: string
8971
                              port:
8972
                                description: Specifies the port on the host that is
8973
                                  being addressed.
8974
                                properties:
8975
                                  number:
8976
                                    type: integer
8977
                                type: object
8978
                              subset:
8979
                                description: The name of a subset within the service.
8980
                                type: string
8981
                            required:
8982
                            - host
8983
                            type: object
8984
                          percentage:
8985
                            description: Percentage of the traffic to be mirrored
8986
                              by the `destination` field.
8987
                            properties:
8988
                              value:
8989
                                format: double
8990
                                type: number
8991
                            type: object
8992
                        required:
8993
                        - destination
8994
                        type: object
8995
                      type: array
8996
                    name:
8997
                      description: The name assigned to the route for debugging purposes.
8998
                      type: string
8999
                    redirect:
9000
                      description: A HTTP rule can either return a direct_response,
9001
                        redirect or forward (default) traffic.
9002
                      oneOf:
9003
                      - not:
9004
                          anyOf:
9005
                          - required:
9006
                            - port
9007
                          - required:
9008
                            - derivePort
9009
                      - required:
9010
                        - port
9011
                      - required:
9012
                        - derivePort
9013
                      properties:
9014
                        authority:
9015
                          description: On a redirect, overwrite the Authority/Host
9016
                            portion of the URL with this value.
9017
                          type: string
9018
                        derivePort:
9019
                          description: |-
9020
                            On a redirect, dynamically set the port: * FROM_PROTOCOL_DEFAULT: automatically set to 80 for HTTP and 443 for HTTPS.
9021

9022
                            Valid Options: FROM_PROTOCOL_DEFAULT, FROM_REQUEST_PORT
9023
                          enum:
9024
                          - FROM_PROTOCOL_DEFAULT
9025
                          - FROM_REQUEST_PORT
9026
                          type: string
9027
                        port:
9028
                          description: On a redirect, overwrite the port portion of
9029
                            the URL with this value.
9030
                          type: integer
9031
                        redirectCode:
9032
                          description: On a redirect, Specifies the HTTP status code
9033
                            to use in the redirect response.
9034
                          type: integer
9035
                        scheme:
9036
                          description: On a redirect, overwrite the scheme portion
9037
                            of the URL with this value.
9038
                          type: string
9039
                        uri:
9040
                          description: On a redirect, overwrite the Path portion of
9041
                            the URL with this value.
9042
                          type: string
9043
                      type: object
9044
                    retries:
9045
                      description: Retry policy for HTTP requests.
9046
                      properties:
9047
                        attempts:
9048
                          description: Number of retries to be allowed for a given
9049
                            request.
9050
                          format: int32
9051
                          type: integer
9052
                        perTryTimeout:
9053
                          description: Timeout per attempt for a given request, including
9054
                            the initial call and any retries.
9055
                          type: string
9056
                        retryOn:
9057
                          description: Specifies the conditions under which retry
9058
                            takes place.
9059
                          type: string
9060
                        retryRemoteLocalities:
9061
                          description: Flag to specify whether the retries should
9062
                            retry to other localities.
9063
                          nullable: true
9064
                          type: boolean
9065
                      type: object
9066
                    rewrite:
9067
                      description: Rewrite HTTP URIs and Authority headers.
9068
                      properties:
9069
                        authority:
9070
                          description: rewrite the Authority/Host header with this
9071
                            value.
9072
                          type: string
9073
                        uri:
9074
                          description: rewrite the path (or the prefix) portion of
9075
                            the URI with this value.
9076
                          type: string
9077
                        uriRegexRewrite:
9078
                          description: rewrite the path portion of the URI with the
9079
                            specified regex.
9080
                          properties:
9081
                            match:
9082
                              description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
9083
                              type: string
9084
                            rewrite:
9085
                              description: The string that should replace into matching
9086
                                portions of original URI.
9087
                              type: string
9088
                          type: object
9089
                      type: object
9090
                    route:
9091
                      description: A HTTP rule can either return a direct_response,
9092
                        redirect or forward (default) traffic.
9093
                      items:
9094
                        properties:
9095
                          destination:
9096
                            description: Destination uniquely identifies the instances
9097
                              of a service to which the request/connection should
9098
                              be forwarded to.
9099
                            properties:
9100
                              host:
9101
                                description: The name of a service from the service
9102
                                  registry.
9103
                                type: string
9104
                              port:
9105
                                description: Specifies the port on the host that is
9106
                                  being addressed.
9107
                                properties:
9108
                                  number:
9109
                                    type: integer
9110
                                type: object
9111
                              subset:
9112
                                description: The name of a subset within the service.
9113
                                type: string
9114
                            required:
9115
                            - host
9116
                            type: object
9117
                          headers:
9118
                            properties:
9119
                              request:
9120
                                properties:
9121
                                  add:
9122
                                    additionalProperties:
9123
                                      type: string
9124
                                    type: object
9125
                                  remove:
9126
                                    items:
9127
                                      type: string
9128
                                    type: array
9129
                                  set:
9130
                                    additionalProperties:
9131
                                      type: string
9132
                                    type: object
9133
                                type: object
9134
                              response:
9135
                                properties:
9136
                                  add:
9137
                                    additionalProperties:
9138
                                      type: string
9139
                                    type: object
9140
                                  remove:
9141
                                    items:
9142
                                      type: string
9143
                                    type: array
9144
                                  set:
9145
                                    additionalProperties:
9146
                                      type: string
9147
                                    type: object
9148
                                type: object
9149
                            type: object
9150
                          weight:
9151
                            description: Weight specifies the relative proportion
9152
                              of traffic to be forwarded to the destination.
9153
                            format: int32
9154
                            type: integer
9155
                        required:
9156
                        - destination
9157
                        type: object
9158
                      type: array
9159
                    timeout:
9160
                      description: Timeout for HTTP requests, default is disabled.
9161
                      type: string
9162
                  type: object
9163
                type: array
9164
              tcp:
9165
                description: An ordered list of route rules for opaque TCP traffic.
9166
                items:
9167
                  properties:
9168
                    match:
9169
                      description: Match conditions to be satisfied for the rule to
9170
                        be activated.
9171
                      items:
9172
                        properties:
9173
                          destinationSubnets:
9174
                            description: IPv4 or IPv6 ip addresses of destination
9175
                              with optional subnet.
9176
                            items:
9177
                              type: string
9178
                            type: array
9179
                          gateways:
9180
                            description: Names of gateways where the rule should be
9181
                              applied.
9182
                            items:
9183
                              type: string
9184
                            type: array
9185
                          port:
9186
                            description: Specifies the port on the host that is being
9187
                              addressed.
9188
                            type: integer
9189
                          sourceLabels:
9190
                            additionalProperties:
9191
                              type: string
9192
                            description: One or more labels that constrain the applicability
9193
                              of a rule to workloads with the given labels.
9194
                            type: object
9195
                          sourceNamespace:
9196
                            description: Source namespace constraining the applicability
9197
                              of a rule to workloads in that namespace.
9198
                            type: string
9199
                          sourceSubnet:
9200
                            type: string
9201
                        type: object
9202
                      type: array
9203
                    route:
9204
                      description: The destination to which the connection should
9205
                        be forwarded to.
9206
                      items:
9207
                        properties:
9208
                          destination:
9209
                            description: Destination uniquely identifies the instances
9210
                              of a service to which the request/connection should
9211
                              be forwarded to.
9212
                            properties:
9213
                              host:
9214
                                description: The name of a service from the service
9215
                                  registry.
9216
                                type: string
9217
                              port:
9218
                                description: Specifies the port on the host that is
9219
                                  being addressed.
9220
                                properties:
9221
                                  number:
9222
                                    type: integer
9223
                                type: object
9224
                              subset:
9225
                                description: The name of a subset within the service.
9226
                                type: string
9227
                            required:
9228
                            - host
9229
                            type: object
9230
                          weight:
9231
                            description: Weight specifies the relative proportion
9232
                              of traffic to be forwarded to the destination.
9233
                            format: int32
9234
                            type: integer
9235
                        required:
9236
                        - destination
9237
                        type: object
9238
                      type: array
9239
                  type: object
9240
                type: array
9241
              tls:
9242
                description: An ordered list of route rule for non-terminated TLS
9243
                  & HTTPS traffic.
9244
                items:
9245
                  properties:
9246
                    match:
9247
                      description: Match conditions to be satisfied for the rule to
9248
                        be activated.
9249
                      items:
9250
                        properties:
9251
                          destinationSubnets:
9252
                            description: IPv4 or IPv6 ip addresses of destination
9253
                              with optional subnet.
9254
                            items:
9255
                              type: string
9256
                            type: array
9257
                          gateways:
9258
                            description: Names of gateways where the rule should be
9259
                              applied.
9260
                            items:
9261
                              type: string
9262
                            type: array
9263
                          port:
9264
                            description: Specifies the port on the host that is being
9265
                              addressed.
9266
                            type: integer
9267
                          sniHosts:
9268
                            description: SNI (server name indicator) to match on.
9269
                            items:
9270
                              type: string
9271
                            type: array
9272
                          sourceLabels:
9273
                            additionalProperties:
9274
                              type: string
9275
                            description: One or more labels that constrain the applicability
9276
                              of a rule to workloads with the given labels.
9277
                            type: object
9278
                          sourceNamespace:
9279
                            description: Source namespace constraining the applicability
9280
                              of a rule to workloads in that namespace.
9281
                            type: string
9282
                        required:
9283
                        - sniHosts
9284
                        type: object
9285
                      type: array
9286
                    route:
9287
                      description: The destination to which the connection should
9288
                        be forwarded to.
9289
                      items:
9290
                        properties:
9291
                          destination:
9292
                            description: Destination uniquely identifies the instances
9293
                              of a service to which the request/connection should
9294
                              be forwarded to.
9295
                            properties:
9296
                              host:
9297
                                description: The name of a service from the service
9298
                                  registry.
9299
                                type: string
9300
                              port:
9301
                                description: Specifies the port on the host that is
9302
                                  being addressed.
9303
                                properties:
9304
                                  number:
9305
                                    type: integer
9306
                                type: object
9307
                              subset:
9308
                                description: The name of a subset within the service.
9309
                                type: string
9310
                            required:
9311
                            - host
9312
                            type: object
9313
                          weight:
9314
                            description: Weight specifies the relative proportion
9315
                              of traffic to be forwarded to the destination.
9316
                            format: int32
9317
                            type: integer
9318
                        required:
9319
                        - destination
9320
                        type: object
9321
                      type: array
9322
                  required:
9323
                  - match
9324
                  type: object
9325
                type: array
9326
            type: object
9327
          status:
9328
            type: object
9329
            x-kubernetes-preserve-unknown-fields: true
9330
        type: object
9331
    served: true
9332
    storage: false
9333
    subresources:
9334
      status: {}
9335
  - additionalPrinterColumns:
9336
    - description: The names of gateways and sidecars that should apply these routes
9337
      jsonPath: .spec.gateways
9338
      name: Gateways
9339
      type: string
9340
    - description: The destination hosts to which traffic is being sent
9341
      jsonPath: .spec.hosts
9342
      name: Hosts
9343
      type: string
9344
    - description: 'CreationTimestamp is a timestamp representing the server time
9345
        when this object was created. It is not guaranteed to be set in happens-before
9346
        order across separate operations. Clients may not set this value. It is represented
9347
        in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for
9348
        lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
9349
      jsonPath: .metadata.creationTimestamp
9350
      name: Age
9351
      type: date
9352
    name: v1beta1
9353
    schema:
9354
      openAPIV3Schema:
9355
        properties:
9356
          spec:
9357
            description: 'Configuration affecting label/content routing, sni routing,
9358
              etc. See more details at: https://istio.io/docs/reference/config/networking/virtual-service.html'
9359
            properties:
9360
              exportTo:
9361
                description: A list of namespaces to which this virtual service is
9362
                  exported.
9363
                items:
9364
                  type: string
9365
                type: array
9366
              gateways:
9367
                description: The names of gateways and sidecars that should apply
9368
                  these routes.
9369
                items:
9370
                  type: string
9371
                type: array
9372
              hosts:
9373
                description: The destination hosts to which traffic is being sent.
9374
                items:
9375
                  type: string
9376
                type: array
9377
              http:
9378
                description: An ordered list of route rules for HTTP traffic.
9379
                items:
9380
                  properties:
9381
                    corsPolicy:
9382
                      description: Cross-Origin Resource Sharing policy (CORS).
9383
                      properties:
9384
                        allowCredentials:
9385
                          description: Indicates whether the caller is allowed to
9386
                            send the actual request (not the preflight) using credentials.
9387
                          nullable: true
9388
                          type: boolean
9389
                        allowHeaders:
9390
                          description: List of HTTP headers that can be used when
9391
                            requesting the resource.
9392
                          items:
9393
                            type: string
9394
                          type: array
9395
                        allowMethods:
9396
                          description: List of HTTP methods allowed to access the
9397
                            resource.
9398
                          items:
9399
                            type: string
9400
                          type: array
9401
                        allowOrigin:
9402
                          items:
9403
                            type: string
9404
                          type: array
9405
                        allowOrigins:
9406
                          description: String patterns that match allowed origins.
9407
                          items:
9408
                            oneOf:
9409
                            - not:
9410
                                anyOf:
9411
                                - required:
9412
                                  - exact
9413
                                - required:
9414
                                  - prefix
9415
                                - required:
9416
                                  - regex
9417
                            - required:
9418
                              - exact
9419
                            - required:
9420
                              - prefix
9421
                            - required:
9422
                              - regex
9423
                            properties:
9424
                              exact:
9425
                                type: string
9426
                              prefix:
9427
                                type: string
9428
                              regex:
9429
                                description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
9430
                                type: string
9431
                            type: object
9432
                          type: array
9433
                        exposeHeaders:
9434
                          description: A list of HTTP headers that the browsers are
9435
                            allowed to access.
9436
                          items:
9437
                            type: string
9438
                          type: array
9439
                        maxAge:
9440
                          description: Specifies how long the results of a preflight
9441
                            request can be cached.
9442
                          type: string
9443
                      type: object
9444
                    delegate:
9445
                      description: Delegate is used to specify the particular VirtualService
9446
                        which can be used to define delegate HTTPRoute.
9447
                      properties:
9448
                        name:
9449
                          description: Name specifies the name of the delegate VirtualService.
9450
                          type: string
9451
                        namespace:
9452
                          description: Namespace specifies the namespace where the
9453
                            delegate VirtualService resides.
9454
                          type: string
9455
                      type: object
9456
                    directResponse:
9457
                      description: A HTTP rule can either return a direct_response,
9458
                        redirect or forward (default) traffic.
9459
                      properties:
9460
                        body:
9461
                          description: Specifies the content of the response body.
9462
                          oneOf:
9463
                          - not:
9464
                              anyOf:
9465
                              - required:
9466
                                - string
9467
                              - required:
9468
                                - bytes
9469
                          - required:
9470
                            - string
9471
                          - required:
9472
                            - bytes
9473
                          properties:
9474
                            bytes:
9475
                              description: response body as base64 encoded bytes.
9476
                              format: binary
9477
                              type: string
9478
                            string:
9479
                              type: string
9480
                          type: object
9481
                        status:
9482
                          description: Specifies the HTTP response status to be returned.
9483
                          type: integer
9484
                      required:
9485
                      - status
9486
                      type: object
9487
                    fault:
9488
                      description: Fault injection policy to apply on HTTP traffic
9489
                        at the client side.
9490
                      properties:
9491
                        abort:
9492
                          description: Abort Http request attempts and return error
9493
                            codes back to downstream service, giving the impression
9494
                            that the upstream service is faulty.
9495
                          oneOf:
9496
                          - not:
9497
                              anyOf:
9498
                              - required:
9499
                                - httpStatus
9500
                              - required:
9501
                                - grpcStatus
9502
                              - required:
9503
                                - http2Error
9504
                          - required:
9505
                            - httpStatus
9506
                          - required:
9507
                            - grpcStatus
9508
                          - required:
9509
                            - http2Error
9510
                          properties:
9511
                            grpcStatus:
9512
                              description: GRPC status code to use to abort the request.
9513
                              type: string
9514
                            http2Error:
9515
                              type: string
9516
                            httpStatus:
9517
                              description: HTTP status code to use to abort the Http
9518
                                request.
9519
                              format: int32
9520
                              type: integer
9521
                            percentage:
9522
                              description: Percentage of requests to be aborted with
9523
                                the error code provided.
9524
                              properties:
9525
                                value:
9526
                                  format: double
9527
                                  type: number
9528
                              type: object
9529
                          type: object
9530
                        delay:
9531
                          description: Delay requests before forwarding, emulating
9532
                            various failures such as network issues, overloaded upstream
9533
                            service, etc.
9534
                          oneOf:
9535
                          - not:
9536
                              anyOf:
9537
                              - required:
9538
                                - fixedDelay
9539
                              - required:
9540
                                - exponentialDelay
9541
                          - required:
9542
                            - fixedDelay
9543
                          - required:
9544
                            - exponentialDelay
9545
                          properties:
9546
                            exponentialDelay:
9547
                              type: string
9548
                            fixedDelay:
9549
                              description: Add a fixed delay before forwarding the
9550
                                request.
9551
                              type: string
9552
                            percent:
9553
                              description: Percentage of requests on which the delay
9554
                                will be injected (0-100).
9555
                              format: int32
9556
                              type: integer
9557
                            percentage:
9558
                              description: Percentage of requests on which the delay
9559
                                will be injected.
9560
                              properties:
9561
                                value:
9562
                                  format: double
9563
                                  type: number
9564
                              type: object
9565
                          type: object
9566
                      type: object
9567
                    headers:
9568
                      properties:
9569
                        request:
9570
                          properties:
9571
                            add:
9572
                              additionalProperties:
9573
                                type: string
9574
                              type: object
9575
                            remove:
9576
                              items:
9577
                                type: string
9578
                              type: array
9579
                            set:
9580
                              additionalProperties:
9581
                                type: string
9582
                              type: object
9583
                          type: object
9584
                        response:
9585
                          properties:
9586
                            add:
9587
                              additionalProperties:
9588
                                type: string
9589
                              type: object
9590
                            remove:
9591
                              items:
9592
                                type: string
9593
                              type: array
9594
                            set:
9595
                              additionalProperties:
9596
                                type: string
9597
                              type: object
9598
                          type: object
9599
                      type: object
9600
                    match:
9601
                      description: Match conditions to be satisfied for the rule to
9602
                        be activated.
9603
                      items:
9604
                        properties:
9605
                          authority:
9606
                            description: 'HTTP Authority values are case-sensitive
9607
                              and formatted as follows: - `exact: "value"` for exact
9608
                              string match - `prefix: "value"` for prefix-based match
9609
                              - `regex: "value"` for RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).'
9610
                            oneOf:
9611
                            - not:
9612
                                anyOf:
9613
                                - required:
9614
                                  - exact
9615
                                - required:
9616
                                  - prefix
9617
                                - required:
9618
                                  - regex
9619
                            - required:
9620
                              - exact
9621
                            - required:
9622
                              - prefix
9623
                            - required:
9624
                              - regex
9625
                            properties:
9626
                              exact:
9627
                                type: string
9628
                              prefix:
9629
                                type: string
9630
                              regex:
9631
                                description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
9632
                                type: string
9633
                            type: object
9634
                          gateways:
9635
                            description: Names of gateways where the rule should be
9636
                              applied.
9637
                            items:
9638
                              type: string
9639
                            type: array
9640
                          headers:
9641
                            additionalProperties:
9642
                              oneOf:
9643
                              - not:
9644
                                  anyOf:
9645
                                  - required:
9646
                                    - exact
9647
                                  - required:
9648
                                    - prefix
9649
                                  - required:
9650
                                    - regex
9651
                              - required:
9652
                                - exact
9653
                              - required:
9654
                                - prefix
9655
                              - required:
9656
                                - regex
9657
                              properties:
9658
                                exact:
9659
                                  type: string
9660
                                prefix:
9661
                                  type: string
9662
                                regex:
9663
                                  description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
9664
                                  type: string
9665
                              type: object
9666
                            description: The header keys must be lowercase and use
9667
                              hyphen as the separator, e.g.
9668
                            type: object
9669
                          ignoreUriCase:
9670
                            description: Flag to specify whether the URI matching
9671
                              should be case-insensitive.
9672
                            type: boolean
9673
                          method:
9674
                            description: 'HTTP Method values are case-sensitive and
9675
                              formatted as follows: - `exact: "value"` for exact string
9676
                              match - `prefix: "value"` for prefix-based match - `regex:
9677
                              "value"` for RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).'
9678
                            oneOf:
9679
                            - not:
9680
                                anyOf:
9681
                                - required:
9682
                                  - exact
9683
                                - required:
9684
                                  - prefix
9685
                                - required:
9686
                                  - regex
9687
                            - required:
9688
                              - exact
9689
                            - required:
9690
                              - prefix
9691
                            - required:
9692
                              - regex
9693
                            properties:
9694
                              exact:
9695
                                type: string
9696
                              prefix:
9697
                                type: string
9698
                              regex:
9699
                                description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
9700
                                type: string
9701
                            type: object
9702
                          name:
9703
                            description: The name assigned to a match.
9704
                            type: string
9705
                          port:
9706
                            description: Specifies the ports on the host that is being
9707
                              addressed.
9708
                            type: integer
9709
                          queryParams:
9710
                            additionalProperties:
9711
                              oneOf:
9712
                              - not:
9713
                                  anyOf:
9714
                                  - required:
9715
                                    - exact
9716
                                  - required:
9717
                                    - prefix
9718
                                  - required:
9719
                                    - regex
9720
                              - required:
9721
                                - exact
9722
                              - required:
9723
                                - prefix
9724
                              - required:
9725
                                - regex
9726
                              properties:
9727
                                exact:
9728
                                  type: string
9729
                                prefix:
9730
                                  type: string
9731
                                regex:
9732
                                  description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
9733
                                  type: string
9734
                              type: object
9735
                            description: Query parameters for matching.
9736
                            type: object
9737
                          scheme:
9738
                            description: 'URI Scheme values are case-sensitive and
9739
                              formatted as follows: - `exact: "value"` for exact string
9740
                              match - `prefix: "value"` for prefix-based match - `regex:
9741
                              "value"` for RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).'
9742
                            oneOf:
9743
                            - not:
9744
                                anyOf:
9745
                                - required:
9746
                                  - exact
9747
                                - required:
9748
                                  - prefix
9749
                                - required:
9750
                                  - regex
9751
                            - required:
9752
                              - exact
9753
                            - required:
9754
                              - prefix
9755
                            - required:
9756
                              - regex
9757
                            properties:
9758
                              exact:
9759
                                type: string
9760
                              prefix:
9761
                                type: string
9762
                              regex:
9763
                                description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
9764
                                type: string
9765
                            type: object
9766
                          sourceLabels:
9767
                            additionalProperties:
9768
                              type: string
9769
                            description: One or more labels that constrain the applicability
9770
                              of a rule to source (client) workloads with the given
9771
                              labels.
9772
                            type: object
9773
                          sourceNamespace:
9774
                            description: Source namespace constraining the applicability
9775
                              of a rule to workloads in that namespace.
9776
                            type: string
9777
                          statPrefix:
9778
                            description: The human readable prefix to use when emitting
9779
                              statistics for this route.
9780
                            type: string
9781
                          uri:
9782
                            description: 'URI to match values are case-sensitive and
9783
                              formatted as follows: - `exact: "value"` for exact string
9784
                              match - `prefix: "value"` for prefix-based match - `regex:
9785
                              "value"` for RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).'
9786
                            oneOf:
9787
                            - not:
9788
                                anyOf:
9789
                                - required:
9790
                                  - exact
9791
                                - required:
9792
                                  - prefix
9793
                                - required:
9794
                                  - regex
9795
                            - required:
9796
                              - exact
9797
                            - required:
9798
                              - prefix
9799
                            - required:
9800
                              - regex
9801
                            properties:
9802
                              exact:
9803
                                type: string
9804
                              prefix:
9805
                                type: string
9806
                              regex:
9807
                                description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
9808
                                type: string
9809
                            type: object
9810
                          withoutHeaders:
9811
                            additionalProperties:
9812
                              oneOf:
9813
                              - not:
9814
                                  anyOf:
9815
                                  - required:
9816
                                    - exact
9817
                                  - required:
9818
                                    - prefix
9819
                                  - required:
9820
                                    - regex
9821
                              - required:
9822
                                - exact
9823
                              - required:
9824
                                - prefix
9825
                              - required:
9826
                                - regex
9827
                              properties:
9828
                                exact:
9829
                                  type: string
9830
                                prefix:
9831
                                  type: string
9832
                                regex:
9833
                                  description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
9834
                                  type: string
9835
                              type: object
9836
                            description: withoutHeader has the same syntax with the
9837
                              header, but has opposite meaning.
9838
                            type: object
9839
                        type: object
9840
                      type: array
9841
                    mirror:
9842
                      description: Mirror HTTP traffic to a another destination in
9843
                        addition to forwarding the requests to the intended destination.
9844
                      properties:
9845
                        host:
9846
                          description: The name of a service from the service registry.
9847
                          type: string
9848
                        port:
9849
                          description: Specifies the port on the host that is being
9850
                            addressed.
9851
                          properties:
9852
                            number:
9853
                              type: integer
9854
                          type: object
9855
                        subset:
9856
                          description: The name of a subset within the service.
9857
                          type: string
9858
                      required:
9859
                      - host
9860
                      type: object
9861
                    mirror_percent:
9862
                      nullable: true
9863
                      type: integer
9864
                    mirrorPercent:
9865
                      nullable: true
9866
                      type: integer
9867
                    mirrorPercentage:
9868
                      description: Percentage of the traffic to be mirrored by the
9869
                        `mirror` field.
9870
                      properties:
9871
                        value:
9872
                          format: double
9873
                          type: number
9874
                      type: object
9875
                    mirrors:
9876
                      description: Specifies the destinations to mirror HTTP traffic
9877
                        in addition to the original destination.
9878
                      items:
9879
                        properties:
9880
                          destination:
9881
                            description: Destination specifies the target of the mirror
9882
                              operation.
9883
                            properties:
9884
                              host:
9885
                                description: The name of a service from the service
9886
                                  registry.
9887
                                type: string
9888
                              port:
9889
                                description: Specifies the port on the host that is
9890
                                  being addressed.
9891
                                properties:
9892
                                  number:
9893
                                    type: integer
9894
                                type: object
9895
                              subset:
9896
                                description: The name of a subset within the service.
9897
                                type: string
9898
                            required:
9899
                            - host
9900
                            type: object
9901
                          percentage:
9902
                            description: Percentage of the traffic to be mirrored
9903
                              by the `destination` field.
9904
                            properties:
9905
                              value:
9906
                                format: double
9907
                                type: number
9908
                            type: object
9909
                        required:
9910
                        - destination
9911
                        type: object
9912
                      type: array
9913
                    name:
9914
                      description: The name assigned to the route for debugging purposes.
9915
                      type: string
9916
                    redirect:
9917
                      description: A HTTP rule can either return a direct_response,
9918
                        redirect or forward (default) traffic.
9919
                      oneOf:
9920
                      - not:
9921
                          anyOf:
9922
                          - required:
9923
                            - port
9924
                          - required:
9925
                            - derivePort
9926
                      - required:
9927
                        - port
9928
                      - required:
9929
                        - derivePort
9930
                      properties:
9931
                        authority:
9932
                          description: On a redirect, overwrite the Authority/Host
9933
                            portion of the URL with this value.
9934
                          type: string
9935
                        derivePort:
9936
                          description: |-
9937
                            On a redirect, dynamically set the port: * FROM_PROTOCOL_DEFAULT: automatically set to 80 for HTTP and 443 for HTTPS.
9938

9939
                            Valid Options: FROM_PROTOCOL_DEFAULT, FROM_REQUEST_PORT
9940
                          enum:
9941
                          - FROM_PROTOCOL_DEFAULT
9942
                          - FROM_REQUEST_PORT
9943
                          type: string
9944
                        port:
9945
                          description: On a redirect, overwrite the port portion of
9946
                            the URL with this value.
9947
                          type: integer
9948
                        redirectCode:
9949
                          description: On a redirect, Specifies the HTTP status code
9950
                            to use in the redirect response.
9951
                          type: integer
9952
                        scheme:
9953
                          description: On a redirect, overwrite the scheme portion
9954
                            of the URL with this value.
9955
                          type: string
9956
                        uri:
9957
                          description: On a redirect, overwrite the Path portion of
9958
                            the URL with this value.
9959
                          type: string
9960
                      type: object
9961
                    retries:
9962
                      description: Retry policy for HTTP requests.
9963
                      properties:
9964
                        attempts:
9965
                          description: Number of retries to be allowed for a given
9966
                            request.
9967
                          format: int32
9968
                          type: integer
9969
                        perTryTimeout:
9970
                          description: Timeout per attempt for a given request, including
9971
                            the initial call and any retries.
9972
                          type: string
9973
                        retryOn:
9974
                          description: Specifies the conditions under which retry
9975
                            takes place.
9976
                          type: string
9977
                        retryRemoteLocalities:
9978
                          description: Flag to specify whether the retries should
9979
                            retry to other localities.
9980
                          nullable: true
9981
                          type: boolean
9982
                      type: object
9983
                    rewrite:
9984
                      description: Rewrite HTTP URIs and Authority headers.
9985
                      properties:
9986
                        authority:
9987
                          description: rewrite the Authority/Host header with this
9988
                            value.
9989
                          type: string
9990
                        uri:
9991
                          description: rewrite the path (or the prefix) portion of
9992
                            the URI with this value.
9993
                          type: string
9994
                        uriRegexRewrite:
9995
                          description: rewrite the path portion of the URI with the
9996
                            specified regex.
9997
                          properties:
9998
                            match:
9999
                              description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
10000
                              type: string
10001
                            rewrite:
10002
                              description: The string that should replace into matching
10003
                                portions of original URI.
10004
                              type: string
10005
                          type: object
10006
                      type: object
10007
                    route:
10008
                      description: A HTTP rule can either return a direct_response,
10009
                        redirect or forward (default) traffic.
10010
                      items:
10011
                        properties:
10012
                          destination:
10013
                            description: Destination uniquely identifies the instances
10014
                              of a service to which the request/connection should
10015
                              be forwarded to.
10016
                            properties:
10017
                              host:
10018
                                description: The name of a service from the service
10019
                                  registry.
10020
                                type: string
10021
                              port:
10022
                                description: Specifies the port on the host that is
10023
                                  being addressed.
10024
                                properties:
10025
                                  number:
10026
                                    type: integer
10027
                                type: object
10028
                              subset:
10029
                                description: The name of a subset within the service.
10030
                                type: string
10031
                            required:
10032
                            - host
10033
                            type: object
10034
                          headers:
10035
                            properties:
10036
                              request:
10037
                                properties:
10038
                                  add:
10039
                                    additionalProperties:
10040
                                      type: string
10041
                                    type: object
10042
                                  remove:
10043
                                    items:
10044
                                      type: string
10045
                                    type: array
10046
                                  set:
10047
                                    additionalProperties:
10048
                                      type: string
10049
                                    type: object
10050
                                type: object
10051
                              response:
10052
                                properties:
10053
                                  add:
10054
                                    additionalProperties:
10055
                                      type: string
10056
                                    type: object
10057
                                  remove:
10058
                                    items:
10059
                                      type: string
10060
                                    type: array
10061
                                  set:
10062
                                    additionalProperties:
10063
                                      type: string
10064
                                    type: object
10065
                                type: object
10066
                            type: object
10067
                          weight:
10068
                            description: Weight specifies the relative proportion
10069
                              of traffic to be forwarded to the destination.
10070
                            format: int32
10071
                            type: integer
10072
                        required:
10073
                        - destination
10074
                        type: object
10075
                      type: array
10076
                    timeout:
10077
                      description: Timeout for HTTP requests, default is disabled.
10078
                      type: string
10079
                  type: object
10080
                type: array
10081
              tcp:
10082
                description: An ordered list of route rules for opaque TCP traffic.
10083
                items:
10084
                  properties:
10085
                    match:
10086
                      description: Match conditions to be satisfied for the rule to
10087
                        be activated.
10088
                      items:
10089
                        properties:
10090
                          destinationSubnets:
10091
                            description: IPv4 or IPv6 ip addresses of destination
10092
                              with optional subnet.
10093
                            items:
10094
                              type: string
10095
                            type: array
10096
                          gateways:
10097
                            description: Names of gateways where the rule should be
10098
                              applied.
10099
                            items:
10100
                              type: string
10101
                            type: array
10102
                          port:
10103
                            description: Specifies the port on the host that is being
10104
                              addressed.
10105
                            type: integer
10106
                          sourceLabels:
10107
                            additionalProperties:
10108
                              type: string
10109
                            description: One or more labels that constrain the applicability
10110
                              of a rule to workloads with the given labels.
10111
                            type: object
10112
                          sourceNamespace:
10113
                            description: Source namespace constraining the applicability
10114
                              of a rule to workloads in that namespace.
10115
                            type: string
10116
                          sourceSubnet:
10117
                            type: string
10118
                        type: object
10119
                      type: array
10120
                    route:
10121
                      description: The destination to which the connection should
10122
                        be forwarded to.
10123
                      items:
10124
                        properties:
10125
                          destination:
10126
                            description: Destination uniquely identifies the instances
10127
                              of a service to which the request/connection should
10128
                              be forwarded to.
10129
                            properties:
10130
                              host:
10131
                                description: The name of a service from the service
10132
                                  registry.
10133
                                type: string
10134
                              port:
10135
                                description: Specifies the port on the host that is
10136
                                  being addressed.
10137
                                properties:
10138
                                  number:
10139
                                    type: integer
10140
                                type: object
10141
                              subset:
10142
                                description: The name of a subset within the service.
10143
                                type: string
10144
                            required:
10145
                            - host
10146
                            type: object
10147
                          weight:
10148
                            description: Weight specifies the relative proportion
10149
                              of traffic to be forwarded to the destination.
10150
                            format: int32
10151
                            type: integer
10152
                        required:
10153
                        - destination
10154
                        type: object
10155
                      type: array
10156
                  type: object
10157
                type: array
10158
              tls:
10159
                description: An ordered list of route rule for non-terminated TLS
10160
                  & HTTPS traffic.
10161
                items:
10162
                  properties:
10163
                    match:
10164
                      description: Match conditions to be satisfied for the rule to
10165
                        be activated.
10166
                      items:
10167
                        properties:
10168
                          destinationSubnets:
10169
                            description: IPv4 or IPv6 ip addresses of destination
10170
                              with optional subnet.
10171
                            items:
10172
                              type: string
10173
                            type: array
10174
                          gateways:
10175
                            description: Names of gateways where the rule should be
10176
                              applied.
10177
                            items:
10178
                              type: string
10179
                            type: array
10180
                          port:
10181
                            description: Specifies the port on the host that is being
10182
                              addressed.
10183
                            type: integer
10184
                          sniHosts:
10185
                            description: SNI (server name indicator) to match on.
10186
                            items:
10187
                              type: string
10188
                            type: array
10189
                          sourceLabels:
10190
                            additionalProperties:
10191
                              type: string
10192
                            description: One or more labels that constrain the applicability
10193
                              of a rule to workloads with the given labels.
10194
                            type: object
10195
                          sourceNamespace:
10196
                            description: Source namespace constraining the applicability
10197
                              of a rule to workloads in that namespace.
10198
                            type: string
10199
                        required:
10200
                        - sniHosts
10201
                        type: object
10202
                      type: array
10203
                    route:
10204
                      description: The destination to which the connection should
10205
                        be forwarded to.
10206
                      items:
10207
                        properties:
10208
                          destination:
10209
                            description: Destination uniquely identifies the instances
10210
                              of a service to which the request/connection should
10211
                              be forwarded to.
10212
                            properties:
10213
                              host:
10214
                                description: The name of a service from the service
10215
                                  registry.
10216
                                type: string
10217
                              port:
10218
                                description: Specifies the port on the host that is
10219
                                  being addressed.
10220
                                properties:
10221
                                  number:
10222
                                    type: integer
10223
                                type: object
10224
                              subset:
10225
                                description: The name of a subset within the service.
10226
                                type: string
10227
                            required:
10228
                            - host
10229
                            type: object
10230
                          weight:
10231
                            description: Weight specifies the relative proportion
10232
                              of traffic to be forwarded to the destination.
10233
                            format: int32
10234
                            type: integer
10235
                        required:
10236
                        - destination
10237
                        type: object
10238
                      type: array
10239
                  required:
10240
                  - match
10241
                  type: object
10242
                type: array
10243
            type: object
10244
          status:
10245
            type: object
10246
            x-kubernetes-preserve-unknown-fields: true
10247
        type: object
10248
    served: true
10249
    storage: true
10250
    subresources:
10251
      status: {}
10252
---
10253
apiVersion: apiextensions.k8s.io/v1
10254
kind: CustomResourceDefinition
10255
metadata:
10256
  annotations:
10257
    "helm.sh/resource-policy": keep
10258
  labels:
10259
    app: istio-pilot
10260
    chart: istio
10261
    heritage: Tiller
10262
    release: istio
10263
  name: workloadentries.networking.istio.io
10264
spec:
10265
  group: networking.istio.io
10266
  names:
10267
    categories:
10268
    - istio-io
10269
    - networking-istio-io
10270
    kind: WorkloadEntry
10271
    listKind: WorkloadEntryList
10272
    plural: workloadentries
10273
    shortNames:
10274
    - we
10275
    singular: workloadentry
10276
  scope: Namespaced
10277
  versions:
10278
  - additionalPrinterColumns:
10279
    - description: 'CreationTimestamp is a timestamp representing the server time
10280
        when this object was created. It is not guaranteed to be set in happens-before
10281
        order across separate operations. Clients may not set this value. It is represented
10282
        in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for
10283
        lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
10284
      jsonPath: .metadata.creationTimestamp
10285
      name: Age
10286
      type: date
10287
    - description: Address associated with the network endpoint.
10288
      jsonPath: .spec.address
10289
      name: Address
10290
      type: string
10291
    name: v1
10292
    schema:
10293
      openAPIV3Schema:
10294
        properties:
10295
          spec:
10296
            description: 'Configuration affecting VMs onboarded into the mesh. See
10297
              more details at: https://istio.io/docs/reference/config/networking/workload-entry.html'
10298
            properties:
10299
              address:
10300
                description: Address associated with the network endpoint without
10301
                  the port.
10302
                type: string
10303
              labels:
10304
                additionalProperties:
10305
                  type: string
10306
                description: One or more labels associated with the endpoint.
10307
                type: object
10308
              locality:
10309
                description: The locality associated with the endpoint.
10310
                type: string
10311
              network:
10312
                description: Network enables Istio to group endpoints resident in
10313
                  the same L3 domain/network.
10314
                type: string
10315
              ports:
10316
                additionalProperties:
10317
                  type: integer
10318
                description: Set of ports associated with the endpoint.
10319
                type: object
10320
              serviceAccount:
10321
                description: The service account associated with the workload if a
10322
                  sidecar is present in the workload.
10323
                type: string
10324
              weight:
10325
                description: The load balancing weight associated with the endpoint.
10326
                type: integer
10327
            type: object
10328
          status:
10329
            type: object
10330
            x-kubernetes-preserve-unknown-fields: true
10331
        type: object
10332
    served: true
10333
    storage: false
10334
    subresources:
10335
      status: {}
10336
  - additionalPrinterColumns:
10337
    - description: 'CreationTimestamp is a timestamp representing the server time
10338
        when this object was created. It is not guaranteed to be set in happens-before
10339
        order across separate operations. Clients may not set this value. It is represented
10340
        in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for
10341
        lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
10342
      jsonPath: .metadata.creationTimestamp
10343
      name: Age
10344
      type: date
10345
    - description: Address associated with the network endpoint.
10346
      jsonPath: .spec.address
10347
      name: Address
10348
      type: string
10349
    name: v1alpha3
10350
    schema:
10351
      openAPIV3Schema:
10352
        properties:
10353
          spec:
10354
            description: 'Configuration affecting VMs onboarded into the mesh. See
10355
              more details at: https://istio.io/docs/reference/config/networking/workload-entry.html'
10356
            properties:
10357
              address:
10358
                description: Address associated with the network endpoint without
10359
                  the port.
10360
                type: string
10361
              labels:
10362
                additionalProperties:
10363
                  type: string
10364
                description: One or more labels associated with the endpoint.
10365
                type: object
10366
              locality:
10367
                description: The locality associated with the endpoint.
10368
                type: string
10369
              network:
10370
                description: Network enables Istio to group endpoints resident in
10371
                  the same L3 domain/network.
10372
                type: string
10373
              ports:
10374
                additionalProperties:
10375
                  type: integer
10376
                description: Set of ports associated with the endpoint.
10377
                type: object
10378
              serviceAccount:
10379
                description: The service account associated with the workload if a
10380
                  sidecar is present in the workload.
10381
                type: string
10382
              weight:
10383
                description: The load balancing weight associated with the endpoint.
10384
                type: integer
10385
            type: object
10386
          status:
10387
            type: object
10388
            x-kubernetes-preserve-unknown-fields: true
10389
        type: object
10390
    served: true
10391
    storage: false
10392
    subresources:
10393
      status: {}
10394
  - additionalPrinterColumns:
10395
    - description: 'CreationTimestamp is a timestamp representing the server time
10396
        when this object was created. It is not guaranteed to be set in happens-before
10397
        order across separate operations. Clients may not set this value. It is represented
10398
        in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for
10399
        lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
10400
      jsonPath: .metadata.creationTimestamp
10401
      name: Age
10402
      type: date
10403
    - description: Address associated with the network endpoint.
10404
      jsonPath: .spec.address
10405
      name: Address
10406
      type: string
10407
    name: v1beta1
10408
    schema:
10409
      openAPIV3Schema:
10410
        properties:
10411
          spec:
10412
            description: 'Configuration affecting VMs onboarded into the mesh. See
10413
              more details at: https://istio.io/docs/reference/config/networking/workload-entry.html'
10414
            properties:
10415
              address:
10416
                description: Address associated with the network endpoint without
10417
                  the port.
10418
                type: string
10419
              labels:
10420
                additionalProperties:
10421
                  type: string
10422
                description: One or more labels associated with the endpoint.
10423
                type: object
10424
              locality:
10425
                description: The locality associated with the endpoint.
10426
                type: string
10427
              network:
10428
                description: Network enables Istio to group endpoints resident in
10429
                  the same L3 domain/network.
10430
                type: string
10431
              ports:
10432
                additionalProperties:
10433
                  type: integer
10434
                description: Set of ports associated with the endpoint.
10435
                type: object
10436
              serviceAccount:
10437
                description: The service account associated with the workload if a
10438
                  sidecar is present in the workload.
10439
                type: string
10440
              weight:
10441
                description: The load balancing weight associated with the endpoint.
10442
                type: integer
10443
            type: object
10444
          status:
10445
            type: object
10446
            x-kubernetes-preserve-unknown-fields: true
10447
        type: object
10448
    served: true
10449
    storage: true
10450
    subresources:
10451
      status: {}
10452
---
10453
apiVersion: apiextensions.k8s.io/v1
10454
kind: CustomResourceDefinition
10455
metadata:
10456
  labels:
10457
    app: istio-pilot
10458
    chart: istio
10459
    heritage: Tiller
10460
    release: istio
10461
  name: workloadgroups.networking.istio.io
10462
spec:
10463
  group: networking.istio.io
10464
  names:
10465
    categories:
10466
    - istio-io
10467
    - networking-istio-io
10468
    kind: WorkloadGroup
10469
    listKind: WorkloadGroupList
10470
    plural: workloadgroups
10471
    shortNames:
10472
    - wg
10473
    singular: workloadgroup
10474
  scope: Namespaced
10475
  versions:
10476
  - additionalPrinterColumns:
10477
    - description: 'CreationTimestamp is a timestamp representing the server time
10478
        when this object was created. It is not guaranteed to be set in happens-before
10479
        order across separate operations. Clients may not set this value. It is represented
10480
        in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for
10481
        lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
10482
      jsonPath: .metadata.creationTimestamp
10483
      name: Age
10484
      type: date
10485
    name: v1
10486
    schema:
10487
      openAPIV3Schema:
10488
        properties:
10489
          spec:
10490
            description: '`WorkloadGroup` enables specifying the properties of a single
10491
              workload for bootstrap and provides a template for `WorkloadEntry`,
10492
              similar to how `Deployment` specifies properties of workloads via `Pod`
10493
              templates.'
10494
            properties:
10495
              metadata:
10496
                description: Metadata that will be used for all corresponding `WorkloadEntries`.
10497
                properties:
10498
                  annotations:
10499
                    additionalProperties:
10500
                      type: string
10501
                    type: object
10502
                  labels:
10503
                    additionalProperties:
10504
                      type: string
10505
                    type: object
10506
                type: object
10507
              probe:
10508
                description: '`ReadinessProbe` describes the configuration the user
10509
                  must provide for healthchecking on their workload.'
10510
                oneOf:
10511
                - not:
10512
                    anyOf:
10513
                    - required:
10514
                      - httpGet
10515
                    - required:
10516
                      - tcpSocket
10517
                    - required:
10518
                      - exec
10519
                - required:
10520
                  - httpGet
10521
                - required:
10522
                  - tcpSocket
10523
                - required:
10524
                  - exec
10525
                properties:
10526
                  exec:
10527
                    description: Health is determined by how the command that is executed
10528
                      exited.
10529
                    properties:
10530
                      command:
10531
                        description: Command to run.
10532
                        items:
10533
                          type: string
10534
                        type: array
10535
                    type: object
10536
                  failureThreshold:
10537
                    description: Minimum consecutive failures for the probe to be
10538
                      considered failed after having succeeded.
10539
                    format: int32
10540
                    type: integer
10541
                  httpGet:
10542
                    description: '`httpGet` is performed to a given endpoint and the
10543
                      status/able to connect determines health.'
10544
                    properties:
10545
                      host:
10546
                        description: Host name to connect to, defaults to the pod
10547
                          IP.
10548
                        type: string
10549
                      httpHeaders:
10550
                        description: Headers the proxy will pass on to make the request.
10551
                        items:
10552
                          properties:
10553
                            name:
10554
                              type: string
10555
                            value:
10556
                              type: string
10557
                          type: object
10558
                        type: array
10559
                      path:
10560
                        description: Path to access on the HTTP server.
10561
                        type: string
10562
                      port:
10563
                        description: Port on which the endpoint lives.
10564
                        type: integer
10565
                      scheme:
10566
                        type: string
10567
                    required:
10568
                    - port
10569
                    type: object
10570
                  initialDelaySeconds:
10571
                    description: Number of seconds after the container has started
10572
                      before readiness probes are initiated.
10573
                    format: int32
10574
                    type: integer
10575
                  periodSeconds:
10576
                    description: How often (in seconds) to perform the probe.
10577
                    format: int32
10578
                    type: integer
10579
                  successThreshold:
10580
                    description: Minimum consecutive successes for the probe to be
10581
                      considered successful after having failed.
10582
                    format: int32
10583
                    type: integer
10584
                  tcpSocket:
10585
                    description: Health is determined by if the proxy is able to connect.
10586
                    properties:
10587
                      host:
10588
                        type: string
10589
                      port:
10590
                        type: integer
10591
                    required:
10592
                    - port
10593
                    type: object
10594
                  timeoutSeconds:
10595
                    description: Number of seconds after which the probe times out.
10596
                    format: int32
10597
                    type: integer
10598
                type: object
10599
              template:
10600
                description: Template to be used for the generation of `WorkloadEntry`
10601
                  resources that belong to this `WorkloadGroup`.
10602
                properties:
10603
                  address:
10604
                    description: Address associated with the network endpoint without
10605
                      the port.
10606
                    type: string
10607
                  labels:
10608
                    additionalProperties:
10609
                      type: string
10610
                    description: One or more labels associated with the endpoint.
10611
                    type: object
10612
                  locality:
10613
                    description: The locality associated with the endpoint.
10614
                    type: string
10615
                  network:
10616
                    description: Network enables Istio to group endpoints resident
10617
                      in the same L3 domain/network.
10618
                    type: string
10619
                  ports:
10620
                    additionalProperties:
10621
                      type: integer
10622
                    description: Set of ports associated with the endpoint.
10623
                    type: object
10624
                  serviceAccount:
10625
                    description: The service account associated with the workload
10626
                      if a sidecar is present in the workload.
10627
                    type: string
10628
                  weight:
10629
                    description: The load balancing weight associated with the endpoint.
10630
                    type: integer
10631
                type: object
10632
            required:
10633
            - template
10634
            type: object
10635
          status:
10636
            type: object
10637
            x-kubernetes-preserve-unknown-fields: true
10638
        type: object
10639
    served: true
10640
    storage: false
10641
    subresources:
10642
      status: {}
10643
  - additionalPrinterColumns:
10644
    - description: 'CreationTimestamp is a timestamp representing the server time
10645
        when this object was created. It is not guaranteed to be set in happens-before
10646
        order across separate operations. Clients may not set this value. It is represented
10647
        in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for
10648
        lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
10649
      jsonPath: .metadata.creationTimestamp
10650
      name: Age
10651
      type: date
10652
    name: v1alpha3
10653
    schema:
10654
      openAPIV3Schema:
10655
        properties:
10656
          spec:
10657
            description: 'Describes a collection of workload instances. See more details
10658
              at: https://istio.io/docs/reference/config/networking/workload-group.html'
10659
            properties:
10660
              metadata:
10661
                description: Metadata that will be used for all corresponding `WorkloadEntries`.
10662
                properties:
10663
                  annotations:
10664
                    additionalProperties:
10665
                      type: string
10666
                    type: object
10667
                  labels:
10668
                    additionalProperties:
10669
                      type: string
10670
                    type: object
10671
                type: object
10672
              probe:
10673
                description: '`ReadinessProbe` describes the configuration the user
10674
                  must provide for healthchecking on their workload.'
10675
                oneOf:
10676
                - not:
10677
                    anyOf:
10678
                    - required:
10679
                      - httpGet
10680
                    - required:
10681
                      - tcpSocket
10682
                    - required:
10683
                      - exec
10684
                - required:
10685
                  - httpGet
10686
                - required:
10687
                  - tcpSocket
10688
                - required:
10689
                  - exec
10690
                properties:
10691
                  exec:
10692
                    description: Health is determined by how the command that is executed
10693
                      exited.
10694
                    properties:
10695
                      command:
10696
                        description: Command to run.
10697
                        items:
10698
                          type: string
10699
                        type: array
10700
                    type: object
10701
                  failureThreshold:
10702
                    description: Minimum consecutive failures for the probe to be
10703
                      considered failed after having succeeded.
10704
                    format: int32
10705
                    type: integer
10706
                  httpGet:
10707
                    description: '`httpGet` is performed to a given endpoint and the
10708
                      status/able to connect determines health.'
10709
                    properties:
10710
                      host:
10711
                        description: Host name to connect to, defaults to the pod
10712
                          IP.
10713
                        type: string
10714
                      httpHeaders:
10715
                        description: Headers the proxy will pass on to make the request.
10716
                        items:
10717
                          properties:
10718
                            name:
10719
                              type: string
10720
                            value:
10721
                              type: string
10722
                          type: object
10723
                        type: array
10724
                      path:
10725
                        description: Path to access on the HTTP server.
10726
                        type: string
10727
                      port:
10728
                        description: Port on which the endpoint lives.
10729
                        type: integer
10730
                      scheme:
10731
                        type: string
10732
                    required:
10733
                    - port
10734
                    type: object
10735
                  initialDelaySeconds:
10736
                    description: Number of seconds after the container has started
10737
                      before readiness probes are initiated.
10738
                    format: int32
10739
                    type: integer
10740
                  periodSeconds:
10741
                    description: How often (in seconds) to perform the probe.
10742
                    format: int32
10743
                    type: integer
10744
                  successThreshold:
10745
                    description: Minimum consecutive successes for the probe to be
10746
                      considered successful after having failed.
10747
                    format: int32
10748
                    type: integer
10749
                  tcpSocket:
10750
                    description: Health is determined by if the proxy is able to connect.
10751
                    properties:
10752
                      host:
10753
                        type: string
10754
                      port:
10755
                        type: integer
10756
                    required:
10757
                    - port
10758
                    type: object
10759
                  timeoutSeconds:
10760
                    description: Number of seconds after which the probe times out.
10761
                    format: int32
10762
                    type: integer
10763
                type: object
10764
              template:
10765
                description: Template to be used for the generation of `WorkloadEntry`
10766
                  resources that belong to this `WorkloadGroup`.
10767
                properties:
10768
                  address:
10769
                    description: Address associated with the network endpoint without
10770
                      the port.
10771
                    type: string
10772
                  labels:
10773
                    additionalProperties:
10774
                      type: string
10775
                    description: One or more labels associated with the endpoint.
10776
                    type: object
10777
                  locality:
10778
                    description: The locality associated with the endpoint.
10779
                    type: string
10780
                  network:
10781
                    description: Network enables Istio to group endpoints resident
10782
                      in the same L3 domain/network.
10783
                    type: string
10784
                  ports:
10785
                    additionalProperties:
10786
                      type: integer
10787
                    description: Set of ports associated with the endpoint.
10788
                    type: object
10789
                  serviceAccount:
10790
                    description: The service account associated with the workload
10791
                      if a sidecar is present in the workload.
10792
                    type: string
10793
                  weight:
10794
                    description: The load balancing weight associated with the endpoint.
10795
                    type: integer
10796
                type: object
10797
            required:
10798
            - template
10799
            type: object
10800
          status:
10801
            type: object
10802
            x-kubernetes-preserve-unknown-fields: true
10803
        type: object
10804
    served: true
10805
    storage: false
10806
    subresources:
10807
      status: {}
10808
  - additionalPrinterColumns:
10809
    - description: 'CreationTimestamp is a timestamp representing the server time
10810
        when this object was created. It is not guaranteed to be set in happens-before
10811
        order across separate operations. Clients may not set this value. It is represented
10812
        in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for
10813
        lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
10814
      jsonPath: .metadata.creationTimestamp
10815
      name: Age
10816
      type: date
10817
    name: v1beta1
10818
    schema:
10819
      openAPIV3Schema:
10820
        properties:
10821
          spec:
10822
            description: '`WorkloadGroup` enables specifying the properties of a single
10823
              workload for bootstrap and provides a template for `WorkloadEntry`,
10824
              similar to how `Deployment` specifies properties of workloads via `Pod`
10825
              templates.'
10826
            properties:
10827
              metadata:
10828
                description: Metadata that will be used for all corresponding `WorkloadEntries`.
10829
                properties:
10830
                  annotations:
10831
                    additionalProperties:
10832
                      type: string
10833
                    type: object
10834
                  labels:
10835
                    additionalProperties:
10836
                      type: string
10837
                    type: object
10838
                type: object
10839
              probe:
10840
                description: '`ReadinessProbe` describes the configuration the user
10841
                  must provide for healthchecking on their workload.'
10842
                oneOf:
10843
                - not:
10844
                    anyOf:
10845
                    - required:
10846
                      - httpGet
10847
                    - required:
10848
                      - tcpSocket
10849
                    - required:
10850
                      - exec
10851
                - required:
10852
                  - httpGet
10853
                - required:
10854
                  - tcpSocket
10855
                - required:
10856
                  - exec
10857
                properties:
10858
                  exec:
10859
                    description: Health is determined by how the command that is executed
10860
                      exited.
10861
                    properties:
10862
                      command:
10863
                        description: Command to run.
10864
                        items:
10865
                          type: string
10866
                        type: array
10867
                    type: object
10868
                  failureThreshold:
10869
                    description: Minimum consecutive failures for the probe to be
10870
                      considered failed after having succeeded.
10871
                    format: int32
10872
                    type: integer
10873
                  httpGet:
10874
                    description: '`httpGet` is performed to a given endpoint and the
10875
                      status/able to connect determines health.'
10876
                    properties:
10877
                      host:
10878
                        description: Host name to connect to, defaults to the pod
10879
                          IP.
10880
                        type: string
10881
                      httpHeaders:
10882
                        description: Headers the proxy will pass on to make the request.
10883
                        items:
10884
                          properties:
10885
                            name:
10886
                              type: string
10887
                            value:
10888
                              type: string
10889
                          type: object
10890
                        type: array
10891
                      path:
10892
                        description: Path to access on the HTTP server.
10893
                        type: string
10894
                      port:
10895
                        description: Port on which the endpoint lives.
10896
                        type: integer
10897
                      scheme:
10898
                        type: string
10899
                    required:
10900
                    - port
10901
                    type: object
10902
                  initialDelaySeconds:
10903
                    description: Number of seconds after the container has started
10904
                      before readiness probes are initiated.
10905
                    format: int32
10906
                    type: integer
10907
                  periodSeconds:
10908
                    description: How often (in seconds) to perform the probe.
10909
                    format: int32
10910
                    type: integer
10911
                  successThreshold:
10912
                    description: Minimum consecutive successes for the probe to be
10913
                      considered successful after having failed.
10914
                    format: int32
10915
                    type: integer
10916
                  tcpSocket:
10917
                    description: Health is determined by if the proxy is able to connect.
10918
                    properties:
10919
                      host:
10920
                        type: string
10921
                      port:
10922
                        type: integer
10923
                    required:
10924
                    - port
10925
                    type: object
10926
                  timeoutSeconds:
10927
                    description: Number of seconds after which the probe times out.
10928
                    format: int32
10929
                    type: integer
10930
                type: object
10931
              template:
10932
                description: Template to be used for the generation of `WorkloadEntry`
10933
                  resources that belong to this `WorkloadGroup`.
10934
                properties:
10935
                  address:
10936
                    description: Address associated with the network endpoint without
10937
                      the port.
10938
                    type: string
10939
                  labels:
10940
                    additionalProperties:
10941
                      type: string
10942
                    description: One or more labels associated with the endpoint.
10943
                    type: object
10944
                  locality:
10945
                    description: The locality associated with the endpoint.
10946
                    type: string
10947
                  network:
10948
                    description: Network enables Istio to group endpoints resident
10949
                      in the same L3 domain/network.
10950
                    type: string
10951
                  ports:
10952
                    additionalProperties:
10953
                      type: integer
10954
                    description: Set of ports associated with the endpoint.
10955
                    type: object
10956
                  serviceAccount:
10957
                    description: The service account associated with the workload
10958
                      if a sidecar is present in the workload.
10959
                    type: string
10960
                  weight:
10961
                    description: The load balancing weight associated with the endpoint.
10962
                    type: integer
10963
                type: object
10964
            required:
10965
            - template
10966
            type: object
10967
          status:
10968
            type: object
10969
            x-kubernetes-preserve-unknown-fields: true
10970
        type: object
10971
    served: true
10972
    storage: true
10973
    subresources:
10974
      status: {}
10975
---
10976
apiVersion: apiextensions.k8s.io/v1
10977
kind: CustomResourceDefinition
10978
metadata:
10979
  annotations:
10980
    "helm.sh/resource-policy": keep
10981
  labels:
10982
    app: istio-pilot
10983
    chart: istio
10984
    heritage: Tiller
10985
    istio: security
10986
    release: istio
10987
  name: authorizationpolicies.security.istio.io
10988
spec:
10989
  group: security.istio.io
10990
  names:
10991
    categories:
10992
    - istio-io
10993
    - security-istio-io
10994
    kind: AuthorizationPolicy
10995
    listKind: AuthorizationPolicyList
10996
    plural: authorizationpolicies
10997
    shortNames:
10998
    - ap
10999
    singular: authorizationpolicy
11000
  scope: Namespaced
11001
  versions:
11002
  - additionalPrinterColumns:
11003
    - description: The operation to take.
11004
      jsonPath: .spec.action
11005
      name: Action
11006
      type: string
11007
    - description: 'CreationTimestamp is a timestamp representing the server time
11008
        when this object was created. It is not guaranteed to be set in happens-before
11009
        order across separate operations. Clients may not set this value. It is represented
11010
        in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for
11011
        lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
11012
      jsonPath: .metadata.creationTimestamp
11013
      name: Age
11014
      type: date
11015
    name: v1
11016
    schema:
11017
      openAPIV3Schema:
11018
        properties:
11019
          spec:
11020
            description: 'Configuration for access control on workloads. See more
11021
              details at: https://istio.io/docs/reference/config/security/authorization-policy.html'
11022
            oneOf:
11023
            - not:
11024
                anyOf:
11025
                - required:
11026
                  - provider
11027
            - required:
11028
              - provider
11029
            properties:
11030
              action:
11031
                description: |-
11032
                  Optional.
11033

11034
                  Valid Options: ALLOW, DENY, AUDIT, CUSTOM
11035
                enum:
11036
                - ALLOW
11037
                - DENY
11038
                - AUDIT
11039
                - CUSTOM
11040
                type: string
11041
              provider:
11042
                description: Specifies detailed configuration of the CUSTOM action.
11043
                properties:
11044
                  name:
11045
                    description: Specifies the name of the extension provider.
11046
                    type: string
11047
                type: object
11048
              rules:
11049
                description: Optional.
11050
                items:
11051
                  properties:
11052
                    from:
11053
                      description: Optional.
11054
                      items:
11055
                        properties:
11056
                          source:
11057
                            description: Source specifies the source of a request.
11058
                            properties:
11059
                              ipBlocks:
11060
                                description: Optional.
11061
                                items:
11062
                                  type: string
11063
                                type: array
11064
                              namespaces:
11065
                                description: Optional.
11066
                                items:
11067
                                  type: string
11068
                                type: array
11069
                              notIpBlocks:
11070
                                description: Optional.
11071
                                items:
11072
                                  type: string
11073
                                type: array
11074
                              notNamespaces:
11075
                                description: Optional.
11076
                                items:
11077
                                  type: string
11078
                                type: array
11079
                              notPrincipals:
11080
                                description: Optional.
11081
                                items:
11082
                                  type: string
11083
                                type: array
11084
                              notRemoteIpBlocks:
11085
                                description: Optional.
11086
                                items:
11087
                                  type: string
11088
                                type: array
11089
                              notRequestPrincipals:
11090
                                description: Optional.
11091
                                items:
11092
                                  type: string
11093
                                type: array
11094
                              principals:
11095
                                description: Optional.
11096
                                items:
11097
                                  type: string
11098
                                type: array
11099
                              remoteIpBlocks:
11100
                                description: Optional.
11101
                                items:
11102
                                  type: string
11103
                                type: array
11104
                              requestPrincipals:
11105
                                description: Optional.
11106
                                items:
11107
                                  type: string
11108
                                type: array
11109
                            type: object
11110
                        type: object
11111
                      type: array
11112
                    to:
11113
                      description: Optional.
11114
                      items:
11115
                        properties:
11116
                          operation:
11117
                            description: Operation specifies the operation of a request.
11118
                            properties:
11119
                              hosts:
11120
                                description: Optional.
11121
                                items:
11122
                                  type: string
11123
                                type: array
11124
                              methods:
11125
                                description: Optional.
11126
                                items:
11127
                                  type: string
11128
                                type: array
11129
                              notHosts:
11130
                                description: Optional.
11131
                                items:
11132
                                  type: string
11133
                                type: array
11134
                              notMethods:
11135
                                description: Optional.
11136
                                items:
11137
                                  type: string
11138
                                type: array
11139
                              notPaths:
11140
                                description: Optional.
11141
                                items:
11142
                                  type: string
11143
                                type: array
11144
                              notPorts:
11145
                                description: Optional.
11146
                                items:
11147
                                  type: string
11148
                                type: array
11149
                              paths:
11150
                                description: Optional.
11151
                                items:
11152
                                  type: string
11153
                                type: array
11154
                              ports:
11155
                                description: Optional.
11156
                                items:
11157
                                  type: string
11158
                                type: array
11159
                            type: object
11160
                        type: object
11161
                      type: array
11162
                    when:
11163
                      description: Optional.
11164
                      items:
11165
                        properties:
11166
                          key:
11167
                            description: The name of an Istio attribute.
11168
                            type: string
11169
                          notValues:
11170
                            description: Optional.
11171
                            items:
11172
                              type: string
11173
                            type: array
11174
                          values:
11175
                            description: Optional.
11176
                            items:
11177
                              type: string
11178
                            type: array
11179
                        required:
11180
                        - key
11181
                        type: object
11182
                      type: array
11183
                  type: object
11184
                type: array
11185
              selector:
11186
                description: Optional.
11187
                properties:
11188
                  matchLabels:
11189
                    additionalProperties:
11190
                      type: string
11191
                    description: One or more labels that indicate a specific set of
11192
                      pods/VMs on which a policy should be applied.
11193
                    type: object
11194
                type: object
11195
              targetRef:
11196
                description: Optional.
11197
                properties:
11198
                  group:
11199
                    description: group is the group of the target resource.
11200
                    type: string
11201
                  kind:
11202
                    description: kind is kind of the target resource.
11203
                    type: string
11204
                  name:
11205
                    description: name is the name of the target resource.
11206
                    type: string
11207
                  namespace:
11208
                    description: namespace is the namespace of the referent.
11209
                    type: string
11210
                type: object
11211
            type: object
11212
          status:
11213
            type: object
11214
            x-kubernetes-preserve-unknown-fields: true
11215
        type: object
11216
    served: true
11217
    storage: false
11218
    subresources:
11219
      status: {}
11220
  - additionalPrinterColumns:
11221
    - description: The operation to take.
11222
      jsonPath: .spec.action
11223
      name: Action
11224
      type: string
11225
    - description: 'CreationTimestamp is a timestamp representing the server time
11226
        when this object was created. It is not guaranteed to be set in happens-before
11227
        order across separate operations. Clients may not set this value. It is represented
11228
        in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for
11229
        lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
11230
      jsonPath: .metadata.creationTimestamp
11231
      name: Age
11232
      type: date
11233
    name: v1beta1
11234
    schema:
11235
      openAPIV3Schema:
11236
        properties:
11237
          spec:
11238
            description: 'Configuration for access control on workloads. See more
11239
              details at: https://istio.io/docs/reference/config/security/authorization-policy.html'
11240
            oneOf:
11241
            - not:
11242
                anyOf:
11243
                - required:
11244
                  - provider
11245
            - required:
11246
              - provider
11247
            properties:
11248
              action:
11249
                description: |-
11250
                  Optional.
11251

11252
                  Valid Options: ALLOW, DENY, AUDIT, CUSTOM
11253
                enum:
11254
                - ALLOW
11255
                - DENY
11256
                - AUDIT
11257
                - CUSTOM
11258
                type: string
11259
              provider:
11260
                description: Specifies detailed configuration of the CUSTOM action.
11261
                properties:
11262
                  name:
11263
                    description: Specifies the name of the extension provider.
11264
                    type: string
11265
                type: object
11266
              rules:
11267
                description: Optional.
11268
                items:
11269
                  properties:
11270
                    from:
11271
                      description: Optional.
11272
                      items:
11273
                        properties:
11274
                          source:
11275
                            description: Source specifies the source of a request.
11276
                            properties:
11277
                              ipBlocks:
11278
                                description: Optional.
11279
                                items:
11280
                                  type: string
11281
                                type: array
11282
                              namespaces:
11283
                                description: Optional.
11284
                                items:
11285
                                  type: string
11286
                                type: array
11287
                              notIpBlocks:
11288
                                description: Optional.
11289
                                items:
11290
                                  type: string
11291
                                type: array
11292
                              notNamespaces:
11293
                                description: Optional.
11294
                                items:
11295
                                  type: string
11296
                                type: array
11297
                              notPrincipals:
11298
                                description: Optional.
11299
                                items:
11300
                                  type: string
11301
                                type: array
11302
                              notRemoteIpBlocks:
11303
                                description: Optional.
11304
                                items:
11305
                                  type: string
11306
                                type: array
11307
                              notRequestPrincipals:
11308
                                description: Optional.
11309
                                items:
11310
                                  type: string
11311
                                type: array
11312
                              principals:
11313
                                description: Optional.
11314
                                items:
11315
                                  type: string
11316
                                type: array
11317
                              remoteIpBlocks:
11318
                                description: Optional.
11319
                                items:
11320
                                  type: string
11321
                                type: array
11322
                              requestPrincipals:
11323
                                description: Optional.
11324
                                items:
11325
                                  type: string
11326
                                type: array
11327
                            type: object
11328
                        type: object
11329
                      type: array
11330
                    to:
11331
                      description: Optional.
11332
                      items:
11333
                        properties:
11334
                          operation:
11335
                            description: Operation specifies the operation of a request.
11336
                            properties:
11337
                              hosts:
11338
                                description: Optional.
11339
                                items:
11340
                                  type: string
11341
                                type: array
11342
                              methods:
11343
                                description: Optional.
11344
                                items:
11345
                                  type: string
11346
                                type: array
11347
                              notHosts:
11348
                                description: Optional.
11349
                                items:
11350
                                  type: string
11351
                                type: array
11352
                              notMethods:
11353
                                description: Optional.
11354
                                items:
11355
                                  type: string
11356
                                type: array
11357
                              notPaths:
11358
                                description: Optional.
11359
                                items:
11360
                                  type: string
11361
                                type: array
11362
                              notPorts:
11363
                                description: Optional.
11364
                                items:
11365
                                  type: string
11366
                                type: array
11367
                              paths:
11368
                                description: Optional.
11369
                                items:
11370
                                  type: string
11371
                                type: array
11372
                              ports:
11373
                                description: Optional.
11374
                                items:
11375
                                  type: string
11376
                                type: array
11377
                            type: object
11378
                        type: object
11379
                      type: array
11380
                    when:
11381
                      description: Optional.
11382
                      items:
11383
                        properties:
11384
                          key:
11385
                            description: The name of an Istio attribute.
11386
                            type: string
11387
                          notValues:
11388
                            description: Optional.
11389
                            items:
11390
                              type: string
11391
                            type: array
11392
                          values:
11393
                            description: Optional.
11394
                            items:
11395
                              type: string
11396
                            type: array
11397
                        required:
11398
                        - key
11399
                        type: object
11400
                      type: array
11401
                  type: object
11402
                type: array
11403
              selector:
11404
                description: Optional.
11405
                properties:
11406
                  matchLabels:
11407
                    additionalProperties:
11408
                      type: string
11409
                    description: One or more labels that indicate a specific set of
11410
                      pods/VMs on which a policy should be applied.
11411
                    type: object
11412
                type: object
11413
              targetRef:
11414
                description: Optional.
11415
                properties:
11416
                  group:
11417
                    description: group is the group of the target resource.
11418
                    type: string
11419
                  kind:
11420
                    description: kind is kind of the target resource.
11421
                    type: string
11422
                  name:
11423
                    description: name is the name of the target resource.
11424
                    type: string
11425
                  namespace:
11426
                    description: namespace is the namespace of the referent.
11427
                    type: string
11428
                type: object
11429
            type: object
11430
          status:
11431
            type: object
11432
            x-kubernetes-preserve-unknown-fields: true
11433
        type: object
11434
    served: true
11435
    storage: true
11436
    subresources:
11437
      status: {}
11438
---
11439
apiVersion: apiextensions.k8s.io/v1
11440
kind: CustomResourceDefinition
11441
metadata:
11442
  annotations:
11443
    "helm.sh/resource-policy": keep
11444
  labels:
11445
    app: istio-pilot
11446
    chart: istio
11447
    heritage: Tiller
11448
    istio: security
11449
    release: istio
11450
  name: peerauthentications.security.istio.io
11451
spec:
11452
  group: security.istio.io
11453
  names:
11454
    categories:
11455
    - istio-io
11456
    - security-istio-io
11457
    kind: PeerAuthentication
11458
    listKind: PeerAuthenticationList
11459
    plural: peerauthentications
11460
    shortNames:
11461
    - pa
11462
    singular: peerauthentication
11463
  scope: Namespaced
11464
  versions:
11465
  - additionalPrinterColumns:
11466
    - description: Defines the mTLS mode used for peer authentication.
11467
      jsonPath: .spec.mtls.mode
11468
      name: Mode
11469
      type: string
11470
    - description: 'CreationTimestamp is a timestamp representing the server time
11471
        when this object was created. It is not guaranteed to be set in happens-before
11472
        order across separate operations. Clients may not set this value. It is represented
11473
        in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for
11474
        lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
11475
      jsonPath: .metadata.creationTimestamp
11476
      name: Age
11477
      type: date
11478
    name: v1
11479
    schema:
11480
      openAPIV3Schema:
11481
        properties:
11482
          spec:
11483
            description: 'Peer authentication configuration for workloads. See more
11484
              details at: https://istio.io/docs/reference/config/security/peer_authentication.html'
11485
            properties:
11486
              mtls:
11487
                description: Mutual TLS settings for workload.
11488
                properties:
11489
                  mode:
11490
                    description: |-
11491
                      Defines the mTLS mode used for peer authentication.
11492

11493
                      Valid Options: DISABLE, PERMISSIVE, STRICT
11494
                    enum:
11495
                    - UNSET
11496
                    - DISABLE
11497
                    - PERMISSIVE
11498
                    - STRICT
11499
                    type: string
11500
                type: object
11501
              portLevelMtls:
11502
                additionalProperties:
11503
                  properties:
11504
                    mode:
11505
                      description: |-
11506
                        Defines the mTLS mode used for peer authentication.
11507

11508
                        Valid Options: DISABLE, PERMISSIVE, STRICT
11509
                      enum:
11510
                      - UNSET
11511
                      - DISABLE
11512
                      - PERMISSIVE
11513
                      - STRICT
11514
                      type: string
11515
                  type: object
11516
                description: Port specific mutual TLS settings.
11517
                type: object
11518
              selector:
11519
                description: The selector determines the workloads to apply the PeerAuthentication
11520
                  on.
11521
                properties:
11522
                  matchLabels:
11523
                    additionalProperties:
11524
                      type: string
11525
                    description: One or more labels that indicate a specific set of
11526
                      pods/VMs on which a policy should be applied.
11527
                    type: object
11528
                type: object
11529
            type: object
11530
          status:
11531
            type: object
11532
            x-kubernetes-preserve-unknown-fields: true
11533
        type: object
11534
    served: true
11535
    storage: false
11536
    subresources:
11537
      status: {}
11538
  - additionalPrinterColumns:
11539
    - description: Defines the mTLS mode used for peer authentication.
11540
      jsonPath: .spec.mtls.mode
11541
      name: Mode
11542
      type: string
11543
    - description: 'CreationTimestamp is a timestamp representing the server time
11544
        when this object was created. It is not guaranteed to be set in happens-before
11545
        order across separate operations. Clients may not set this value. It is represented
11546
        in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for
11547
        lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
11548
      jsonPath: .metadata.creationTimestamp
11549
      name: Age
11550
      type: date
11551
    name: v1beta1
11552
    schema:
11553
      openAPIV3Schema:
11554
        properties:
11555
          spec:
11556
            description: 'Peer authentication configuration for workloads. See more
11557
              details at: https://istio.io/docs/reference/config/security/peer_authentication.html'
11558
            properties:
11559
              mtls:
11560
                description: Mutual TLS settings for workload.
11561
                properties:
11562
                  mode:
11563
                    description: |-
11564
                      Defines the mTLS mode used for peer authentication.
11565

11566
                      Valid Options: DISABLE, PERMISSIVE, STRICT
11567
                    enum:
11568
                    - UNSET
11569
                    - DISABLE
11570
                    - PERMISSIVE
11571
                    - STRICT
11572
                    type: string
11573
                type: object
11574
              portLevelMtls:
11575
                additionalProperties:
11576
                  properties:
11577
                    mode:
11578
                      description: |-
11579
                        Defines the mTLS mode used for peer authentication.
11580

11581
                        Valid Options: DISABLE, PERMISSIVE, STRICT
11582
                      enum:
11583
                      - UNSET
11584
                      - DISABLE
11585
                      - PERMISSIVE
11586
                      - STRICT
11587
                      type: string
11588
                  type: object
11589
                description: Port specific mutual TLS settings.
11590
                type: object
11591
              selector:
11592
                description: The selector determines the workloads to apply the PeerAuthentication
11593
                  on.
11594
                properties:
11595
                  matchLabels:
11596
                    additionalProperties:
11597
                      type: string
11598
                    description: One or more labels that indicate a specific set of
11599
                      pods/VMs on which a policy should be applied.
11600
                    type: object
11601
                type: object
11602
            type: object
11603
          status:
11604
            type: object
11605
            x-kubernetes-preserve-unknown-fields: true
11606
        type: object
11607
    served: true
11608
    storage: true
11609
    subresources:
11610
      status: {}
11611
---
11612
apiVersion: apiextensions.k8s.io/v1
11613
kind: CustomResourceDefinition
11614
metadata:
11615
  annotations:
11616
    "helm.sh/resource-policy": keep
11617
  labels:
11618
    app: istio-pilot
11619
    chart: istio
11620
    heritage: Tiller
11621
    istio: security
11622
    release: istio
11623
  name: requestauthentications.security.istio.io
11624
spec:
11625
  group: security.istio.io
11626
  names:
11627
    categories:
11628
    - istio-io
11629
    - security-istio-io
11630
    kind: RequestAuthentication
11631
    listKind: RequestAuthenticationList
11632
    plural: requestauthentications
11633
    shortNames:
11634
    - ra
11635
    singular: requestauthentication
11636
  scope: Namespaced
11637
  versions:
11638
  - name: v1
11639
    schema:
11640
      openAPIV3Schema:
11641
        properties:
11642
          spec:
11643
            description: 'Request authentication configuration for workloads. See
11644
              more details at: https://istio.io/docs/reference/config/security/request_authentication.html'
11645
            properties:
11646
              jwtRules:
11647
                description: Define the list of JWTs that can be validated at the
11648
                  selected workloads' proxy.
11649
                items:
11650
                  properties:
11651
                    audiences:
11652
                      description: The list of JWT [audiences](https://tools.ietf.org/html/rfc7519#section-4.1.3)
11653
                        that are allowed to access.
11654
                      items:
11655
                        type: string
11656
                      type: array
11657
                    forwardOriginalToken:
11658
                      description: If set to true, the original token will be kept
11659
                        for the upstream request.
11660
                      type: boolean
11661
                    fromCookies:
11662
                      description: List of cookie names from which JWT is expected.
11663
                      items:
11664
                        type: string
11665
                      type: array
11666
                    fromHeaders:
11667
                      description: List of header locations from which JWT is expected.
11668
                      items:
11669
                        properties:
11670
                          name:
11671
                            description: The HTTP header name.
11672
                            type: string
11673
                          prefix:
11674
                            description: The prefix that should be stripped before
11675
                              decoding the token.
11676
                            type: string
11677
                        required:
11678
                        - name
11679
                        type: object
11680
                      type: array
11681
                    fromParams:
11682
                      description: List of query parameters from which JWT is expected.
11683
                      items:
11684
                        type: string
11685
                      type: array
11686
                    issuer:
11687
                      description: Identifies the issuer that issued the JWT.
11688
                      type: string
11689
                    jwks:
11690
                      description: JSON Web Key Set of public keys to validate signature
11691
                        of the JWT.
11692
                      type: string
11693
                    jwks_uri:
11694
                      description: URL of the provider's public key set to validate
11695
                        signature of the JWT.
11696
                      type: string
11697
                    jwksUri:
11698
                      description: URL of the provider's public key set to validate
11699
                        signature of the JWT.
11700
                      type: string
11701
                    outputClaimToHeaders:
11702
                      description: This field specifies a list of operations to copy
11703
                        the claim to HTTP headers on a successfully verified token.
11704
                      items:
11705
                        properties:
11706
                          claim:
11707
                            description: The name of the claim to be copied from.
11708
                            type: string
11709
                          header:
11710
                            description: The name of the header to be created.
11711
                            type: string
11712
                        type: object
11713
                      type: array
11714
                    outputPayloadToHeader:
11715
                      description: This field specifies the header name to output
11716
                        a successfully verified JWT payload to the backend.
11717
                      type: string
11718
                    timeout:
11719
                      description: The maximum amount of time that the resolver, determined
11720
                        by the PILOT_JWT_ENABLE_REMOTE_JWKS environment variable,
11721
                        will spend waiting for the JWKS to be fetched.
11722
                      type: string
11723
                  required:
11724
                  - issuer
11725
                  type: object
11726
                type: array
11727
              selector:
11728
                description: Optional.
11729
                properties:
11730
                  matchLabels:
11731
                    additionalProperties:
11732
                      type: string
11733
                    description: One or more labels that indicate a specific set of
11734
                      pods/VMs on which a policy should be applied.
11735
                    type: object
11736
                type: object
11737
              targetRef:
11738
                description: Optional.
11739
                properties:
11740
                  group:
11741
                    description: group is the group of the target resource.
11742
                    type: string
11743
                  kind:
11744
                    description: kind is kind of the target resource.
11745
                    type: string
11746
                  name:
11747
                    description: name is the name of the target resource.
11748
                    type: string
11749
                  namespace:
11750
                    description: namespace is the namespace of the referent.
11751
                    type: string
11752
                type: object
11753
            type: object
11754
          status:
11755
            type: object
11756
            x-kubernetes-preserve-unknown-fields: true
11757
        type: object
11758
    served: true
11759
    storage: false
11760
    subresources:
11761
      status: {}
11762
  - name: v1beta1
11763
    schema:
11764
      openAPIV3Schema:
11765
        properties:
11766
          spec:
11767
            description: 'Request authentication configuration for workloads. See
11768
              more details at: https://istio.io/docs/reference/config/security/request_authentication.html'
11769
            properties:
11770
              jwtRules:
11771
                description: Define the list of JWTs that can be validated at the
11772
                  selected workloads' proxy.
11773
                items:
11774
                  properties:
11775
                    audiences:
11776
                      description: The list of JWT [audiences](https://tools.ietf.org/html/rfc7519#section-4.1.3)
11777
                        that are allowed to access.
11778
                      items:
11779
                        type: string
11780
                      type: array
11781
                    forwardOriginalToken:
11782
                      description: If set to true, the original token will be kept
11783
                        for the upstream request.
11784
                      type: boolean
11785
                    fromCookies:
11786
                      description: List of cookie names from which JWT is expected.
11787
                      items:
11788
                        type: string
11789
                      type: array
11790
                    fromHeaders:
11791
                      description: List of header locations from which JWT is expected.
11792
                      items:
11793
                        properties:
11794
                          name:
11795
                            description: The HTTP header name.
11796
                            type: string
11797
                          prefix:
11798
                            description: The prefix that should be stripped before
11799
                              decoding the token.
11800
                            type: string
11801
                        required:
11802
                        - name
11803
                        type: object
11804
                      type: array
11805
                    fromParams:
11806
                      description: List of query parameters from which JWT is expected.
11807
                      items:
11808
                        type: string
11809
                      type: array
11810
                    issuer:
11811
                      description: Identifies the issuer that issued the JWT.
11812
                      type: string
11813
                    jwks:
11814
                      description: JSON Web Key Set of public keys to validate signature
11815
                        of the JWT.
11816
                      type: string
11817
                    jwks_uri:
11818
                      description: URL of the provider's public key set to validate
11819
                        signature of the JWT.
11820
                      type: string
11821
                    jwksUri:
11822
                      description: URL of the provider's public key set to validate
11823
                        signature of the JWT.
11824
                      type: string
11825
                    outputClaimToHeaders:
11826
                      description: This field specifies a list of operations to copy
11827
                        the claim to HTTP headers on a successfully verified token.
11828
                      items:
11829
                        properties:
11830
                          claim:
11831
                            description: The name of the claim to be copied from.
11832
                            type: string
11833
                          header:
11834
                            description: The name of the header to be created.
11835
                            type: string
11836
                        type: object
11837
                      type: array
11838
                    outputPayloadToHeader:
11839
                      description: This field specifies the header name to output
11840
                        a successfully verified JWT payload to the backend.
11841
                      type: string
11842
                    timeout:
11843
                      description: The maximum amount of time that the resolver, determined
11844
                        by the PILOT_JWT_ENABLE_REMOTE_JWKS environment variable,
11845
                        will spend waiting for the JWKS to be fetched.
11846
                      type: string
11847
                  required:
11848
                  - issuer
11849
                  type: object
11850
                type: array
11851
              selector:
11852
                description: Optional.
11853
                properties:
11854
                  matchLabels:
11855
                    additionalProperties:
11856
                      type: string
11857
                    description: One or more labels that indicate a specific set of
11858
                      pods/VMs on which a policy should be applied.
11859
                    type: object
11860
                type: object
11861
              targetRef:
11862
                description: Optional.
11863
                properties:
11864
                  group:
11865
                    description: group is the group of the target resource.
11866
                    type: string
11867
                  kind:
11868
                    description: kind is kind of the target resource.
11869
                    type: string
11870
                  name:
11871
                    description: name is the name of the target resource.
11872
                    type: string
11873
                  namespace:
11874
                    description: namespace is the namespace of the referent.
11875
                    type: string
11876
                type: object
11877
            type: object
11878
          status:
11879
            type: object
11880
            x-kubernetes-preserve-unknown-fields: true
11881
        type: object
11882
    served: true
11883
    storage: true
11884
    subresources:
11885
      status: {}
11886
---
11887
apiVersion: apiextensions.k8s.io/v1
11888
kind: CustomResourceDefinition
11889
metadata:
11890
  annotations:
11891
    "helm.sh/resource-policy": keep
11892
  labels:
11893
    app: istio-pilot
11894
    chart: istio
11895
    heritage: Tiller
11896
    istio: telemetry
11897
    release: istio
11898
  name: telemetries.telemetry.istio.io
11899
spec:
11900
  group: telemetry.istio.io
11901
  names:
11902
    categories:
11903
    - istio-io
11904
    - telemetry-istio-io
11905
    kind: Telemetry
11906
    listKind: TelemetryList
11907
    plural: telemetries
11908
    shortNames:
11909
    - telemetry
11910
    singular: telemetry
11911
  scope: Namespaced
11912
  versions:
11913
  - additionalPrinterColumns:
11914
    - description: 'CreationTimestamp is a timestamp representing the server time
11915
        when this object was created. It is not guaranteed to be set in happens-before
11916
        order across separate operations. Clients may not set this value. It is represented
11917
        in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for
11918
        lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
11919
      jsonPath: .metadata.creationTimestamp
11920
      name: Age
11921
      type: date
11922
    name: v1alpha1
11923
    schema:
11924
      openAPIV3Schema:
11925
        properties:
11926
          spec:
11927
            description: 'Telemetry configuration for workloads. See more details
11928
              at: https://istio.io/docs/reference/config/telemetry.html'
11929
            properties:
11930
              accessLogging:
11931
                description: Optional.
11932
                items:
11933
                  properties:
11934
                    disabled:
11935
                      description: Controls logging.
11936
                      nullable: true
11937
                      type: boolean
11938
                    filter:
11939
                      description: Optional.
11940
                      properties:
11941
                        expression:
11942
                          description: CEL expression for selecting when requests/connections
11943
                            should be logged.
11944
                          type: string
11945
                      type: object
11946
                    match:
11947
                      description: Allows tailoring of logging behavior to specific
11948
                        conditions.
11949
                      properties:
11950
                        mode:
11951
                          description: |-
11952
                            This determines whether or not to apply the access logging configuration based on the direction of traffic relative to the proxied workload.
11953

11954
                            Valid Options: CLIENT_AND_SERVER, CLIENT, SERVER
11955
                          enum:
11956
                          - CLIENT_AND_SERVER
11957
                          - CLIENT
11958
                          - SERVER
11959
                          type: string
11960
                      type: object
11961
                    providers:
11962
                      description: Optional.
11963
                      items:
11964
                        properties:
11965
                          name:
11966
                            description: Required.
11967
                            minLength: 1
11968
                            type: string
11969
                        required:
11970
                        - name
11971
                        type: object
11972
                      type: array
11973
                  type: object
11974
                type: array
11975
              metrics:
11976
                description: Optional.
11977
                items:
11978
                  properties:
11979
                    overrides:
11980
                      description: Optional.
11981
                      items:
11982
                        properties:
11983
                          disabled:
11984
                            description: Optional.
11985
                            nullable: true
11986
                            type: boolean
11987
                          match:
11988
                            description: Match allows providing the scope of the override.
11989
                            oneOf:
11990
                            - not:
11991
                                anyOf:
11992
                                - required:
11993
                                  - metric
11994
                                - required:
11995
                                  - customMetric
11996
                            - required:
11997
                              - metric
11998
                            - required:
11999
                              - customMetric
12000
                            properties:
12001
                              customMetric:
12002
                                description: Allows free-form specification of a metric.
12003
                                minLength: 1
12004
                                type: string
12005
                              metric:
12006
                                description: |-
12007
                                  One of the well-known [Istio Standard Metrics](https://istio.io/latest/docs/reference/config/metrics/).
12008

12009
                                  Valid Options: ALL_METRICS, REQUEST_COUNT, REQUEST_DURATION, REQUEST_SIZE, RESPONSE_SIZE, TCP_OPENED_CONNECTIONS, TCP_CLOSED_CONNECTIONS, TCP_SENT_BYTES, TCP_RECEIVED_BYTES, GRPC_REQUEST_MESSAGES, GRPC_RESPONSE_MESSAGES
12010
                                enum:
12011
                                - ALL_METRICS
12012
                                - REQUEST_COUNT
12013
                                - REQUEST_DURATION
12014
                                - REQUEST_SIZE
12015
                                - RESPONSE_SIZE
12016
                                - TCP_OPENED_CONNECTIONS
12017
                                - TCP_CLOSED_CONNECTIONS
12018
                                - TCP_SENT_BYTES
12019
                                - TCP_RECEIVED_BYTES
12020
                                - GRPC_REQUEST_MESSAGES
12021
                                - GRPC_RESPONSE_MESSAGES
12022
                                type: string
12023
                              mode:
12024
                                description: |-
12025
                                  Controls which mode of metrics generation is selected: `CLIENT`, `SERVER`, or `CLIENT_AND_SERVER`.
12026

12027
                                  Valid Options: CLIENT_AND_SERVER, CLIENT, SERVER
12028
                                enum:
12029
                                - CLIENT_AND_SERVER
12030
                                - CLIENT
12031
                                - SERVER
12032
                                type: string
12033
                            type: object
12034
                          tagOverrides:
12035
                            additionalProperties:
12036
                              properties:
12037
                                operation:
12038
                                  description: |-
12039
                                    Operation controls whether or not to update/add a tag, or to remove it.
12040

12041
                                    Valid Options: UPSERT, REMOVE
12042
                                  enum:
12043
                                  - UPSERT
12044
                                  - REMOVE
12045
                                  type: string
12046
                                value:
12047
                                  description: Value is only considered if the operation
12048
                                    is `UPSERT`.
12049
                                  type: string
12050
                              type: object
12051
                              x-kubernetes-validations:
12052
                              - message: value must be set when operation is UPSERT
12053
                                rule: '((has(self.operation) ? self.operation : '''')
12054
                                  == ''UPSERT'') ? self.value != '''' : true'
12055
                              - message: value must not be set when operation is REMOVE
12056
                                rule: '((has(self.operation) ? self.operation : '''')
12057
                                  == ''REMOVE'') ? !has(self.value) : true'
12058
                            description: Optional.
12059
                            type: object
12060
                        type: object
12061
                      type: array
12062
                    providers:
12063
                      description: Optional.
12064
                      items:
12065
                        properties:
12066
                          name:
12067
                            description: Required.
12068
                            minLength: 1
12069
                            type: string
12070
                        required:
12071
                        - name
12072
                        type: object
12073
                      type: array
12074
                    reportingInterval:
12075
                      description: Optional.
12076
                      type: string
12077
                  type: object
12078
                type: array
12079
              selector:
12080
                description: Optional.
12081
                properties:
12082
                  matchLabels:
12083
                    additionalProperties:
12084
                      type: string
12085
                    description: One or more labels that indicate a specific set of
12086
                      pods/VMs on which a policy should be applied.
12087
                    type: object
12088
                type: object
12089
              targetRef:
12090
                description: Optional.
12091
                properties:
12092
                  group:
12093
                    description: group is the group of the target resource.
12094
                    type: string
12095
                  kind:
12096
                    description: kind is kind of the target resource.
12097
                    type: string
12098
                  name:
12099
                    description: name is the name of the target resource.
12100
                    type: string
12101
                  namespace:
12102
                    description: namespace is the namespace of the referent.
12103
                    type: string
12104
                type: object
12105
              tracing:
12106
                description: Optional.
12107
                items:
12108
                  properties:
12109
                    customTags:
12110
                      additionalProperties:
12111
                        oneOf:
12112
                        - not:
12113
                            anyOf:
12114
                            - required:
12115
                              - literal
12116
                            - required:
12117
                              - environment
12118
                            - required:
12119
                              - header
12120
                        - required:
12121
                          - literal
12122
                        - required:
12123
                          - environment
12124
                        - required:
12125
                          - header
12126
                        properties:
12127
                          environment:
12128
                            description: Environment adds the value of an environment
12129
                              variable to each span.
12130
                            properties:
12131
                              defaultValue:
12132
                                description: Optional.
12133
                                type: string
12134
                              name:
12135
                                description: Name of the environment variable from
12136
                                  which to extract the tag value.
12137
                                minLength: 1
12138
                                type: string
12139
                            required:
12140
                            - name
12141
                            type: object
12142
                          header:
12143
                            description: RequestHeader adds the value of an header
12144
                              from the request to each span.
12145
                            properties:
12146
                              defaultValue:
12147
                                description: Optional.
12148
                                type: string
12149
                              name:
12150
                                description: Name of the header from which to extract
12151
                                  the tag value.
12152
                                minLength: 1
12153
                                type: string
12154
                            required:
12155
                            - name
12156
                            type: object
12157
                          literal:
12158
                            description: Literal adds the same, hard-coded value to
12159
                              each span.
12160
                            properties:
12161
                              value:
12162
                                description: The tag value to use.
12163
                                minLength: 1
12164
                                type: string
12165
                            required:
12166
                            - value
12167
                            type: object
12168
                        type: object
12169
                      description: Optional.
12170
                      type: object
12171
                    disableSpanReporting:
12172
                      description: Controls span reporting.
12173
                      nullable: true
12174
                      type: boolean
12175
                    match:
12176
                      description: Allows tailoring of behavior to specific conditions.
12177
                      properties:
12178
                        mode:
12179
                          description: |-
12180
                            This determines whether or not to apply the tracing configuration based on the direction of traffic relative to the proxied workload.
12181

12182
                            Valid Options: CLIENT_AND_SERVER, CLIENT, SERVER
12183
                          enum:
12184
                          - CLIENT_AND_SERVER
12185
                          - CLIENT
12186
                          - SERVER
12187
                          type: string
12188
                      type: object
12189
                    providers:
12190
                      description: Optional.
12191
                      items:
12192
                        properties:
12193
                          name:
12194
                            description: Required.
12195
                            minLength: 1
12196
                            type: string
12197
                        required:
12198
                        - name
12199
                        type: object
12200
                      type: array
12201
                    randomSamplingPercentage:
12202
                      description: Controls the rate at which traffic will be selected
12203
                        for tracing if no prior sampling decision has been made.
12204
                      maximum: 100
12205
                      minimum: 0
12206
                      nullable: true
12207
                      type: number
12208
                    useRequestIdForTraceSampling:
12209
                      nullable: true
12210
                      type: boolean
12211
                  type: object
12212
                type: array
12213
            type: object
12214
          status:
12215
            type: object
12216
            x-kubernetes-preserve-unknown-fields: true
12217
        type: object
12218
    served: true
12219
    storage: true
12220
    subresources:
12221
      status: {}
12222

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.