github.com/projectcontour/contour@v1.28.2/site/content/docs/1.25/config/api-reference.html (about) 1 <p>Packages:</p> 2 <ul> 3 <li> 4 <a href="#projectcontour.io%2fv1">projectcontour.io/v1</a> 5 </li> 6 <li> 7 <a href="#projectcontour.io%2fv1alpha1">projectcontour.io/v1alpha1</a> 8 </li> 9 </ul> 10 <h2 id="projectcontour.io/v1">projectcontour.io/v1</h2> 11 <p> 12 <p>Package v1 holds the specification for the projectcontour.io Custom Resource Definitions (CRDs).</p> 13 <p>In building this CRD, we’ve inadvertently overloaded the word “Condition”, so we’ve tried to make 14 this spec clear as to which types of condition are which.</p> 15 <p><code>MatchConditions</code> are used by <code>Routes</code> and <code>Includes</code> to specify rules to match requests against for either 16 routing or inclusion.</p> 17 <p><code>DetailedConditions</code> are used in the <code>Status</code> of these objects to hold information about the relevant 18 state of the object and the world around it.</p> 19 <p><code>SubConditions</code> are used underneath <code>DetailedConditions</code> to give more detail to errors or warnings.</p> 20 </p> 21 Resource Types: 22 <ul><li> 23 <a href="#projectcontour.io/v1.HTTPProxy">HTTPProxy</a> 24 </li><li> 25 <a href="#projectcontour.io/v1.TLSCertificateDelegation">TLSCertificateDelegation</a> 26 </li></ul> 27 <h3 id="projectcontour.io/v1.HTTPProxy">HTTPProxy 28 </h3> 29 <p> 30 <p>HTTPProxy is an Ingress CRD specification.</p> 31 </p> 32 <table> 33 <thead> 34 <tr> 35 <th>Field</th> 36 <th>Description</th> 37 </tr> 38 </thead> 39 <tbody> 40 <tr> 41 <td> 42 <code>apiVersion</code></br> 43 string</td> 44 <td> 45 <code> 46 projectcontour.io/v1 47 </code> 48 </td> 49 </tr> 50 <tr> 51 <td> 52 <code>kind</code></br> 53 string 54 </td> 55 <td><code>HTTPProxy</code></td> 56 </tr> 57 <tr> 58 <td style="white-space:nowrap"> 59 <code>metadata</code> 60 <br> 61 <em> 62 <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#objectmeta-v1-meta"> 63 Kubernetes meta/v1.ObjectMeta 64 </a> 65 </em> 66 </td> 67 <td> 68 Refer to the Kubernetes API documentation for the fields of the 69 <code>metadata</code> field. 70 </td> 71 </tr> 72 <tr> 73 <td style="white-space:nowrap"> 74 <code>spec</code> 75 <br> 76 <em> 77 <a href="#projectcontour.io/v1.HTTPProxySpec"> 78 HTTPProxySpec 79 </a> 80 </em> 81 </td> 82 <td> 83 <br> 84 <br> 85 <table style="border:none"> 86 <tr> 87 <td style="white-space:nowrap"> 88 <code>virtualhost</code> 89 <br> 90 <em> 91 <a href="#projectcontour.io/v1.VirtualHost"> 92 VirtualHost 93 </a> 94 </em> 95 </td> 96 <td> 97 <em>(Optional)</em> 98 <p>Virtualhost appears at most once. If it is present, the object is considered 99 to be a “root” HTTPProxy.</p> 100 </td> 101 </tr> 102 <tr> 103 <td style="white-space:nowrap"> 104 <code>routes</code> 105 <br> 106 <em> 107 <a href="#projectcontour.io/v1.Route"> 108 []Route 109 </a> 110 </em> 111 </td> 112 <td> 113 <em>(Optional)</em> 114 <p>Routes are the ingress routes. If TCPProxy is present, Routes is ignored.</p> 115 </td> 116 </tr> 117 <tr> 118 <td style="white-space:nowrap"> 119 <code>tcpproxy</code> 120 <br> 121 <em> 122 <a href="#projectcontour.io/v1.TCPProxy"> 123 TCPProxy 124 </a> 125 </em> 126 </td> 127 <td> 128 <em>(Optional)</em> 129 <p>TCPProxy holds TCP proxy information.</p> 130 </td> 131 </tr> 132 <tr> 133 <td style="white-space:nowrap"> 134 <code>includes</code> 135 <br> 136 <em> 137 <a href="#projectcontour.io/v1.Include"> 138 []Include 139 </a> 140 </em> 141 </td> 142 <td> 143 <em>(Optional)</em> 144 <p>Includes allow for specific routing configuration to be included from another HTTPProxy, 145 possibly in another namespace.</p> 146 </td> 147 </tr> 148 <tr> 149 <td style="white-space:nowrap"> 150 <code>ingressClassName</code> 151 <br> 152 <em> 153 string 154 </em> 155 </td> 156 <td> 157 <em>(Optional)</em> 158 <p>IngressClassName optionally specifies the ingress class to use for this 159 HTTPProxy. This replaces the deprecated <code>kubernetes.io/ingress.class</code> 160 annotation. For backwards compatibility, when that annotation is set, it 161 is given precedence over this field.</p> 162 </td> 163 </tr> 164 </table> 165 </td> 166 </tr> 167 <tr> 168 <td style="white-space:nowrap"> 169 <code>status</code> 170 <br> 171 <em> 172 <a href="#projectcontour.io/v1.HTTPProxyStatus"> 173 HTTPProxyStatus 174 </a> 175 </em> 176 </td> 177 <td> 178 <em>(Optional)</em> 179 <p>Status is a container for computed information about the HTTPProxy.</p> 180 </td> 181 </tr> 182 </tbody> 183 </table> 184 <h3 id="projectcontour.io/v1.TLSCertificateDelegation">TLSCertificateDelegation 185 </h3> 186 <p> 187 <p>TLSCertificateDelegation is an TLS Certificate Delegation CRD specification. 188 See design/tls-certificate-delegation.md for details.</p> 189 </p> 190 <table> 191 <thead> 192 <tr> 193 <th>Field</th> 194 <th>Description</th> 195 </tr> 196 </thead> 197 <tbody> 198 <tr> 199 <td> 200 <code>apiVersion</code></br> 201 string</td> 202 <td> 203 <code> 204 projectcontour.io/v1 205 </code> 206 </td> 207 </tr> 208 <tr> 209 <td> 210 <code>kind</code></br> 211 string 212 </td> 213 <td><code>TLSCertificateDelegation</code></td> 214 </tr> 215 <tr> 216 <td style="white-space:nowrap"> 217 <code>metadata</code> 218 <br> 219 <em> 220 <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#objectmeta-v1-meta"> 221 Kubernetes meta/v1.ObjectMeta 222 </a> 223 </em> 224 </td> 225 <td> 226 Refer to the Kubernetes API documentation for the fields of the 227 <code>metadata</code> field. 228 </td> 229 </tr> 230 <tr> 231 <td style="white-space:nowrap"> 232 <code>spec</code> 233 <br> 234 <em> 235 <a href="#projectcontour.io/v1.TLSCertificateDelegationSpec"> 236 TLSCertificateDelegationSpec 237 </a> 238 </em> 239 </td> 240 <td> 241 <br> 242 <br> 243 <table style="border:none"> 244 <tr> 245 <td style="white-space:nowrap"> 246 <code>delegations</code> 247 <br> 248 <em> 249 <a href="#projectcontour.io/v1.CertificateDelegation"> 250 []CertificateDelegation 251 </a> 252 </em> 253 </td> 254 <td> 255 </td> 256 </tr> 257 </table> 258 </td> 259 </tr> 260 <tr> 261 <td style="white-space:nowrap"> 262 <code>status</code> 263 <br> 264 <em> 265 <a href="#projectcontour.io/v1.TLSCertificateDelegationStatus"> 266 TLSCertificateDelegationStatus 267 </a> 268 </em> 269 </td> 270 <td> 271 <em>(Optional)</em> 272 </td> 273 </tr> 274 </tbody> 275 </table> 276 <h3 id="projectcontour.io/v1.AuthorizationPolicy">AuthorizationPolicy 277 </h3> 278 <p> 279 (<em>Appears on:</em> 280 <a href="#projectcontour.io/v1.AuthorizationServer">AuthorizationServer</a>, 281 <a href="#projectcontour.io/v1.Route">Route</a>) 282 </p> 283 <p> 284 <p>AuthorizationPolicy modifies how client requests are authenticated.</p> 285 </p> 286 <table> 287 <thead> 288 <tr> 289 <th>Field</th> 290 <th>Description</th> 291 </tr> 292 </thead> 293 <tbody> 294 <tr> 295 <td style="white-space:nowrap"> 296 <code>disabled</code> 297 <br> 298 <em> 299 bool 300 </em> 301 </td> 302 <td> 303 <em>(Optional)</em> 304 <p>When true, this field disables client request authentication 305 for the scope of the policy.</p> 306 </td> 307 </tr> 308 <tr> 309 <td style="white-space:nowrap"> 310 <code>context</code> 311 <br> 312 <em> 313 map[string]string 314 </em> 315 </td> 316 <td> 317 <em>(Optional)</em> 318 <p>Context is a set of key/value pairs that are sent to the 319 authentication server in the check request. If a context 320 is provided at an enclosing scope, the entries are merged 321 such that the inner scope overrides matching keys from the 322 outer scope.</p> 323 </td> 324 </tr> 325 </tbody> 326 </table> 327 <h3 id="projectcontour.io/v1.AuthorizationServer">AuthorizationServer 328 </h3> 329 <p> 330 (<em>Appears on:</em> 331 <a href="#projectcontour.io/v1.VirtualHost">VirtualHost</a>, 332 <a href="#projectcontour.io/v1alpha1.ContourConfigurationSpec">ContourConfigurationSpec</a>) 333 </p> 334 <p> 335 <p>AuthorizationServer configures an external server to authenticate 336 client requests. The external server must implement the v3 Envoy 337 external authorization GRPC protocol (<a href="https://www.envoyproxy.io/docs/envoy/latest/api-v3/service/auth/v3/external_auth.proto">https://www.envoyproxy.io/docs/envoy/latest/api-v3/service/auth/v3/external_auth.proto</a>).</p> 338 </p> 339 <table> 340 <thead> 341 <tr> 342 <th>Field</th> 343 <th>Description</th> 344 </tr> 345 </thead> 346 <tbody> 347 <tr> 348 <td style="white-space:nowrap"> 349 <code>extensionRef</code> 350 <br> 351 <em> 352 <a href="#projectcontour.io/v1.ExtensionServiceReference"> 353 ExtensionServiceReference 354 </a> 355 </em> 356 </td> 357 <td> 358 <em>(Optional)</em> 359 <p>ExtensionServiceRef specifies the extension resource that will authorize client requests.</p> 360 </td> 361 </tr> 362 <tr> 363 <td style="white-space:nowrap"> 364 <code>authPolicy</code> 365 <br> 366 <em> 367 <a href="#projectcontour.io/v1.AuthorizationPolicy"> 368 AuthorizationPolicy 369 </a> 370 </em> 371 </td> 372 <td> 373 <em>(Optional)</em> 374 <p>AuthPolicy sets a default authorization policy for client requests. 375 This policy will be used unless overridden by individual routes.</p> 376 </td> 377 </tr> 378 <tr> 379 <td style="white-space:nowrap"> 380 <code>responseTimeout</code> 381 <br> 382 <em> 383 string 384 </em> 385 </td> 386 <td> 387 <em>(Optional)</em> 388 <p>ResponseTimeout configures maximum time to wait for a check response from the authorization server. 389 Timeout durations are expressed in the Go <a href="https://godoc.org/time#ParseDuration">Duration format</a>. 390 Valid time units are “ns”, “us” (or “µs”), “ms”, “s”, “m”, “h”. 391 The string “infinity” is also a valid input and specifies no timeout.</p> 392 </td> 393 </tr> 394 <tr> 395 <td style="white-space:nowrap"> 396 <code>failOpen</code> 397 <br> 398 <em> 399 bool 400 </em> 401 </td> 402 <td> 403 <em>(Optional)</em> 404 <p>If FailOpen is true, the client request is forwarded to the upstream service 405 even if the authorization server fails to respond. This field should not be 406 set in most cases. It is intended for use only while migrating applications 407 from internal authorization to Contour external authorization.</p> 408 </td> 409 </tr> 410 <tr> 411 <td style="white-space:nowrap"> 412 <code>withRequestBody</code> 413 <br> 414 <em> 415 <a href="#projectcontour.io/v1.AuthorizationServerBufferSettings"> 416 AuthorizationServerBufferSettings 417 </a> 418 </em> 419 </td> 420 <td> 421 <em>(Optional)</em> 422 <p>WithRequestBody specifies configuration for sending the client request’s body to authorization server.</p> 423 </td> 424 </tr> 425 </tbody> 426 </table> 427 <h3 id="projectcontour.io/v1.AuthorizationServerBufferSettings">AuthorizationServerBufferSettings 428 </h3> 429 <p> 430 (<em>Appears on:</em> 431 <a href="#projectcontour.io/v1.AuthorizationServer">AuthorizationServer</a>) 432 </p> 433 <p> 434 <p>AuthorizationServerBufferSettings enables ExtAuthz filter to buffer client request data and send it as part of authorization request</p> 435 </p> 436 <table> 437 <thead> 438 <tr> 439 <th>Field</th> 440 <th>Description</th> 441 </tr> 442 </thead> 443 <tbody> 444 <tr> 445 <td style="white-space:nowrap"> 446 <code>maxRequestBytes</code> 447 <br> 448 <em> 449 uint32 450 </em> 451 </td> 452 <td> 453 <em>(Optional)</em> 454 <p>MaxRequestBytes sets the maximum size of message body ExtAuthz filter will hold in-memory.</p> 455 </td> 456 </tr> 457 <tr> 458 <td style="white-space:nowrap"> 459 <code>allowPartialMessage</code> 460 <br> 461 <em> 462 bool 463 </em> 464 </td> 465 <td> 466 <em>(Optional)</em> 467 <p>If AllowPartialMessage is true, then Envoy will buffer the body until MaxRequestBytes are reached.</p> 468 </td> 469 </tr> 470 <tr> 471 <td style="white-space:nowrap"> 472 <code>packAsBytes</code> 473 <br> 474 <em> 475 bool 476 </em> 477 </td> 478 <td> 479 <em>(Optional)</em> 480 <p>If PackAsBytes is true, the body sent to Authorization Server is in raw bytes.</p> 481 </td> 482 </tr> 483 </tbody> 484 </table> 485 <h3 id="projectcontour.io/v1.CORSHeaderValue">CORSHeaderValue 486 (<code>string</code> alias)</p></h3> 487 <p> 488 (<em>Appears on:</em> 489 <a href="#projectcontour.io/v1.CORSPolicy">CORSPolicy</a>) 490 </p> 491 <p> 492 <p>CORSHeaderValue specifies the value of the string headers returned by a cross-domain request.</p> 493 </p> 494 <h3 id="projectcontour.io/v1.CORSPolicy">CORSPolicy 495 </h3> 496 <p> 497 (<em>Appears on:</em> 498 <a href="#projectcontour.io/v1.VirtualHost">VirtualHost</a>) 499 </p> 500 <p> 501 <p>CORSPolicy allows setting the CORS policy</p> 502 </p> 503 <table> 504 <thead> 505 <tr> 506 <th>Field</th> 507 <th>Description</th> 508 </tr> 509 </thead> 510 <tbody> 511 <tr> 512 <td style="white-space:nowrap"> 513 <code>allowCredentials</code> 514 <br> 515 <em> 516 bool 517 </em> 518 </td> 519 <td> 520 <em>(Optional)</em> 521 <p>Specifies whether the resource allows credentials.</p> 522 </td> 523 </tr> 524 <tr> 525 <td style="white-space:nowrap"> 526 <code>allowOrigin</code> 527 <br> 528 <em> 529 []string 530 </em> 531 </td> 532 <td> 533 <p>AllowOrigin specifies the origins that will be allowed to do CORS requests. 534 Allowed values include “*” which signifies any origin is allowed, an exact 535 origin of the form “scheme://host[:port]” (where port is optional), or a valid 536 regex pattern. 537 Note that regex patterns are validated and a simple “glob” pattern (e.g. *.foo.com) 538 will be rejected or produce unexpected matches when applied as a regex.</p> 539 </td> 540 </tr> 541 <tr> 542 <td style="white-space:nowrap"> 543 <code>allowMethods</code> 544 <br> 545 <em> 546 <a href="#projectcontour.io/v1.CORSHeaderValue"> 547 []CORSHeaderValue 548 </a> 549 </em> 550 </td> 551 <td> 552 <p>AllowMethods specifies the content for the <em>access-control-allow-methods</em> header.</p> 553 </td> 554 </tr> 555 <tr> 556 <td style="white-space:nowrap"> 557 <code>allowHeaders</code> 558 <br> 559 <em> 560 <a href="#projectcontour.io/v1.CORSHeaderValue"> 561 []CORSHeaderValue 562 </a> 563 </em> 564 </td> 565 <td> 566 <em>(Optional)</em> 567 <p>AllowHeaders specifies the content for the <em>access-control-allow-headers</em> header.</p> 568 </td> 569 </tr> 570 <tr> 571 <td style="white-space:nowrap"> 572 <code>exposeHeaders</code> 573 <br> 574 <em> 575 <a href="#projectcontour.io/v1.CORSHeaderValue"> 576 []CORSHeaderValue 577 </a> 578 </em> 579 </td> 580 <td> 581 <em>(Optional)</em> 582 <p>ExposeHeaders Specifies the content for the <em>access-control-expose-headers</em> header.</p> 583 </td> 584 </tr> 585 <tr> 586 <td style="white-space:nowrap"> 587 <code>maxAge</code> 588 <br> 589 <em> 590 string 591 </em> 592 </td> 593 <td> 594 <em>(Optional)</em> 595 <p>MaxAge indicates for how long the results of a preflight request can be cached. 596 MaxAge durations are expressed in the Go <a href="https://godoc.org/time#ParseDuration">Duration format</a>. 597 Valid time units are “ns”, “us” (or “µs”), “ms”, “s”, “m”, “h”. 598 Only positive values are allowed while 0 disables the cache requiring a preflight OPTIONS 599 check for all cross-origin requests.</p> 600 </td> 601 </tr> 602 <tr> 603 <td style="white-space:nowrap"> 604 <code>allowPrivateNetwork</code> 605 <br> 606 <em> 607 bool 608 </em> 609 </td> 610 <td> 611 <p>AllowPrivateNetwork specifies whether to allow private network requests. 612 See <a href="https://developer.chrome.com/blog/private-network-access-preflight">https://developer.chrome.com/blog/private-network-access-preflight</a>.</p> 613 </td> 614 </tr> 615 </tbody> 616 </table> 617 <h3 id="projectcontour.io/v1.CertificateDelegation">CertificateDelegation 618 </h3> 619 <p> 620 (<em>Appears on:</em> 621 <a href="#projectcontour.io/v1.TLSCertificateDelegationSpec">TLSCertificateDelegationSpec</a>) 622 </p> 623 <p> 624 <p>CertificateDelegation maps the authority to reference a secret 625 in the current namespace to a set of namespaces.</p> 626 </p> 627 <table> 628 <thead> 629 <tr> 630 <th>Field</th> 631 <th>Description</th> 632 </tr> 633 </thead> 634 <tbody> 635 <tr> 636 <td style="white-space:nowrap"> 637 <code>secretName</code> 638 <br> 639 <em> 640 string 641 </em> 642 </td> 643 <td> 644 <p>required, the name of a secret in the current namespace.</p> 645 </td> 646 </tr> 647 <tr> 648 <td style="white-space:nowrap"> 649 <code>targetNamespaces</code> 650 <br> 651 <em> 652 []string 653 </em> 654 </td> 655 <td> 656 <p>required, the namespaces the authority to reference the 657 secret will be delegated to. 658 If TargetNamespaces is nil or empty, the CertificateDelegation’ 659 is ignored. If the TargetNamespace list contains the character, “*” 660 the secret will be delegated to all namespaces.</p> 661 </td> 662 </tr> 663 </tbody> 664 </table> 665 <h3 id="projectcontour.io/v1.ClientCertificateDetails">ClientCertificateDetails 666 </h3> 667 <p> 668 (<em>Appears on:</em> 669 <a href="#projectcontour.io/v1.DownstreamValidation">DownstreamValidation</a>) 670 </p> 671 <p> 672 <p>ClientCertificateDetails defines which parts of the client certificate will be forwarded.</p> 673 </p> 674 <table> 675 <thead> 676 <tr> 677 <th>Field</th> 678 <th>Description</th> 679 </tr> 680 </thead> 681 <tbody> 682 <tr> 683 <td style="white-space:nowrap"> 684 <code>subject</code> 685 <br> 686 <em> 687 bool 688 </em> 689 </td> 690 <td> 691 <em>(Optional)</em> 692 <p>Subject of the client cert.</p> 693 </td> 694 </tr> 695 <tr> 696 <td style="white-space:nowrap"> 697 <code>cert</code> 698 <br> 699 <em> 700 bool 701 </em> 702 </td> 703 <td> 704 <em>(Optional)</em> 705 <p>Client cert in URL encoded PEM format.</p> 706 </td> 707 </tr> 708 <tr> 709 <td style="white-space:nowrap"> 710 <code>chain</code> 711 <br> 712 <em> 713 bool 714 </em> 715 </td> 716 <td> 717 <em>(Optional)</em> 718 <p>Client cert chain (including the leaf cert) in URL encoded PEM format.</p> 719 </td> 720 </tr> 721 <tr> 722 <td style="white-space:nowrap"> 723 <code>dns</code> 724 <br> 725 <em> 726 bool 727 </em> 728 </td> 729 <td> 730 <em>(Optional)</em> 731 <p>DNS type Subject Alternative Names of the client cert.</p> 732 </td> 733 </tr> 734 <tr> 735 <td style="white-space:nowrap"> 736 <code>uri</code> 737 <br> 738 <em> 739 bool 740 </em> 741 </td> 742 <td> 743 <em>(Optional)</em> 744 <p>URI type Subject Alternative Name of the client cert.</p> 745 </td> 746 </tr> 747 </tbody> 748 </table> 749 <h3 id="projectcontour.io/v1.CookieDomainRewrite">CookieDomainRewrite 750 </h3> 751 <p> 752 (<em>Appears on:</em> 753 <a href="#projectcontour.io/v1.CookieRewritePolicy">CookieRewritePolicy</a>) 754 </p> 755 <p> 756 </p> 757 <table> 758 <thead> 759 <tr> 760 <th>Field</th> 761 <th>Description</th> 762 </tr> 763 </thead> 764 <tbody> 765 <tr> 766 <td style="white-space:nowrap"> 767 <code>value</code> 768 <br> 769 <em> 770 string 771 </em> 772 </td> 773 <td> 774 <p>Value is the value to rewrite the Domain attribute to. 775 For now this is required.</p> 776 </td> 777 </tr> 778 </tbody> 779 </table> 780 <h3 id="projectcontour.io/v1.CookiePathRewrite">CookiePathRewrite 781 </h3> 782 <p> 783 (<em>Appears on:</em> 784 <a href="#projectcontour.io/v1.CookieRewritePolicy">CookieRewritePolicy</a>) 785 </p> 786 <p> 787 </p> 788 <table> 789 <thead> 790 <tr> 791 <th>Field</th> 792 <th>Description</th> 793 </tr> 794 </thead> 795 <tbody> 796 <tr> 797 <td style="white-space:nowrap"> 798 <code>value</code> 799 <br> 800 <em> 801 string 802 </em> 803 </td> 804 <td> 805 <p>Value is the value to rewrite the Path attribute to. 806 For now this is required.</p> 807 </td> 808 </tr> 809 </tbody> 810 </table> 811 <h3 id="projectcontour.io/v1.CookieRewritePolicy">CookieRewritePolicy 812 </h3> 813 <p> 814 (<em>Appears on:</em> 815 <a href="#projectcontour.io/v1.Route">Route</a>, 816 <a href="#projectcontour.io/v1.Service">Service</a>) 817 </p> 818 <p> 819 </p> 820 <table> 821 <thead> 822 <tr> 823 <th>Field</th> 824 <th>Description</th> 825 </tr> 826 </thead> 827 <tbody> 828 <tr> 829 <td style="white-space:nowrap"> 830 <code>name</code> 831 <br> 832 <em> 833 string 834 </em> 835 </td> 836 <td> 837 <p>Name is the name of the cookie for which attributes will be rewritten.</p> 838 </td> 839 </tr> 840 <tr> 841 <td style="white-space:nowrap"> 842 <code>pathRewrite</code> 843 <br> 844 <em> 845 <a href="#projectcontour.io/v1.CookiePathRewrite"> 846 CookiePathRewrite 847 </a> 848 </em> 849 </td> 850 <td> 851 <em>(Optional)</em> 852 <p>PathRewrite enables rewriting the Set-Cookie Path element. 853 If not set, Path will not be rewritten.</p> 854 </td> 855 </tr> 856 <tr> 857 <td style="white-space:nowrap"> 858 <code>domainRewrite</code> 859 <br> 860 <em> 861 <a href="#projectcontour.io/v1.CookieDomainRewrite"> 862 CookieDomainRewrite 863 </a> 864 </em> 865 </td> 866 <td> 867 <em>(Optional)</em> 868 <p>DomainRewrite enables rewriting the Set-Cookie Domain element. 869 If not set, Domain will not be rewritten.</p> 870 </td> 871 </tr> 872 <tr> 873 <td style="white-space:nowrap"> 874 <code>secure</code> 875 <br> 876 <em> 877 bool 878 </em> 879 </td> 880 <td> 881 <em>(Optional)</em> 882 <p>Secure enables rewriting the Set-Cookie Secure element. 883 If not set, Secure attribute will not be rewritten.</p> 884 </td> 885 </tr> 886 <tr> 887 <td style="white-space:nowrap"> 888 <code>sameSite</code> 889 <br> 890 <em> 891 string 892 </em> 893 </td> 894 <td> 895 <em>(Optional)</em> 896 <p>SameSite enables rewriting the Set-Cookie SameSite element. 897 If not set, SameSite attribute will not be rewritten.</p> 898 </td> 899 </tr> 900 </tbody> 901 </table> 902 <h3 id="projectcontour.io/v1.DetailedCondition">DetailedCondition 903 </h3> 904 <p> 905 (<em>Appears on:</em> 906 <a href="#projectcontour.io/v1.HTTPProxyStatus">HTTPProxyStatus</a>, 907 <a href="#projectcontour.io/v1.TLSCertificateDelegationStatus">TLSCertificateDelegationStatus</a>, 908 <a href="#projectcontour.io/v1alpha1.ContourConfigurationStatus">ContourConfigurationStatus</a>, 909 <a href="#projectcontour.io/v1alpha1.ExtensionServiceStatus">ExtensionServiceStatus</a>) 910 </p> 911 <p> 912 <p>DetailedCondition is an extension of the normal Kubernetes conditions, with two extra 913 fields to hold sub-conditions, which provide more detailed reasons for the state (True or False) 914 of the condition.</p> 915 <p><code>errors</code> holds information about sub-conditions which are fatal to that condition and render its state False.</p> 916 <p><code>warnings</code> holds information about sub-conditions which are not fatal to that condition and do not force the state to be False.</p> 917 <p>Remember that Conditions have a type, a status, and a reason.</p> 918 <p>The type is the type of the condition, the most important one in this CRD set is <code>Valid</code>. 919 <code>Valid</code> is a positive-polarity condition: when it is <code>status: true</code> there are no problems.</p> 920 <p>In more detail, <code>status: true</code> means that the object is has been ingested into Contour with no errors. 921 <code>warnings</code> may still be present, and will be indicated in the Reason field. There must be zero entries in the <code>errors</code> 922 slice in this case.</p> 923 <p><code>Valid</code>, <code>status: false</code> means that the object has had one or more fatal errors during processing into Contour. 924 The details of the errors will be present under the <code>errors</code> field. There must be at least one error in the <code>errors</code> 925 slice if <code>status</code> is <code>false</code>.</p> 926 <p>For DetailedConditions of types other than <code>Valid</code>, the Condition must be in the negative polarity. 927 When they have <code>status</code> <code>true</code>, there is an error. There must be at least one entry in the <code>errors</code> Subcondition slice. 928 When they have <code>status</code> <code>false</code>, there are no serious errors, and there must be zero entries in the <code>errors</code> slice. 929 In either case, there may be entries in the <code>warnings</code> slice.</p> 930 <p>Regardless of the polarity, the <code>reason</code> and <code>message</code> fields must be updated with either the detail of the reason 931 (if there is one and only one entry in total across both the <code>errors</code> and <code>warnings</code> slices), or 932 <code>MultipleReasons</code> if there is more than one entry.</p> 933 </p> 934 <table> 935 <thead> 936 <tr> 937 <th>Field</th> 938 <th>Description</th> 939 </tr> 940 </thead> 941 <tbody> 942 <tr> 943 <td style="white-space:nowrap"> 944 <code>Condition</code> 945 <br> 946 <em> 947 <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#condition-v1-meta"> 948 Kubernetes meta/v1.Condition 949 </a> 950 </em> 951 </td> 952 <td> 953 <p> 954 (Members of <code>Condition</code> are embedded into this type.) 955 </p> 956 </td> 957 </tr> 958 <tr> 959 <td style="white-space:nowrap"> 960 <code>errors</code> 961 <br> 962 <em> 963 <a href="#projectcontour.io/v1.SubCondition"> 964 []SubCondition 965 </a> 966 </em> 967 </td> 968 <td> 969 <em>(Optional)</em> 970 <p>Errors contains a slice of relevant error subconditions for this object.</p> 971 <p>Subconditions are expected to appear when relevant (when there is a error), and disappear when not relevant. 972 An empty slice here indicates no errors.</p> 973 </td> 974 </tr> 975 <tr> 976 <td style="white-space:nowrap"> 977 <code>warnings</code> 978 <br> 979 <em> 980 <a href="#projectcontour.io/v1.SubCondition"> 981 []SubCondition 982 </a> 983 </em> 984 </td> 985 <td> 986 <em>(Optional)</em> 987 <p>Warnings contains a slice of relevant warning subconditions for this object.</p> 988 <p>Subconditions are expected to appear when relevant (when there is a warning), and disappear when not relevant. 989 An empty slice here indicates no warnings.</p> 990 </td> 991 </tr> 992 </tbody> 993 </table> 994 <h3 id="projectcontour.io/v1.DownstreamValidation">DownstreamValidation 995 </h3> 996 <p> 997 (<em>Appears on:</em> 998 <a href="#projectcontour.io/v1.TLS">TLS</a>) 999 </p> 1000 <p> 1001 <p>DownstreamValidation defines how to verify the client certificate.</p> 1002 </p> 1003 <table> 1004 <thead> 1005 <tr> 1006 <th>Field</th> 1007 <th>Description</th> 1008 </tr> 1009 </thead> 1010 <tbody> 1011 <tr> 1012 <td style="white-space:nowrap"> 1013 <code>caSecret</code> 1014 <br> 1015 <em> 1016 string 1017 </em> 1018 </td> 1019 <td> 1020 <em>(Optional)</em> 1021 <p>Name of a Kubernetes secret that contains a CA certificate bundle. 1022 The secret must contain key named ca.crt. 1023 The client certificate must validate against the certificates in the bundle. 1024 If specified and SkipClientCertValidation is true, client certificates will 1025 be required on requests.</p> 1026 </td> 1027 </tr> 1028 <tr> 1029 <td style="white-space:nowrap"> 1030 <code>skipClientCertValidation</code> 1031 <br> 1032 <em> 1033 bool 1034 </em> 1035 </td> 1036 <td> 1037 <em>(Optional)</em> 1038 <p>SkipClientCertValidation disables downstream client certificate 1039 validation. Defaults to false. This field is intended to be used in 1040 conjunction with external authorization in order to enable the external 1041 authorization server to validate client certificates. When this field 1042 is set to true, client certificates are requested but not verified by 1043 Envoy. If CACertificate is specified, client certificates are required on 1044 requests, but not verified. If external authorization is in use, they are 1045 presented to the external authorization server.</p> 1046 </td> 1047 </tr> 1048 <tr> 1049 <td style="white-space:nowrap"> 1050 <code>forwardClientCertificate</code> 1051 <br> 1052 <em> 1053 <a href="#projectcontour.io/v1.ClientCertificateDetails"> 1054 ClientCertificateDetails 1055 </a> 1056 </em> 1057 </td> 1058 <td> 1059 <em>(Optional)</em> 1060 <p>ForwardClientCertificate adds the selected data from the passed client TLS certificate 1061 to the x-forwarded-client-cert header.</p> 1062 </td> 1063 </tr> 1064 <tr> 1065 <td style="white-space:nowrap"> 1066 <code>crlSecret</code> 1067 <br> 1068 <em> 1069 string 1070 </em> 1071 </td> 1072 <td> 1073 <em>(Optional)</em> 1074 <p>Name of a Kubernetes opaque secret that contains a concatenated list of PEM encoded CRLs. 1075 The secret must contain key named crl.pem. 1076 This field will be used to verify that a client certificate has not been revoked. 1077 CRLs must be available from all CAs, unless crlOnlyVerifyLeafCert is true. 1078 Large CRL lists are not supported since individual secrets are limited to 1MiB in size.</p> 1079 </td> 1080 </tr> 1081 <tr> 1082 <td style="white-space:nowrap"> 1083 <code>crlOnlyVerifyLeafCert</code> 1084 <br> 1085 <em> 1086 bool 1087 </em> 1088 </td> 1089 <td> 1090 <em>(Optional)</em> 1091 <p>If this option is set to true, only the certificate at the end of the 1092 certificate chain will be subject to validation by CRL.</p> 1093 </td> 1094 </tr> 1095 <tr> 1096 <td style="white-space:nowrap"> 1097 <code>optionalClientCertificate</code> 1098 <br> 1099 <em> 1100 bool 1101 </em> 1102 </td> 1103 <td> 1104 <em>(Optional)</em> 1105 <p>OptionalClientCertificate when set to true will request a client certificate 1106 but allow the connection to continue if the client does not provide one. 1107 If a client certificate is sent, it will be verified according to the 1108 other properties, which includes disabling validation if 1109 SkipClientCertValidation is set. Defaults to false.</p> 1110 </td> 1111 </tr> 1112 </tbody> 1113 </table> 1114 <h3 id="projectcontour.io/v1.ExtensionServiceReference">ExtensionServiceReference 1115 </h3> 1116 <p> 1117 (<em>Appears on:</em> 1118 <a href="#projectcontour.io/v1.AuthorizationServer">AuthorizationServer</a>) 1119 </p> 1120 <p> 1121 <p>ExtensionServiceReference names an ExtensionService resource.</p> 1122 </p> 1123 <table> 1124 <thead> 1125 <tr> 1126 <th>Field</th> 1127 <th>Description</th> 1128 </tr> 1129 </thead> 1130 <tbody> 1131 <tr> 1132 <td style="white-space:nowrap"> 1133 <code>apiVersion</code> 1134 <br> 1135 <em> 1136 string 1137 </em> 1138 </td> 1139 <td> 1140 <em>(Optional)</em> 1141 <p>API version of the referent. 1142 If this field is not specified, the default “projectcontour.io/v1alpha1” will be used</p> 1143 </td> 1144 </tr> 1145 <tr> 1146 <td style="white-space:nowrap"> 1147 <code>namespace</code> 1148 <br> 1149 <em> 1150 string 1151 </em> 1152 </td> 1153 <td> 1154 <em>(Optional)</em> 1155 <p>Namespace of the referent. 1156 If this field is not specifies, the namespace of the resource that targets the referent will be used.</p> 1157 <p>More info: <a href="https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/">https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/</a></p> 1158 </td> 1159 </tr> 1160 <tr> 1161 <td style="white-space:nowrap"> 1162 <code>name</code> 1163 <br> 1164 <em> 1165 string 1166 </em> 1167 </td> 1168 <td> 1169 <p>Name of the referent.</p> 1170 <p>More info: <a href="https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names">https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names</a></p> 1171 </td> 1172 </tr> 1173 </tbody> 1174 </table> 1175 <h3 id="projectcontour.io/v1.GenericKeyDescriptor">GenericKeyDescriptor 1176 </h3> 1177 <p> 1178 (<em>Appears on:</em> 1179 <a href="#projectcontour.io/v1.RateLimitDescriptorEntry">RateLimitDescriptorEntry</a>) 1180 </p> 1181 <p> 1182 <p>GenericKeyDescriptor defines a descriptor entry with a static key and 1183 value.</p> 1184 </p> 1185 <table> 1186 <thead> 1187 <tr> 1188 <th>Field</th> 1189 <th>Description</th> 1190 </tr> 1191 </thead> 1192 <tbody> 1193 <tr> 1194 <td style="white-space:nowrap"> 1195 <code>key</code> 1196 <br> 1197 <em> 1198 string 1199 </em> 1200 </td> 1201 <td> 1202 <em>(Optional)</em> 1203 <p>Key defines the key of the descriptor entry. If not set, the 1204 key is set to “generic_key”.</p> 1205 </td> 1206 </tr> 1207 <tr> 1208 <td style="white-space:nowrap"> 1209 <code>value</code> 1210 <br> 1211 <em> 1212 string 1213 </em> 1214 </td> 1215 <td> 1216 <p>Value defines the value of the descriptor entry.</p> 1217 </td> 1218 </tr> 1219 </tbody> 1220 </table> 1221 <h3 id="projectcontour.io/v1.GlobalRateLimitPolicy">GlobalRateLimitPolicy 1222 </h3> 1223 <p> 1224 (<em>Appears on:</em> 1225 <a href="#projectcontour.io/v1.RateLimitPolicy">RateLimitPolicy</a>) 1226 </p> 1227 <p> 1228 <p>GlobalRateLimitPolicy defines global rate limiting parameters.</p> 1229 </p> 1230 <table> 1231 <thead> 1232 <tr> 1233 <th>Field</th> 1234 <th>Description</th> 1235 </tr> 1236 </thead> 1237 <tbody> 1238 <tr> 1239 <td style="white-space:nowrap"> 1240 <code>descriptors</code> 1241 <br> 1242 <em> 1243 <a href="#projectcontour.io/v1.RateLimitDescriptor"> 1244 []RateLimitDescriptor 1245 </a> 1246 </em> 1247 </td> 1248 <td> 1249 <p>Descriptors defines the list of descriptors that will 1250 be generated and sent to the rate limit service. Each 1251 descriptor contains 1+ key-value pair entries.</p> 1252 </td> 1253 </tr> 1254 </tbody> 1255 </table> 1256 <h3 id="projectcontour.io/v1.HTTPDirectResponsePolicy">HTTPDirectResponsePolicy 1257 </h3> 1258 <p> 1259 (<em>Appears on:</em> 1260 <a href="#projectcontour.io/v1.Route">Route</a>) 1261 </p> 1262 <p> 1263 </p> 1264 <table> 1265 <thead> 1266 <tr> 1267 <th>Field</th> 1268 <th>Description</th> 1269 </tr> 1270 </thead> 1271 <tbody> 1272 <tr> 1273 <td style="white-space:nowrap"> 1274 <code>statusCode</code> 1275 <br> 1276 <em> 1277 int 1278 </em> 1279 </td> 1280 <td> 1281 <p>StatusCode is the HTTP response status to be returned.</p> 1282 </td> 1283 </tr> 1284 <tr> 1285 <td style="white-space:nowrap"> 1286 <code>body</code> 1287 <br> 1288 <em> 1289 string 1290 </em> 1291 </td> 1292 <td> 1293 <em>(Optional)</em> 1294 <p>Body is the content of the response body. 1295 If this setting is omitted, no body is included in the generated response.</p> 1296 <p>Note: Body is not recommended to set too long 1297 otherwise it can have significant resource usage impacts.</p> 1298 </td> 1299 </tr> 1300 </tbody> 1301 </table> 1302 <h3 id="projectcontour.io/v1.HTTPHealthCheckPolicy">HTTPHealthCheckPolicy 1303 </h3> 1304 <p> 1305 (<em>Appears on:</em> 1306 <a href="#projectcontour.io/v1.Route">Route</a>) 1307 </p> 1308 <p> 1309 <p>HTTPHealthCheckPolicy defines health checks on the upstream service.</p> 1310 </p> 1311 <table> 1312 <thead> 1313 <tr> 1314 <th>Field</th> 1315 <th>Description</th> 1316 </tr> 1317 </thead> 1318 <tbody> 1319 <tr> 1320 <td style="white-space:nowrap"> 1321 <code>path</code> 1322 <br> 1323 <em> 1324 string 1325 </em> 1326 </td> 1327 <td> 1328 <p>HTTP endpoint used to perform health checks on upstream service</p> 1329 </td> 1330 </tr> 1331 <tr> 1332 <td style="white-space:nowrap"> 1333 <code>host</code> 1334 <br> 1335 <em> 1336 string 1337 </em> 1338 </td> 1339 <td> 1340 <p>The value of the host header in the HTTP health check request. 1341 If left empty (default value), the name “contour-envoy-healthcheck” 1342 will be used.</p> 1343 </td> 1344 </tr> 1345 <tr> 1346 <td style="white-space:nowrap"> 1347 <code>intervalSeconds</code> 1348 <br> 1349 <em> 1350 int64 1351 </em> 1352 </td> 1353 <td> 1354 <em>(Optional)</em> 1355 <p>The interval (seconds) between health checks</p> 1356 </td> 1357 </tr> 1358 <tr> 1359 <td style="white-space:nowrap"> 1360 <code>timeoutSeconds</code> 1361 <br> 1362 <em> 1363 int64 1364 </em> 1365 </td> 1366 <td> 1367 <em>(Optional)</em> 1368 <p>The time to wait (seconds) for a health check response</p> 1369 </td> 1370 </tr> 1371 <tr> 1372 <td style="white-space:nowrap"> 1373 <code>unhealthyThresholdCount</code> 1374 <br> 1375 <em> 1376 int64 1377 </em> 1378 </td> 1379 <td> 1380 <em>(Optional)</em> 1381 <p>The number of unhealthy health checks required before a host is marked unhealthy</p> 1382 </td> 1383 </tr> 1384 <tr> 1385 <td style="white-space:nowrap"> 1386 <code>healthyThresholdCount</code> 1387 <br> 1388 <em> 1389 int64 1390 </em> 1391 </td> 1392 <td> 1393 <em>(Optional)</em> 1394 <p>The number of healthy health checks required before a host is marked healthy</p> 1395 </td> 1396 </tr> 1397 </tbody> 1398 </table> 1399 <h3 id="projectcontour.io/v1.HTTPInternalRedirectPolicy">HTTPInternalRedirectPolicy 1400 </h3> 1401 <p> 1402 (<em>Appears on:</em> 1403 <a href="#projectcontour.io/v1.Route">Route</a>) 1404 </p> 1405 <p> 1406 </p> 1407 <table> 1408 <thead> 1409 <tr> 1410 <th>Field</th> 1411 <th>Description</th> 1412 </tr> 1413 </thead> 1414 <tbody> 1415 <tr> 1416 <td style="white-space:nowrap"> 1417 <code>maxInternalRedirects</code> 1418 <br> 1419 <em> 1420 uint32 1421 </em> 1422 </td> 1423 <td> 1424 <em>(Optional)</em> 1425 <p>MaxInternalRedirects An internal redirect is not handled, unless the number of previous internal 1426 redirects that a downstream request has encountered is lower than this value.</p> 1427 </td> 1428 </tr> 1429 <tr> 1430 <td style="white-space:nowrap"> 1431 <code>redirectResponseCodes</code> 1432 <br> 1433 <em> 1434 <a href="#projectcontour.io/v1.RedirectResponseCode"> 1435 []RedirectResponseCode 1436 </a> 1437 </em> 1438 </td> 1439 <td> 1440 <em>(Optional)</em> 1441 <p>RedirectResponseCodes If unspecified, only 302 will be treated as internal redirect. 1442 Only 301, 302, 303, 307 and 308 are valid values.</p> 1443 </td> 1444 </tr> 1445 <tr> 1446 <td style="white-space:nowrap"> 1447 <code>allowCrossSchemeRedirect</code> 1448 <br> 1449 <em> 1450 string 1451 </em> 1452 </td> 1453 <td> 1454 <em>(Optional)</em> 1455 <p>AllowCrossSchemeRedirect Allow internal redirect to follow a target URI with a different scheme 1456 than the value of x-forwarded-proto. 1457 SafeOnly allows same scheme redirect and safe cross scheme redirect, which means if the downstream 1458 scheme is HTTPS, both HTTPS and HTTP redirect targets are allowed, but if the downstream scheme 1459 is HTTP, only HTTP redirect targets are allowed.</p> 1460 </td> 1461 </tr> 1462 <tr> 1463 <td style="white-space:nowrap"> 1464 <code>denyRepeatedRouteRedirect</code> 1465 <br> 1466 <em> 1467 bool 1468 </em> 1469 </td> 1470 <td> 1471 <em>(Optional)</em> 1472 <p>If DenyRepeatedRouteRedirect is true, rejects redirect targets that are pointing to a route that has 1473 been followed by a previous redirect from the current route.</p> 1474 </td> 1475 </tr> 1476 </tbody> 1477 </table> 1478 <h3 id="projectcontour.io/v1.HTTPProxySpec">HTTPProxySpec 1479 </h3> 1480 <p> 1481 (<em>Appears on:</em> 1482 <a href="#projectcontour.io/v1.HTTPProxy">HTTPProxy</a>) 1483 </p> 1484 <p> 1485 <p>HTTPProxySpec defines the spec of the CRD.</p> 1486 </p> 1487 <table> 1488 <thead> 1489 <tr> 1490 <th>Field</th> 1491 <th>Description</th> 1492 </tr> 1493 </thead> 1494 <tbody> 1495 <tr> 1496 <td style="white-space:nowrap"> 1497 <code>virtualhost</code> 1498 <br> 1499 <em> 1500 <a href="#projectcontour.io/v1.VirtualHost"> 1501 VirtualHost 1502 </a> 1503 </em> 1504 </td> 1505 <td> 1506 <em>(Optional)</em> 1507 <p>Virtualhost appears at most once. If it is present, the object is considered 1508 to be a “root” HTTPProxy.</p> 1509 </td> 1510 </tr> 1511 <tr> 1512 <td style="white-space:nowrap"> 1513 <code>routes</code> 1514 <br> 1515 <em> 1516 <a href="#projectcontour.io/v1.Route"> 1517 []Route 1518 </a> 1519 </em> 1520 </td> 1521 <td> 1522 <em>(Optional)</em> 1523 <p>Routes are the ingress routes. If TCPProxy is present, Routes is ignored.</p> 1524 </td> 1525 </tr> 1526 <tr> 1527 <td style="white-space:nowrap"> 1528 <code>tcpproxy</code> 1529 <br> 1530 <em> 1531 <a href="#projectcontour.io/v1.TCPProxy"> 1532 TCPProxy 1533 </a> 1534 </em> 1535 </td> 1536 <td> 1537 <em>(Optional)</em> 1538 <p>TCPProxy holds TCP proxy information.</p> 1539 </td> 1540 </tr> 1541 <tr> 1542 <td style="white-space:nowrap"> 1543 <code>includes</code> 1544 <br> 1545 <em> 1546 <a href="#projectcontour.io/v1.Include"> 1547 []Include 1548 </a> 1549 </em> 1550 </td> 1551 <td> 1552 <em>(Optional)</em> 1553 <p>Includes allow for specific routing configuration to be included from another HTTPProxy, 1554 possibly in another namespace.</p> 1555 </td> 1556 </tr> 1557 <tr> 1558 <td style="white-space:nowrap"> 1559 <code>ingressClassName</code> 1560 <br> 1561 <em> 1562 string 1563 </em> 1564 </td> 1565 <td> 1566 <em>(Optional)</em> 1567 <p>IngressClassName optionally specifies the ingress class to use for this 1568 HTTPProxy. This replaces the deprecated <code>kubernetes.io/ingress.class</code> 1569 annotation. For backwards compatibility, when that annotation is set, it 1570 is given precedence over this field.</p> 1571 </td> 1572 </tr> 1573 </tbody> 1574 </table> 1575 <h3 id="projectcontour.io/v1.HTTPProxyStatus">HTTPProxyStatus 1576 </h3> 1577 <p> 1578 (<em>Appears on:</em> 1579 <a href="#projectcontour.io/v1.HTTPProxy">HTTPProxy</a>) 1580 </p> 1581 <p> 1582 <p>HTTPProxyStatus reports the current state of the HTTPProxy.</p> 1583 </p> 1584 <table> 1585 <thead> 1586 <tr> 1587 <th>Field</th> 1588 <th>Description</th> 1589 </tr> 1590 </thead> 1591 <tbody> 1592 <tr> 1593 <td style="white-space:nowrap"> 1594 <code>currentStatus</code> 1595 <br> 1596 <em> 1597 string 1598 </em> 1599 </td> 1600 <td> 1601 <em>(Optional)</em> 1602 </td> 1603 </tr> 1604 <tr> 1605 <td style="white-space:nowrap"> 1606 <code>description</code> 1607 <br> 1608 <em> 1609 string 1610 </em> 1611 </td> 1612 <td> 1613 <em>(Optional)</em> 1614 </td> 1615 </tr> 1616 <tr> 1617 <td style="white-space:nowrap"> 1618 <code>loadBalancer</code> 1619 <br> 1620 <em> 1621 <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#loadbalancerstatus-v1-core"> 1622 Kubernetes core/v1.LoadBalancerStatus 1623 </a> 1624 </em> 1625 </td> 1626 <td> 1627 <em>(Optional)</em> 1628 <p>LoadBalancer contains the current status of the load balancer.</p> 1629 </td> 1630 </tr> 1631 <tr> 1632 <td style="white-space:nowrap"> 1633 <code>conditions</code> 1634 <br> 1635 <em> 1636 <a href="#projectcontour.io/v1.DetailedCondition"> 1637 []DetailedCondition 1638 </a> 1639 </em> 1640 </td> 1641 <td> 1642 <em>(Optional)</em> 1643 <p>Conditions contains information about the current status of the HTTPProxy, 1644 in an upstream-friendly container.</p> 1645 <p>Contour will update a single condition, <code>Valid</code>, that is in normal-true polarity. 1646 That is, when <code>currentStatus</code> is <code>valid</code>, the <code>Valid</code> condition will be <code>status: true</code>, 1647 and vice versa.</p> 1648 <p>Contour will leave untouched any other Conditions set in this block, 1649 in case some other controller wants to add a Condition.</p> 1650 <p>If you are another controller owner and wish to add a condition, you <em>should</em> 1651 namespace your condition with a label, like <code>controller.domain.com/ConditionName</code>.</p> 1652 </td> 1653 </tr> 1654 </tbody> 1655 </table> 1656 <h3 id="projectcontour.io/v1.HTTPRequestRedirectPolicy">HTTPRequestRedirectPolicy 1657 </h3> 1658 <p> 1659 (<em>Appears on:</em> 1660 <a href="#projectcontour.io/v1.Route">Route</a>) 1661 </p> 1662 <p> 1663 <p>HTTPRequestRedirectPolicy defines configuration for redirecting a request.</p> 1664 </p> 1665 <table> 1666 <thead> 1667 <tr> 1668 <th>Field</th> 1669 <th>Description</th> 1670 </tr> 1671 </thead> 1672 <tbody> 1673 <tr> 1674 <td style="white-space:nowrap"> 1675 <code>scheme</code> 1676 <br> 1677 <em> 1678 string 1679 </em> 1680 </td> 1681 <td> 1682 <em>(Optional)</em> 1683 <p>Scheme is the scheme to be used in the value of the <code>Location</code> 1684 header in the response. 1685 When empty, the scheme of the request is used.</p> 1686 </td> 1687 </tr> 1688 <tr> 1689 <td style="white-space:nowrap"> 1690 <code>hostname</code> 1691 <br> 1692 <em> 1693 string 1694 </em> 1695 </td> 1696 <td> 1697 <em>(Optional)</em> 1698 <p>Hostname is the precise hostname to be used in the value of the <code>Location</code> 1699 header in the response. 1700 When empty, the hostname of the request is used. 1701 No wildcards are allowed.</p> 1702 </td> 1703 </tr> 1704 <tr> 1705 <td style="white-space:nowrap"> 1706 <code>port</code> 1707 <br> 1708 <em> 1709 int32 1710 </em> 1711 </td> 1712 <td> 1713 <em>(Optional)</em> 1714 <p>Port is the port to be used in the value of the <code>Location</code> 1715 header in the response. 1716 When empty, port (if specified) of the request is used.</p> 1717 </td> 1718 </tr> 1719 <tr> 1720 <td style="white-space:nowrap"> 1721 <code>statusCode</code> 1722 <br> 1723 <em> 1724 int 1725 </em> 1726 </td> 1727 <td> 1728 <em>(Optional)</em> 1729 <p>StatusCode is the HTTP status code to be used in response.</p> 1730 </td> 1731 </tr> 1732 <tr> 1733 <td style="white-space:nowrap"> 1734 <code>path</code> 1735 <br> 1736 <em> 1737 string 1738 </em> 1739 </td> 1740 <td> 1741 <em>(Optional)</em> 1742 <p>Path allows for redirection to a different path from the 1743 original on the request. The path must start with a 1744 leading slash.</p> 1745 <p>Note: Only one of Path or Prefix can be defined.</p> 1746 </td> 1747 </tr> 1748 <tr> 1749 <td style="white-space:nowrap"> 1750 <code>prefix</code> 1751 <br> 1752 <em> 1753 string 1754 </em> 1755 </td> 1756 <td> 1757 <em>(Optional)</em> 1758 <p>Prefix defines the value to swap the matched prefix or path with. 1759 The prefix must start with a leading slash.</p> 1760 <p>Note: Only one of Path or Prefix can be defined.</p> 1761 </td> 1762 </tr> 1763 </tbody> 1764 </table> 1765 <h3 id="projectcontour.io/v1.HeaderHashOptions">HeaderHashOptions 1766 </h3> 1767 <p> 1768 (<em>Appears on:</em> 1769 <a href="#projectcontour.io/v1.RequestHashPolicy">RequestHashPolicy</a>) 1770 </p> 1771 <p> 1772 <p>HeaderHashOptions contains options to configure a HTTP request header hash 1773 policy, used in request attribute hash based load balancing.</p> 1774 </p> 1775 <table> 1776 <thead> 1777 <tr> 1778 <th>Field</th> 1779 <th>Description</th> 1780 </tr> 1781 </thead> 1782 <tbody> 1783 <tr> 1784 <td style="white-space:nowrap"> 1785 <code>headerName</code> 1786 <br> 1787 <em> 1788 string 1789 </em> 1790 </td> 1791 <td> 1792 <p>HeaderName is the name of the HTTP request header that will be used to 1793 calculate the hash key. If the header specified is not present on a 1794 request, no hash will be produced.</p> 1795 </td> 1796 </tr> 1797 </tbody> 1798 </table> 1799 <h3 id="projectcontour.io/v1.HeaderMatchCondition">HeaderMatchCondition 1800 </h3> 1801 <p> 1802 (<em>Appears on:</em> 1803 <a href="#projectcontour.io/v1.MatchCondition">MatchCondition</a>, 1804 <a href="#projectcontour.io/v1.RequestHeaderValueMatchDescriptor">RequestHeaderValueMatchDescriptor</a>) 1805 </p> 1806 <p> 1807 <p>HeaderMatchCondition specifies how to conditionally match against HTTP 1808 headers. The Name field is required, but only one of the remaining 1809 fields should be be provided.</p> 1810 </p> 1811 <table> 1812 <thead> 1813 <tr> 1814 <th>Field</th> 1815 <th>Description</th> 1816 </tr> 1817 </thead> 1818 <tbody> 1819 <tr> 1820 <td style="white-space:nowrap"> 1821 <code>name</code> 1822 <br> 1823 <em> 1824 string 1825 </em> 1826 </td> 1827 <td> 1828 <p>Name is the name of the header to match against. Name is required. 1829 Header names are case insensitive.</p> 1830 </td> 1831 </tr> 1832 <tr> 1833 <td style="white-space:nowrap"> 1834 <code>present</code> 1835 <br> 1836 <em> 1837 bool 1838 </em> 1839 </td> 1840 <td> 1841 <em>(Optional)</em> 1842 <p>Present specifies that condition is true when the named header 1843 is present, regardless of its value. Note that setting Present 1844 to false does not make the condition true if the named header 1845 is absent.</p> 1846 </td> 1847 </tr> 1848 <tr> 1849 <td style="white-space:nowrap"> 1850 <code>notpresent</code> 1851 <br> 1852 <em> 1853 bool 1854 </em> 1855 </td> 1856 <td> 1857 <em>(Optional)</em> 1858 <p>NotPresent specifies that condition is true when the named header 1859 is not present. Note that setting NotPresent to false does not 1860 make the condition true if the named header is present.</p> 1861 </td> 1862 </tr> 1863 <tr> 1864 <td style="white-space:nowrap"> 1865 <code>contains</code> 1866 <br> 1867 <em> 1868 string 1869 </em> 1870 </td> 1871 <td> 1872 <em>(Optional)</em> 1873 <p>Contains specifies a substring that must be present in 1874 the header value.</p> 1875 </td> 1876 </tr> 1877 <tr> 1878 <td style="white-space:nowrap"> 1879 <code>notcontains</code> 1880 <br> 1881 <em> 1882 string 1883 </em> 1884 </td> 1885 <td> 1886 <em>(Optional)</em> 1887 <p>NotContains specifies a substring that must not be present 1888 in the header value.</p> 1889 </td> 1890 </tr> 1891 <tr> 1892 <td style="white-space:nowrap"> 1893 <code>exact</code> 1894 <br> 1895 <em> 1896 string 1897 </em> 1898 </td> 1899 <td> 1900 <em>(Optional)</em> 1901 <p>Exact specifies a string that the header value must be equal to.</p> 1902 </td> 1903 </tr> 1904 <tr> 1905 <td style="white-space:nowrap"> 1906 <code>notexact</code> 1907 <br> 1908 <em> 1909 string 1910 </em> 1911 </td> 1912 <td> 1913 <em>(Optional)</em> 1914 <p>NoExact specifies a string that the header value must not be 1915 equal to. The condition is true if the header has any other value.</p> 1916 </td> 1917 </tr> 1918 </tbody> 1919 </table> 1920 <h3 id="projectcontour.io/v1.HeaderValue">HeaderValue 1921 </h3> 1922 <p> 1923 (<em>Appears on:</em> 1924 <a href="#projectcontour.io/v1.HeadersPolicy">HeadersPolicy</a>, 1925 <a href="#projectcontour.io/v1.LocalRateLimitPolicy">LocalRateLimitPolicy</a>) 1926 </p> 1927 <p> 1928 <p>HeaderValue represents a header name/value pair</p> 1929 </p> 1930 <table> 1931 <thead> 1932 <tr> 1933 <th>Field</th> 1934 <th>Description</th> 1935 </tr> 1936 </thead> 1937 <tbody> 1938 <tr> 1939 <td style="white-space:nowrap"> 1940 <code>name</code> 1941 <br> 1942 <em> 1943 string 1944 </em> 1945 </td> 1946 <td> 1947 <p>Name represents a key of a header</p> 1948 </td> 1949 </tr> 1950 <tr> 1951 <td style="white-space:nowrap"> 1952 <code>value</code> 1953 <br> 1954 <em> 1955 string 1956 </em> 1957 </td> 1958 <td> 1959 <p>Value represents the value of a header specified by a key</p> 1960 </td> 1961 </tr> 1962 </tbody> 1963 </table> 1964 <h3 id="projectcontour.io/v1.HeadersPolicy">HeadersPolicy 1965 </h3> 1966 <p> 1967 (<em>Appears on:</em> 1968 <a href="#projectcontour.io/v1.Route">Route</a>, 1969 <a href="#projectcontour.io/v1.Service">Service</a>) 1970 </p> 1971 <p> 1972 <p>HeadersPolicy defines how headers are managed during forwarding. 1973 The <code>Host</code> header is treated specially and if set in a HTTP response 1974 will be used as the SNI server name when forwarding over TLS. It is an 1975 error to attempt to set the <code>Host</code> header in a HTTP response.</p> 1976 </p> 1977 <table> 1978 <thead> 1979 <tr> 1980 <th>Field</th> 1981 <th>Description</th> 1982 </tr> 1983 </thead> 1984 <tbody> 1985 <tr> 1986 <td style="white-space:nowrap"> 1987 <code>set</code> 1988 <br> 1989 <em> 1990 <a href="#projectcontour.io/v1.HeaderValue"> 1991 []HeaderValue 1992 </a> 1993 </em> 1994 </td> 1995 <td> 1996 <em>(Optional)</em> 1997 <p>Set specifies a list of HTTP header values that will be set in the HTTP header. 1998 If the header does not exist it will be added, otherwise it will be overwritten with the new value.</p> 1999 </td> 2000 </tr> 2001 <tr> 2002 <td style="white-space:nowrap"> 2003 <code>remove</code> 2004 <br> 2005 <em> 2006 []string 2007 </em> 2008 </td> 2009 <td> 2010 <em>(Optional)</em> 2011 <p>Remove specifies a list of HTTP header names to remove.</p> 2012 </td> 2013 </tr> 2014 </tbody> 2015 </table> 2016 <h3 id="projectcontour.io/v1.IPFilterPolicy">IPFilterPolicy 2017 </h3> 2018 <p> 2019 (<em>Appears on:</em> 2020 <a href="#projectcontour.io/v1.Route">Route</a>, 2021 <a href="#projectcontour.io/v1.VirtualHost">VirtualHost</a>) 2022 </p> 2023 <p> 2024 </p> 2025 <table> 2026 <thead> 2027 <tr> 2028 <th>Field</th> 2029 <th>Description</th> 2030 </tr> 2031 </thead> 2032 <tbody> 2033 <tr> 2034 <td style="white-space:nowrap"> 2035 <code>source</code> 2036 <br> 2037 <em> 2038 <a href="#projectcontour.io/v1.IPFilterSource"> 2039 IPFilterSource 2040 </a> 2041 </em> 2042 </td> 2043 <td> 2044 <p>Source indicates how to determine the ip address to filter on, and can be 2045 one of two values: 2046 - <code>Remote</code> filters on the ip address of the client, accounting for PROXY and 2047 X-Forwarded-For as needed. 2048 - <code>Peer</code> filters on the ip of the network request, ignoring PROXY and 2049 X-Forwarded-For.</p> 2050 </td> 2051 </tr> 2052 <tr> 2053 <td style="white-space:nowrap"> 2054 <code>cidr</code> 2055 <br> 2056 <em> 2057 string 2058 </em> 2059 </td> 2060 <td> 2061 <p>CIDR is a CIDR block of ipv4 or ipv6 addresses to filter on. This can also be 2062 a bare IP address (without a mask) to filter on exactly one address.</p> 2063 </td> 2064 </tr> 2065 </tbody> 2066 </table> 2067 <h3 id="projectcontour.io/v1.IPFilterSource">IPFilterSource 2068 (<code>string</code> alias)</p></h3> 2069 <p> 2070 (<em>Appears on:</em> 2071 <a href="#projectcontour.io/v1.IPFilterPolicy">IPFilterPolicy</a>) 2072 </p> 2073 <p> 2074 <p>IPFilterSource indicates which IP should be considered for filtering</p> 2075 </p> 2076 <table> 2077 <thead> 2078 <tr> 2079 <th>Value</th> 2080 <th>Description</th> 2081 </tr> 2082 </thead> 2083 <tbody><tr><td><p>"Peer"</p></td> 2084 <td></td> 2085 </tr><tr><td><p>"Remote"</p></td> 2086 <td></td> 2087 </tr></tbody> 2088 </table> 2089 <h3 id="projectcontour.io/v1.Include">Include 2090 </h3> 2091 <p> 2092 (<em>Appears on:</em> 2093 <a href="#projectcontour.io/v1.HTTPProxySpec">HTTPProxySpec</a>) 2094 </p> 2095 <p> 2096 <p>Include describes a set of policies that can be applied to an HTTPProxy in a namespace.</p> 2097 </p> 2098 <table> 2099 <thead> 2100 <tr> 2101 <th>Field</th> 2102 <th>Description</th> 2103 </tr> 2104 </thead> 2105 <tbody> 2106 <tr> 2107 <td style="white-space:nowrap"> 2108 <code>name</code> 2109 <br> 2110 <em> 2111 string 2112 </em> 2113 </td> 2114 <td> 2115 <p>Name of the HTTPProxy</p> 2116 </td> 2117 </tr> 2118 <tr> 2119 <td style="white-space:nowrap"> 2120 <code>namespace</code> 2121 <br> 2122 <em> 2123 string 2124 </em> 2125 </td> 2126 <td> 2127 <em>(Optional)</em> 2128 <p>Namespace of the HTTPProxy to include. Defaults to the current namespace if not supplied.</p> 2129 </td> 2130 </tr> 2131 <tr> 2132 <td style="white-space:nowrap"> 2133 <code>conditions</code> 2134 <br> 2135 <em> 2136 <a href="#projectcontour.io/v1.MatchCondition"> 2137 []MatchCondition 2138 </a> 2139 </em> 2140 </td> 2141 <td> 2142 <em>(Optional)</em> 2143 <p>Conditions are a set of rules that are applied to included HTTPProxies. 2144 In effect, they are added onto the Conditions of included HTTPProxy Route 2145 structs. 2146 When applied, they are merged using AND, with one exception: 2147 There can be only one Prefix MatchCondition per Conditions slice. 2148 More than one Prefix, or contradictory Conditions, will make the 2149 include invalid.</p> 2150 </td> 2151 </tr> 2152 </tbody> 2153 </table> 2154 <h3 id="projectcontour.io/v1.JWTProvider">JWTProvider 2155 </h3> 2156 <p> 2157 (<em>Appears on:</em> 2158 <a href="#projectcontour.io/v1.VirtualHost">VirtualHost</a>) 2159 </p> 2160 <p> 2161 <p>JWTProvider defines how to verify JWTs on requests.</p> 2162 </p> 2163 <table> 2164 <thead> 2165 <tr> 2166 <th>Field</th> 2167 <th>Description</th> 2168 </tr> 2169 </thead> 2170 <tbody> 2171 <tr> 2172 <td style="white-space:nowrap"> 2173 <code>name</code> 2174 <br> 2175 <em> 2176 string 2177 </em> 2178 </td> 2179 <td> 2180 <p>Unique name for the provider.</p> 2181 </td> 2182 </tr> 2183 <tr> 2184 <td style="white-space:nowrap"> 2185 <code>default</code> 2186 <br> 2187 <em> 2188 bool 2189 </em> 2190 </td> 2191 <td> 2192 <em>(Optional)</em> 2193 <p>Whether the provider should apply to all 2194 routes in the HTTPProxy/its includes by 2195 default. At most one provider can be marked 2196 as the default. If no provider is marked 2197 as the default, individual routes must explicitly 2198 identify the provider they require.</p> 2199 </td> 2200 </tr> 2201 <tr> 2202 <td style="white-space:nowrap"> 2203 <code>issuer</code> 2204 <br> 2205 <em> 2206 string 2207 </em> 2208 </td> 2209 <td> 2210 <em>(Optional)</em> 2211 <p>Issuer that JWTs are required to have in the “iss” field. 2212 If not provided, JWT issuers are not checked.</p> 2213 </td> 2214 </tr> 2215 <tr> 2216 <td style="white-space:nowrap"> 2217 <code>audiences</code> 2218 <br> 2219 <em> 2220 []string 2221 </em> 2222 </td> 2223 <td> 2224 <em>(Optional)</em> 2225 <p>Audiences that JWTs are allowed to have in the “aud” field. 2226 If not provided, JWT audiences are not checked.</p> 2227 </td> 2228 </tr> 2229 <tr> 2230 <td style="white-space:nowrap"> 2231 <code>remoteJWKS</code> 2232 <br> 2233 <em> 2234 <a href="#projectcontour.io/v1.RemoteJWKS"> 2235 RemoteJWKS 2236 </a> 2237 </em> 2238 </td> 2239 <td> 2240 <p>Remote JWKS to use for verifying JWT signatures.</p> 2241 </td> 2242 </tr> 2243 <tr> 2244 <td style="white-space:nowrap"> 2245 <code>forwardJWT</code> 2246 <br> 2247 <em> 2248 bool 2249 </em> 2250 </td> 2251 <td> 2252 <em>(Optional)</em> 2253 <p>Whether the JWT should be forwarded to the backend 2254 service after successful verification. By default, 2255 the JWT is not forwarded.</p> 2256 </td> 2257 </tr> 2258 </tbody> 2259 </table> 2260 <h3 id="projectcontour.io/v1.JWTVerificationPolicy">JWTVerificationPolicy 2261 </h3> 2262 <p> 2263 (<em>Appears on:</em> 2264 <a href="#projectcontour.io/v1.Route">Route</a>) 2265 </p> 2266 <p> 2267 </p> 2268 <table> 2269 <thead> 2270 <tr> 2271 <th>Field</th> 2272 <th>Description</th> 2273 </tr> 2274 </thead> 2275 <tbody> 2276 <tr> 2277 <td style="white-space:nowrap"> 2278 <code>require</code> 2279 <br> 2280 <em> 2281 string 2282 </em> 2283 </td> 2284 <td> 2285 <em>(Optional)</em> 2286 <p>Require names a specific JWT provider (defined in the virtual host) 2287 to require for the route. If specified, this field overrides the 2288 default provider if one exists. If this field is not specified, 2289 the default provider will be required if one exists. At most one of 2290 this field or the “disabled” field can be specified.</p> 2291 </td> 2292 </tr> 2293 <tr> 2294 <td style="white-space:nowrap"> 2295 <code>disabled</code> 2296 <br> 2297 <em> 2298 bool 2299 </em> 2300 </td> 2301 <td> 2302 <em>(Optional)</em> 2303 <p>Disabled defines whether to disable all JWT verification for this 2304 route. This can be used to opt specific routes out of the default 2305 JWT provider for the HTTPProxy. At most one of this field or the 2306 “require” field can be specified.</p> 2307 </td> 2308 </tr> 2309 </tbody> 2310 </table> 2311 <h3 id="projectcontour.io/v1.LoadBalancerPolicy">LoadBalancerPolicy 2312 </h3> 2313 <p> 2314 (<em>Appears on:</em> 2315 <a href="#projectcontour.io/v1.Route">Route</a>, 2316 <a href="#projectcontour.io/v1.TCPProxy">TCPProxy</a>, 2317 <a href="#projectcontour.io/v1alpha1.ExtensionServiceSpec">ExtensionServiceSpec</a>) 2318 </p> 2319 <p> 2320 <p>LoadBalancerPolicy defines the load balancing policy.</p> 2321 </p> 2322 <table> 2323 <thead> 2324 <tr> 2325 <th>Field</th> 2326 <th>Description</th> 2327 </tr> 2328 </thead> 2329 <tbody> 2330 <tr> 2331 <td style="white-space:nowrap"> 2332 <code>strategy</code> 2333 <br> 2334 <em> 2335 string 2336 </em> 2337 </td> 2338 <td> 2339 <p>Strategy specifies the policy used to balance requests 2340 across the pool of backend pods. Valid policy names are 2341 <code>Random</code>, <code>RoundRobin</code>, <code>WeightedLeastRequest</code>, <code>Cookie</code>, 2342 and <code>RequestHash</code>. If an unknown strategy name is specified 2343 or no policy is supplied, the default <code>RoundRobin</code> policy 2344 is used.</p> 2345 </td> 2346 </tr> 2347 <tr> 2348 <td style="white-space:nowrap"> 2349 <code>requestHashPolicies</code> 2350 <br> 2351 <em> 2352 <a href="#projectcontour.io/v1.RequestHashPolicy"> 2353 []RequestHashPolicy 2354 </a> 2355 </em> 2356 </td> 2357 <td> 2358 <p>RequestHashPolicies contains a list of hash policies to apply when the 2359 <code>RequestHash</code> load balancing strategy is chosen. If an element of the 2360 supplied list of hash policies is invalid, it will be ignored. If the 2361 list of hash policies is empty after validation, the load balancing 2362 strategy will fall back to the default <code>RoundRobin</code>.</p> 2363 </td> 2364 </tr> 2365 </tbody> 2366 </table> 2367 <h3 id="projectcontour.io/v1.LocalRateLimitPolicy">LocalRateLimitPolicy 2368 </h3> 2369 <p> 2370 (<em>Appears on:</em> 2371 <a href="#projectcontour.io/v1.RateLimitPolicy">RateLimitPolicy</a>) 2372 </p> 2373 <p> 2374 <p>LocalRateLimitPolicy defines local rate limiting parameters.</p> 2375 </p> 2376 <table> 2377 <thead> 2378 <tr> 2379 <th>Field</th> 2380 <th>Description</th> 2381 </tr> 2382 </thead> 2383 <tbody> 2384 <tr> 2385 <td style="white-space:nowrap"> 2386 <code>requests</code> 2387 <br> 2388 <em> 2389 uint32 2390 </em> 2391 </td> 2392 <td> 2393 <p>Requests defines how many requests per unit of time should 2394 be allowed before rate limiting occurs.</p> 2395 </td> 2396 </tr> 2397 <tr> 2398 <td style="white-space:nowrap"> 2399 <code>unit</code> 2400 <br> 2401 <em> 2402 string 2403 </em> 2404 </td> 2405 <td> 2406 <p>Unit defines the period of time within which requests 2407 over the limit will be rate limited. Valid values are 2408 “second”, “minute” and “hour”.</p> 2409 </td> 2410 </tr> 2411 <tr> 2412 <td style="white-space:nowrap"> 2413 <code>burst</code> 2414 <br> 2415 <em> 2416 uint32 2417 </em> 2418 </td> 2419 <td> 2420 <em>(Optional)</em> 2421 <p>Burst defines the number of requests above the requests per 2422 unit that should be allowed within a short period of time.</p> 2423 </td> 2424 </tr> 2425 <tr> 2426 <td style="white-space:nowrap"> 2427 <code>responseStatusCode</code> 2428 <br> 2429 <em> 2430 uint32 2431 </em> 2432 </td> 2433 <td> 2434 <em>(Optional)</em> 2435 <p>ResponseStatusCode is the HTTP status code to use for responses 2436 to rate-limited requests. Codes must be in the 400-599 range 2437 (inclusive). If not specified, the Envoy default of 429 (Too 2438 Many Requests) is used.</p> 2439 </td> 2440 </tr> 2441 <tr> 2442 <td style="white-space:nowrap"> 2443 <code>responseHeadersToAdd</code> 2444 <br> 2445 <em> 2446 <a href="#projectcontour.io/v1.HeaderValue"> 2447 []HeaderValue 2448 </a> 2449 </em> 2450 </td> 2451 <td> 2452 <em>(Optional)</em> 2453 <p>ResponseHeadersToAdd is an optional list of response headers to 2454 set when a request is rate-limited.</p> 2455 </td> 2456 </tr> 2457 </tbody> 2458 </table> 2459 <h3 id="projectcontour.io/v1.MatchCondition">MatchCondition 2460 </h3> 2461 <p> 2462 (<em>Appears on:</em> 2463 <a href="#projectcontour.io/v1.Include">Include</a>, 2464 <a href="#projectcontour.io/v1.Route">Route</a>) 2465 </p> 2466 <p> 2467 <p>MatchCondition are a general holder for matching rules for HTTPProxies. 2468 One of Prefix, Exact, Header or QueryParameter must be provided.</p> 2469 </p> 2470 <table> 2471 <thead> 2472 <tr> 2473 <th>Field</th> 2474 <th>Description</th> 2475 </tr> 2476 </thead> 2477 <tbody> 2478 <tr> 2479 <td style="white-space:nowrap"> 2480 <code>prefix</code> 2481 <br> 2482 <em> 2483 string 2484 </em> 2485 </td> 2486 <td> 2487 <em>(Optional)</em> 2488 <p>Prefix defines a prefix match for a request.</p> 2489 </td> 2490 </tr> 2491 <tr> 2492 <td style="white-space:nowrap"> 2493 <code>exact</code> 2494 <br> 2495 <em> 2496 string 2497 </em> 2498 </td> 2499 <td> 2500 <em>(Optional)</em> 2501 <p>Exact defines a exact match for a request. 2502 This field is not allowed in include match conditions.</p> 2503 </td> 2504 </tr> 2505 <tr> 2506 <td style="white-space:nowrap"> 2507 <code>header</code> 2508 <br> 2509 <em> 2510 <a href="#projectcontour.io/v1.HeaderMatchCondition"> 2511 HeaderMatchCondition 2512 </a> 2513 </em> 2514 </td> 2515 <td> 2516 <em>(Optional)</em> 2517 <p>Header specifies the header condition to match.</p> 2518 </td> 2519 </tr> 2520 <tr> 2521 <td style="white-space:nowrap"> 2522 <code>queryParameter</code> 2523 <br> 2524 <em> 2525 <a href="#projectcontour.io/v1.QueryParameterMatchCondition"> 2526 QueryParameterMatchCondition 2527 </a> 2528 </em> 2529 </td> 2530 <td> 2531 <em>(Optional)</em> 2532 <p>QueryParameter specifies the query parameter condition to match.</p> 2533 </td> 2534 </tr> 2535 </tbody> 2536 </table> 2537 <h3 id="projectcontour.io/v1.PathRewritePolicy">PathRewritePolicy 2538 </h3> 2539 <p> 2540 (<em>Appears on:</em> 2541 <a href="#projectcontour.io/v1.Route">Route</a>) 2542 </p> 2543 <p> 2544 <p>PathRewritePolicy specifies how a request URL path should be 2545 rewritten. This rewriting takes place after a request is routed 2546 and has no subsequent effects on the proxy’s routing decision. 2547 No HTTP headers or body content is rewritten.</p> 2548 <p>Exactly one field in this struct may be specified.</p> 2549 </p> 2550 <table> 2551 <thead> 2552 <tr> 2553 <th>Field</th> 2554 <th>Description</th> 2555 </tr> 2556 </thead> 2557 <tbody> 2558 <tr> 2559 <td style="white-space:nowrap"> 2560 <code>replacePrefix</code> 2561 <br> 2562 <em> 2563 <a href="#projectcontour.io/v1.ReplacePrefix"> 2564 []ReplacePrefix 2565 </a> 2566 </em> 2567 </td> 2568 <td> 2569 <em>(Optional)</em> 2570 <p>ReplacePrefix describes how the path prefix should be replaced.</p> 2571 </td> 2572 </tr> 2573 </tbody> 2574 </table> 2575 <h3 id="projectcontour.io/v1.QueryParameterHashOptions">QueryParameterHashOptions 2576 </h3> 2577 <p> 2578 (<em>Appears on:</em> 2579 <a href="#projectcontour.io/v1.RequestHashPolicy">RequestHashPolicy</a>) 2580 </p> 2581 <p> 2582 <p>QueryParameterHashOptions contains options to configure a query parameter based hash 2583 policy, used in request attribute hash based load balancing.</p> 2584 </p> 2585 <table> 2586 <thead> 2587 <tr> 2588 <th>Field</th> 2589 <th>Description</th> 2590 </tr> 2591 </thead> 2592 <tbody> 2593 <tr> 2594 <td style="white-space:nowrap"> 2595 <code>parameterName</code> 2596 <br> 2597 <em> 2598 string 2599 </em> 2600 </td> 2601 <td> 2602 <p>ParameterName is the name of the HTTP request query parameter that will be used to 2603 calculate the hash key. If the query parameter specified is not present on a 2604 request, no hash will be produced.</p> 2605 </td> 2606 </tr> 2607 </tbody> 2608 </table> 2609 <h3 id="projectcontour.io/v1.QueryParameterMatchCondition">QueryParameterMatchCondition 2610 </h3> 2611 <p> 2612 (<em>Appears on:</em> 2613 <a href="#projectcontour.io/v1.MatchCondition">MatchCondition</a>) 2614 </p> 2615 <p> 2616 <p>QueryParameterMatchCondition specifies how to conditionally match against HTTP 2617 query parameters. The Name field is required, only one of Exact, Prefix, 2618 Suffix, Regex, Contains and Present can be set. IgnoreCase has no effect 2619 for Regex.</p> 2620 </p> 2621 <table> 2622 <thead> 2623 <tr> 2624 <th>Field</th> 2625 <th>Description</th> 2626 </tr> 2627 </thead> 2628 <tbody> 2629 <tr> 2630 <td style="white-space:nowrap"> 2631 <code>name</code> 2632 <br> 2633 <em> 2634 string 2635 </em> 2636 </td> 2637 <td> 2638 <p>Name is the name of the query parameter to match against. Name is required. 2639 Query parameter names are case insensitive.</p> 2640 </td> 2641 </tr> 2642 <tr> 2643 <td style="white-space:nowrap"> 2644 <code>exact</code> 2645 <br> 2646 <em> 2647 string 2648 </em> 2649 </td> 2650 <td> 2651 <em>(Optional)</em> 2652 <p>Exact specifies a string that the query parameter value must be equal to.</p> 2653 </td> 2654 </tr> 2655 <tr> 2656 <td style="white-space:nowrap"> 2657 <code>prefix</code> 2658 <br> 2659 <em> 2660 string 2661 </em> 2662 </td> 2663 <td> 2664 <em>(Optional)</em> 2665 <p>Prefix defines a prefix match for the query parameter value.</p> 2666 </td> 2667 </tr> 2668 <tr> 2669 <td style="white-space:nowrap"> 2670 <code>suffix</code> 2671 <br> 2672 <em> 2673 string 2674 </em> 2675 </td> 2676 <td> 2677 <em>(Optional)</em> 2678 <p>Suffix defines a suffix match for a query parameter value.</p> 2679 </td> 2680 </tr> 2681 <tr> 2682 <td style="white-space:nowrap"> 2683 <code>regex</code> 2684 <br> 2685 <em> 2686 string 2687 </em> 2688 </td> 2689 <td> 2690 <em>(Optional)</em> 2691 <p>Regex specifies a regular expression pattern that must match the query 2692 parameter value.</p> 2693 </td> 2694 </tr> 2695 <tr> 2696 <td style="white-space:nowrap"> 2697 <code>contains</code> 2698 <br> 2699 <em> 2700 string 2701 </em> 2702 </td> 2703 <td> 2704 <em>(Optional)</em> 2705 <p>Contains specifies a substring that must be present in 2706 the query parameter value.</p> 2707 </td> 2708 </tr> 2709 <tr> 2710 <td style="white-space:nowrap"> 2711 <code>ignoreCase</code> 2712 <br> 2713 <em> 2714 bool 2715 </em> 2716 </td> 2717 <td> 2718 <em>(Optional)</em> 2719 <p>IgnoreCase specifies that string matching should be case insensitive. 2720 Note that this has no effect on the Regex parameter.</p> 2721 </td> 2722 </tr> 2723 <tr> 2724 <td style="white-space:nowrap"> 2725 <code>present</code> 2726 <br> 2727 <em> 2728 bool 2729 </em> 2730 </td> 2731 <td> 2732 <em>(Optional)</em> 2733 <p>Present specifies that condition is true when the named query parameter 2734 is present, regardless of its value. Note that setting Present 2735 to false does not make the condition true if the named query parameter 2736 is absent.</p> 2737 </td> 2738 </tr> 2739 </tbody> 2740 </table> 2741 <h3 id="projectcontour.io/v1.RateLimitDescriptor">RateLimitDescriptor 2742 </h3> 2743 <p> 2744 (<em>Appears on:</em> 2745 <a href="#projectcontour.io/v1.GlobalRateLimitPolicy">GlobalRateLimitPolicy</a>) 2746 </p> 2747 <p> 2748 <p>RateLimitDescriptor defines a list of key-value pair generators.</p> 2749 </p> 2750 <table> 2751 <thead> 2752 <tr> 2753 <th>Field</th> 2754 <th>Description</th> 2755 </tr> 2756 </thead> 2757 <tbody> 2758 <tr> 2759 <td style="white-space:nowrap"> 2760 <code>entries</code> 2761 <br> 2762 <em> 2763 <a href="#projectcontour.io/v1.RateLimitDescriptorEntry"> 2764 []RateLimitDescriptorEntry 2765 </a> 2766 </em> 2767 </td> 2768 <td> 2769 <p>Entries is the list of key-value pair generators.</p> 2770 </td> 2771 </tr> 2772 </tbody> 2773 </table> 2774 <h3 id="projectcontour.io/v1.RateLimitDescriptorEntry">RateLimitDescriptorEntry 2775 </h3> 2776 <p> 2777 (<em>Appears on:</em> 2778 <a href="#projectcontour.io/v1.RateLimitDescriptor">RateLimitDescriptor</a>) 2779 </p> 2780 <p> 2781 <p>RateLimitDescriptorEntry is a key-value pair generator. Exactly 2782 one field on this struct must be non-nil.</p> 2783 </p> 2784 <table> 2785 <thead> 2786 <tr> 2787 <th>Field</th> 2788 <th>Description</th> 2789 </tr> 2790 </thead> 2791 <tbody> 2792 <tr> 2793 <td style="white-space:nowrap"> 2794 <code>genericKey</code> 2795 <br> 2796 <em> 2797 <a href="#projectcontour.io/v1.GenericKeyDescriptor"> 2798 GenericKeyDescriptor 2799 </a> 2800 </em> 2801 </td> 2802 <td> 2803 <em>(Optional)</em> 2804 <p>GenericKey defines a descriptor entry with a static key and value.</p> 2805 </td> 2806 </tr> 2807 <tr> 2808 <td style="white-space:nowrap"> 2809 <code>requestHeader</code> 2810 <br> 2811 <em> 2812 <a href="#projectcontour.io/v1.RequestHeaderDescriptor"> 2813 RequestHeaderDescriptor 2814 </a> 2815 </em> 2816 </td> 2817 <td> 2818 <em>(Optional)</em> 2819 <p>RequestHeader defines a descriptor entry that’s populated only if 2820 a given header is present on the request. The descriptor key is static, 2821 and the descriptor value is equal to the value of the header.</p> 2822 </td> 2823 </tr> 2824 <tr> 2825 <td style="white-space:nowrap"> 2826 <code>requestHeaderValueMatch</code> 2827 <br> 2828 <em> 2829 <a href="#projectcontour.io/v1.RequestHeaderValueMatchDescriptor"> 2830 RequestHeaderValueMatchDescriptor 2831 </a> 2832 </em> 2833 </td> 2834 <td> 2835 <em>(Optional)</em> 2836 <p>RequestHeaderValueMatch defines a descriptor entry that’s populated 2837 if the request’s headers match a set of 1+ match criteria. The 2838 descriptor key is “header_match”, and the descriptor value is static.</p> 2839 </td> 2840 </tr> 2841 <tr> 2842 <td style="white-space:nowrap"> 2843 <code>remoteAddress</code> 2844 <br> 2845 <em> 2846 <a href="#projectcontour.io/v1.RemoteAddressDescriptor"> 2847 RemoteAddressDescriptor 2848 </a> 2849 </em> 2850 </td> 2851 <td> 2852 <em>(Optional)</em> 2853 <p>RemoteAddress defines a descriptor entry with a key of “remote_address” 2854 and a value equal to the client’s IP address (from x-forwarded-for).</p> 2855 </td> 2856 </tr> 2857 </tbody> 2858 </table> 2859 <h3 id="projectcontour.io/v1.RateLimitPolicy">RateLimitPolicy 2860 </h3> 2861 <p> 2862 (<em>Appears on:</em> 2863 <a href="#projectcontour.io/v1.Route">Route</a>, 2864 <a href="#projectcontour.io/v1.VirtualHost">VirtualHost</a>) 2865 </p> 2866 <p> 2867 <p>RateLimitPolicy defines rate limiting parameters.</p> 2868 </p> 2869 <table> 2870 <thead> 2871 <tr> 2872 <th>Field</th> 2873 <th>Description</th> 2874 </tr> 2875 </thead> 2876 <tbody> 2877 <tr> 2878 <td style="white-space:nowrap"> 2879 <code>local</code> 2880 <br> 2881 <em> 2882 <a href="#projectcontour.io/v1.LocalRateLimitPolicy"> 2883 LocalRateLimitPolicy 2884 </a> 2885 </em> 2886 </td> 2887 <td> 2888 <em>(Optional)</em> 2889 <p>Local defines local rate limiting parameters, i.e. parameters 2890 for rate limiting that occurs within each Envoy pod as requests 2891 are handled.</p> 2892 </td> 2893 </tr> 2894 <tr> 2895 <td style="white-space:nowrap"> 2896 <code>global</code> 2897 <br> 2898 <em> 2899 <a href="#projectcontour.io/v1.GlobalRateLimitPolicy"> 2900 GlobalRateLimitPolicy 2901 </a> 2902 </em> 2903 </td> 2904 <td> 2905 <em>(Optional)</em> 2906 <p>Global defines global rate limiting parameters, i.e. parameters 2907 defining descriptors that are sent to an external rate limit 2908 service (RLS) for a rate limit decision on each request.</p> 2909 </td> 2910 </tr> 2911 </tbody> 2912 </table> 2913 <h3 id="projectcontour.io/v1.RedirectResponseCode">RedirectResponseCode 2914 (<code>uint32</code> alias)</p></h3> 2915 <p> 2916 (<em>Appears on:</em> 2917 <a href="#projectcontour.io/v1.HTTPInternalRedirectPolicy">HTTPInternalRedirectPolicy</a>) 2918 </p> 2919 <p> 2920 <p>RedirectResponseCode is a uint32 type alias with validation to ensure that the value is valid.</p> 2921 </p> 2922 <h3 id="projectcontour.io/v1.RemoteAddressDescriptor">RemoteAddressDescriptor 2923 </h3> 2924 <p> 2925 (<em>Appears on:</em> 2926 <a href="#projectcontour.io/v1.RateLimitDescriptorEntry">RateLimitDescriptorEntry</a>) 2927 </p> 2928 <p> 2929 <p>RemoteAddressDescriptor defines a descriptor entry with a key of 2930 “remote_address” and a value equal to the client’s IP address 2931 (from x-forwarded-for).</p> 2932 </p> 2933 <h3 id="projectcontour.io/v1.RemoteJWKS">RemoteJWKS 2934 </h3> 2935 <p> 2936 (<em>Appears on:</em> 2937 <a href="#projectcontour.io/v1.JWTProvider">JWTProvider</a>) 2938 </p> 2939 <p> 2940 <p>RemoteJWKS defines how to fetch a JWKS from an HTTP endpoint.</p> 2941 </p> 2942 <table> 2943 <thead> 2944 <tr> 2945 <th>Field</th> 2946 <th>Description</th> 2947 </tr> 2948 </thead> 2949 <tbody> 2950 <tr> 2951 <td style="white-space:nowrap"> 2952 <code>uri</code> 2953 <br> 2954 <em> 2955 string 2956 </em> 2957 </td> 2958 <td> 2959 <p>The URI for the JWKS.</p> 2960 </td> 2961 </tr> 2962 <tr> 2963 <td style="white-space:nowrap"> 2964 <code>validation</code> 2965 <br> 2966 <em> 2967 <a href="#projectcontour.io/v1.UpstreamValidation"> 2968 UpstreamValidation 2969 </a> 2970 </em> 2971 </td> 2972 <td> 2973 <em>(Optional)</em> 2974 <p>UpstreamValidation defines how to verify the JWKS’s TLS certificate.</p> 2975 </td> 2976 </tr> 2977 <tr> 2978 <td style="white-space:nowrap"> 2979 <code>timeout</code> 2980 <br> 2981 <em> 2982 string 2983 </em> 2984 </td> 2985 <td> 2986 <em>(Optional)</em> 2987 <p>How long to wait for a response from the URI. 2988 If not specified, a default of 1s applies.</p> 2989 </td> 2990 </tr> 2991 <tr> 2992 <td style="white-space:nowrap"> 2993 <code>cacheDuration</code> 2994 <br> 2995 <em> 2996 string 2997 </em> 2998 </td> 2999 <td> 3000 <em>(Optional)</em> 3001 <p>How long to cache the JWKS locally. If not specified, 3002 Envoy’s default of 5m applies.</p> 3003 </td> 3004 </tr> 3005 <tr> 3006 <td style="white-space:nowrap"> 3007 <code>dnsLookupFamily</code> 3008 <br> 3009 <em> 3010 string 3011 </em> 3012 </td> 3013 <td> 3014 <em>(Optional)</em> 3015 <p>The DNS IP address resolution policy for the JWKS URI. 3016 When configured as “v4”, the DNS resolver will only perform a lookup 3017 for addresses in the IPv4 family. If “v6” is configured, the DNS resolver 3018 will only perform a lookup for addresses in the IPv6 family. 3019 If “all” is configured, the DNS resolver 3020 will perform a lookup for addresses in both the IPv4 and IPv6 family. 3021 If “auto” is configured, the DNS resolver will first perform a lookup 3022 for addresses in the IPv6 family and fallback to a lookup for addresses 3023 in the IPv4 family. If not specified, the Contour-wide setting defined 3024 in the config file or ContourConfiguration applies (defaults to “auto”).</p> 3025 <p>See <a href="https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/cluster/v3/cluster.proto.html#envoy-v3-api-enum-config-cluster-v3-cluster-dnslookupfamily">https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/cluster/v3/cluster.proto.html#envoy-v3-api-enum-config-cluster-v3-cluster-dnslookupfamily</a> 3026 for more information.</p> 3027 </td> 3028 </tr> 3029 </tbody> 3030 </table> 3031 <h3 id="projectcontour.io/v1.ReplacePrefix">ReplacePrefix 3032 </h3> 3033 <p> 3034 (<em>Appears on:</em> 3035 <a href="#projectcontour.io/v1.PathRewritePolicy">PathRewritePolicy</a>) 3036 </p> 3037 <p> 3038 <p>ReplacePrefix describes a path prefix replacement.</p> 3039 </p> 3040 <table> 3041 <thead> 3042 <tr> 3043 <th>Field</th> 3044 <th>Description</th> 3045 </tr> 3046 </thead> 3047 <tbody> 3048 <tr> 3049 <td style="white-space:nowrap"> 3050 <code>prefix</code> 3051 <br> 3052 <em> 3053 string 3054 </em> 3055 </td> 3056 <td> 3057 <em>(Optional)</em> 3058 <p>Prefix specifies the URL path prefix to be replaced.</p> 3059 <p>If Prefix is specified, it must exactly match the MatchCondition 3060 prefix that is rendered by the chain of including HTTPProxies 3061 and only that path prefix will be replaced by Replacement. 3062 This allows HTTPProxies that are included through multiple 3063 roots to only replace specific path prefixes, leaving others 3064 unmodified.</p> 3065 <p>If Prefix is not specified, all routing prefixes rendered 3066 by the include chain will be replaced.</p> 3067 </td> 3068 </tr> 3069 <tr> 3070 <td style="white-space:nowrap"> 3071 <code>replacement</code> 3072 <br> 3073 <em> 3074 string 3075 </em> 3076 </td> 3077 <td> 3078 <p>Replacement is the string that the routing path prefix 3079 will be replaced with. This must not be empty.</p> 3080 </td> 3081 </tr> 3082 </tbody> 3083 </table> 3084 <h3 id="projectcontour.io/v1.RequestHashPolicy">RequestHashPolicy 3085 </h3> 3086 <p> 3087 (<em>Appears on:</em> 3088 <a href="#projectcontour.io/v1.LoadBalancerPolicy">LoadBalancerPolicy</a>) 3089 </p> 3090 <p> 3091 <p>RequestHashPolicy contains configuration for an individual hash policy 3092 on a request attribute.</p> 3093 </p> 3094 <table> 3095 <thead> 3096 <tr> 3097 <th>Field</th> 3098 <th>Description</th> 3099 </tr> 3100 </thead> 3101 <tbody> 3102 <tr> 3103 <td style="white-space:nowrap"> 3104 <code>terminal</code> 3105 <br> 3106 <em> 3107 bool 3108 </em> 3109 </td> 3110 <td> 3111 <p>Terminal is a flag that allows for short-circuiting computing of a hash 3112 for a given request. If set to true, and the request attribute specified 3113 in the attribute hash options is present, no further hash policies will 3114 be used to calculate a hash for the request.</p> 3115 </td> 3116 </tr> 3117 <tr> 3118 <td style="white-space:nowrap"> 3119 <code>headerHashOptions</code> 3120 <br> 3121 <em> 3122 <a href="#projectcontour.io/v1.HeaderHashOptions"> 3123 HeaderHashOptions 3124 </a> 3125 </em> 3126 </td> 3127 <td> 3128 <em>(Optional)</em> 3129 <p>HeaderHashOptions should be set when request header hash based load 3130 balancing is desired. It must be the only hash option field set, 3131 otherwise this request hash policy object will be ignored.</p> 3132 </td> 3133 </tr> 3134 <tr> 3135 <td style="white-space:nowrap"> 3136 <code>queryParameterHashOptions</code> 3137 <br> 3138 <em> 3139 <a href="#projectcontour.io/v1.QueryParameterHashOptions"> 3140 QueryParameterHashOptions 3141 </a> 3142 </em> 3143 </td> 3144 <td> 3145 <em>(Optional)</em> 3146 <p>QueryParameterHashOptions should be set when request query parameter hash based load 3147 balancing is desired. It must be the only hash option field set, 3148 otherwise this request hash policy object will be ignored.</p> 3149 </td> 3150 </tr> 3151 <tr> 3152 <td style="white-space:nowrap"> 3153 <code>hashSourceIP</code> 3154 <br> 3155 <em> 3156 bool 3157 </em> 3158 </td> 3159 <td> 3160 <em>(Optional)</em> 3161 <p>HashSourceIP should be set to true when request source IP hash based 3162 load balancing is desired. It must be the only hash option field set, 3163 otherwise this request hash policy object will be ignored.</p> 3164 </td> 3165 </tr> 3166 </tbody> 3167 </table> 3168 <h3 id="projectcontour.io/v1.RequestHeaderDescriptor">RequestHeaderDescriptor 3169 </h3> 3170 <p> 3171 (<em>Appears on:</em> 3172 <a href="#projectcontour.io/v1.RateLimitDescriptorEntry">RateLimitDescriptorEntry</a>) 3173 </p> 3174 <p> 3175 <p>RequestHeaderDescriptor defines a descriptor entry that’s populated only 3176 if a given header is present on the request. The value of the descriptor 3177 entry is equal to the value of the header (if present).</p> 3178 </p> 3179 <table> 3180 <thead> 3181 <tr> 3182 <th>Field</th> 3183 <th>Description</th> 3184 </tr> 3185 </thead> 3186 <tbody> 3187 <tr> 3188 <td style="white-space:nowrap"> 3189 <code>headerName</code> 3190 <br> 3191 <em> 3192 string 3193 </em> 3194 </td> 3195 <td> 3196 <p>HeaderName defines the name of the header to look for on the request.</p> 3197 </td> 3198 </tr> 3199 <tr> 3200 <td style="white-space:nowrap"> 3201 <code>descriptorKey</code> 3202 <br> 3203 <em> 3204 string 3205 </em> 3206 </td> 3207 <td> 3208 <p>DescriptorKey defines the key to use on the descriptor entry.</p> 3209 </td> 3210 </tr> 3211 </tbody> 3212 </table> 3213 <h3 id="projectcontour.io/v1.RequestHeaderValueMatchDescriptor">RequestHeaderValueMatchDescriptor 3214 </h3> 3215 <p> 3216 (<em>Appears on:</em> 3217 <a href="#projectcontour.io/v1.RateLimitDescriptorEntry">RateLimitDescriptorEntry</a>) 3218 </p> 3219 <p> 3220 <p>RequestHeaderValueMatchDescriptor defines a descriptor entry that’s populated 3221 if the request’s headers match a set of 1+ match criteria. The descriptor key 3222 is “header_match”, and the descriptor value is statically defined.</p> 3223 </p> 3224 <table> 3225 <thead> 3226 <tr> 3227 <th>Field</th> 3228 <th>Description</th> 3229 </tr> 3230 </thead> 3231 <tbody> 3232 <tr> 3233 <td style="white-space:nowrap"> 3234 <code>headers</code> 3235 <br> 3236 <em> 3237 <a href="#projectcontour.io/v1.HeaderMatchCondition"> 3238 []HeaderMatchCondition 3239 </a> 3240 </em> 3241 </td> 3242 <td> 3243 <p>Headers is a list of 1+ match criteria to apply against the request 3244 to determine whether to populate the descriptor entry or not.</p> 3245 </td> 3246 </tr> 3247 <tr> 3248 <td style="white-space:nowrap"> 3249 <code>expectMatch</code> 3250 <br> 3251 <em> 3252 bool 3253 </em> 3254 </td> 3255 <td> 3256 <p>ExpectMatch defines whether the request must positively match the match 3257 criteria in order to generate a descriptor entry (i.e. true), or not 3258 match the match criteria in order to generate a descriptor entry (i.e. false). 3259 The default is true.</p> 3260 </td> 3261 </tr> 3262 <tr> 3263 <td style="white-space:nowrap"> 3264 <code>value</code> 3265 <br> 3266 <em> 3267 string 3268 </em> 3269 </td> 3270 <td> 3271 <p>Value defines the value of the descriptor entry.</p> 3272 </td> 3273 </tr> 3274 </tbody> 3275 </table> 3276 <h3 id="projectcontour.io/v1.RetryOn">RetryOn 3277 (<code>string</code> alias)</p></h3> 3278 <p> 3279 (<em>Appears on:</em> 3280 <a href="#projectcontour.io/v1.RetryPolicy">RetryPolicy</a>) 3281 </p> 3282 <p> 3283 <p>RetryOn is a string type alias with validation to ensure that the value is valid.</p> 3284 </p> 3285 <h3 id="projectcontour.io/v1.RetryPolicy">RetryPolicy 3286 </h3> 3287 <p> 3288 (<em>Appears on:</em> 3289 <a href="#projectcontour.io/v1.Route">Route</a>) 3290 </p> 3291 <p> 3292 <p>RetryPolicy defines the attributes associated with retrying policy.</p> 3293 </p> 3294 <table> 3295 <thead> 3296 <tr> 3297 <th>Field</th> 3298 <th>Description</th> 3299 </tr> 3300 </thead> 3301 <tbody> 3302 <tr> 3303 <td style="white-space:nowrap"> 3304 <code>count</code> 3305 <br> 3306 <em> 3307 int64 3308 </em> 3309 </td> 3310 <td> 3311 <em>(Optional)</em> 3312 <p>NumRetries is maximum allowed number of retries. 3313 If set to -1, then retries are disabled. 3314 If set to 0 or not supplied, the value is set 3315 to the Envoy default of 1.</p> 3316 </td> 3317 </tr> 3318 <tr> 3319 <td style="white-space:nowrap"> 3320 <code>perTryTimeout</code> 3321 <br> 3322 <em> 3323 string 3324 </em> 3325 </td> 3326 <td> 3327 <em>(Optional)</em> 3328 <p>PerTryTimeout specifies the timeout per retry attempt. 3329 Ignored if NumRetries is not supplied.</p> 3330 </td> 3331 </tr> 3332 <tr> 3333 <td style="white-space:nowrap"> 3334 <code>retryOn</code> 3335 <br> 3336 <em> 3337 <a href="#projectcontour.io/v1.RetryOn"> 3338 []RetryOn 3339 </a> 3340 </em> 3341 </td> 3342 <td> 3343 <em>(Optional)</em> 3344 <p>RetryOn specifies the conditions on which to retry a request.</p> 3345 <p>Supported <a href="https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/router_filter#x-envoy-retry-on">HTTP conditions</a>:</p> 3346 <ul> 3347 <li><code>5xx</code></li> 3348 <li><code>gateway-error</code></li> 3349 <li><code>reset</code></li> 3350 <li><code>connect-failure</code></li> 3351 <li><code>retriable-4xx</code></li> 3352 <li><code>refused-stream</code></li> 3353 <li><code>retriable-status-codes</code></li> 3354 <li><code>retriable-headers</code></li> 3355 </ul> 3356 <p>Supported <a href="https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/router_filter#x-envoy-retry-grpc-on">gRPC conditions</a>:</p> 3357 <ul> 3358 <li><code>cancelled</code></li> 3359 <li><code>deadline-exceeded</code></li> 3360 <li><code>internal</code></li> 3361 <li><code>resource-exhausted</code></li> 3362 <li><code>unavailable</code></li> 3363 </ul> 3364 </td> 3365 </tr> 3366 <tr> 3367 <td style="white-space:nowrap"> 3368 <code>retriableStatusCodes</code> 3369 <br> 3370 <em> 3371 []uint32 3372 </em> 3373 </td> 3374 <td> 3375 <em>(Optional)</em> 3376 <p>RetriableStatusCodes specifies the HTTP status codes that should be retried.</p> 3377 <p>This field is only respected when you include <code>retriable-status-codes</code> in the <code>RetryOn</code> field.</p> 3378 </td> 3379 </tr> 3380 </tbody> 3381 </table> 3382 <h3 id="projectcontour.io/v1.Route">Route 3383 </h3> 3384 <p> 3385 (<em>Appears on:</em> 3386 <a href="#projectcontour.io/v1.HTTPProxySpec">HTTPProxySpec</a>) 3387 </p> 3388 <p> 3389 <p>Route contains the set of routes for a virtual host.</p> 3390 </p> 3391 <table> 3392 <thead> 3393 <tr> 3394 <th>Field</th> 3395 <th>Description</th> 3396 </tr> 3397 </thead> 3398 <tbody> 3399 <tr> 3400 <td style="white-space:nowrap"> 3401 <code>conditions</code> 3402 <br> 3403 <em> 3404 <a href="#projectcontour.io/v1.MatchCondition"> 3405 []MatchCondition 3406 </a> 3407 </em> 3408 </td> 3409 <td> 3410 <em>(Optional)</em> 3411 <p>Conditions are a set of rules that are applied to a Route. 3412 When applied, they are merged using AND, with one exception: 3413 There can be only one Prefix MatchCondition per Conditions slice. 3414 More than one Prefix, or contradictory Conditions, will make the 3415 route invalid.</p> 3416 </td> 3417 </tr> 3418 <tr> 3419 <td style="white-space:nowrap"> 3420 <code>services</code> 3421 <br> 3422 <em> 3423 <a href="#projectcontour.io/v1.Service"> 3424 []Service 3425 </a> 3426 </em> 3427 </td> 3428 <td> 3429 <em>(Optional)</em> 3430 <p>Services are the services to proxy traffic.</p> 3431 </td> 3432 </tr> 3433 <tr> 3434 <td style="white-space:nowrap"> 3435 <code>enableWebsockets</code> 3436 <br> 3437 <em> 3438 bool 3439 </em> 3440 </td> 3441 <td> 3442 <em>(Optional)</em> 3443 <p>Enables websocket support for the route.</p> 3444 </td> 3445 </tr> 3446 <tr> 3447 <td style="white-space:nowrap"> 3448 <code>permitInsecure</code> 3449 <br> 3450 <em> 3451 bool 3452 </em> 3453 </td> 3454 <td> 3455 <em>(Optional)</em> 3456 <p>Allow this path to respond to insecure requests over HTTP which are normally 3457 not permitted when a <code>virtualhost.tls</code> block is present.</p> 3458 </td> 3459 </tr> 3460 <tr> 3461 <td style="white-space:nowrap"> 3462 <code>authPolicy</code> 3463 <br> 3464 <em> 3465 <a href="#projectcontour.io/v1.AuthorizationPolicy"> 3466 AuthorizationPolicy 3467 </a> 3468 </em> 3469 </td> 3470 <td> 3471 <em>(Optional)</em> 3472 <p>AuthPolicy updates the authorization policy that was set 3473 on the root HTTPProxy object for client requests that 3474 match this route.</p> 3475 </td> 3476 </tr> 3477 <tr> 3478 <td style="white-space:nowrap"> 3479 <code>timeoutPolicy</code> 3480 <br> 3481 <em> 3482 <a href="#projectcontour.io/v1.TimeoutPolicy"> 3483 TimeoutPolicy 3484 </a> 3485 </em> 3486 </td> 3487 <td> 3488 <em>(Optional)</em> 3489 <p>The timeout policy for this route.</p> 3490 </td> 3491 </tr> 3492 <tr> 3493 <td style="white-space:nowrap"> 3494 <code>retryPolicy</code> 3495 <br> 3496 <em> 3497 <a href="#projectcontour.io/v1.RetryPolicy"> 3498 RetryPolicy 3499 </a> 3500 </em> 3501 </td> 3502 <td> 3503 <em>(Optional)</em> 3504 <p>The retry policy for this route.</p> 3505 </td> 3506 </tr> 3507 <tr> 3508 <td style="white-space:nowrap"> 3509 <code>healthCheckPolicy</code> 3510 <br> 3511 <em> 3512 <a href="#projectcontour.io/v1.HTTPHealthCheckPolicy"> 3513 HTTPHealthCheckPolicy 3514 </a> 3515 </em> 3516 </td> 3517 <td> 3518 <em>(Optional)</em> 3519 <p>The health check policy for this route.</p> 3520 </td> 3521 </tr> 3522 <tr> 3523 <td style="white-space:nowrap"> 3524 <code>loadBalancerPolicy</code> 3525 <br> 3526 <em> 3527 <a href="#projectcontour.io/v1.LoadBalancerPolicy"> 3528 LoadBalancerPolicy 3529 </a> 3530 </em> 3531 </td> 3532 <td> 3533 <em>(Optional)</em> 3534 <p>The load balancing policy for this route.</p> 3535 </td> 3536 </tr> 3537 <tr> 3538 <td style="white-space:nowrap"> 3539 <code>pathRewritePolicy</code> 3540 <br> 3541 <em> 3542 <a href="#projectcontour.io/v1.PathRewritePolicy"> 3543 PathRewritePolicy 3544 </a> 3545 </em> 3546 </td> 3547 <td> 3548 <em>(Optional)</em> 3549 <p>The policy for rewriting the path of the request URL 3550 after the request has been routed to a Service.</p> 3551 </td> 3552 </tr> 3553 <tr> 3554 <td style="white-space:nowrap"> 3555 <code>requestHeadersPolicy</code> 3556 <br> 3557 <em> 3558 <a href="#projectcontour.io/v1.HeadersPolicy"> 3559 HeadersPolicy 3560 </a> 3561 </em> 3562 </td> 3563 <td> 3564 <em>(Optional)</em> 3565 <p>The policy for managing request headers during proxying.</p> 3566 </td> 3567 </tr> 3568 <tr> 3569 <td style="white-space:nowrap"> 3570 <code>responseHeadersPolicy</code> 3571 <br> 3572 <em> 3573 <a href="#projectcontour.io/v1.HeadersPolicy"> 3574 HeadersPolicy 3575 </a> 3576 </em> 3577 </td> 3578 <td> 3579 <em>(Optional)</em> 3580 <p>The policy for managing response headers during proxying. 3581 Rewriting the ‘Host’ header is not supported.</p> 3582 </td> 3583 </tr> 3584 <tr> 3585 <td style="white-space:nowrap"> 3586 <code>cookieRewritePolicies</code> 3587 <br> 3588 <em> 3589 <a href="#projectcontour.io/v1.CookieRewritePolicy"> 3590 []CookieRewritePolicy 3591 </a> 3592 </em> 3593 </td> 3594 <td> 3595 <em>(Optional)</em> 3596 <p>The policies for rewriting Set-Cookie header attributes. Note that 3597 rewritten cookie names must be unique in this list. Order rewrite 3598 policies are specified in does not matter.</p> 3599 </td> 3600 </tr> 3601 <tr> 3602 <td style="white-space:nowrap"> 3603 <code>rateLimitPolicy</code> 3604 <br> 3605 <em> 3606 <a href="#projectcontour.io/v1.RateLimitPolicy"> 3607 RateLimitPolicy 3608 </a> 3609 </em> 3610 </td> 3611 <td> 3612 <em>(Optional)</em> 3613 <p>The policy for rate limiting on the route.</p> 3614 </td> 3615 </tr> 3616 <tr> 3617 <td style="white-space:nowrap"> 3618 <code>requestRedirectPolicy</code> 3619 <br> 3620 <em> 3621 <a href="#projectcontour.io/v1.HTTPRequestRedirectPolicy"> 3622 HTTPRequestRedirectPolicy 3623 </a> 3624 </em> 3625 </td> 3626 <td> 3627 <em>(Optional)</em> 3628 <p>RequestRedirectPolicy defines an HTTP redirection.</p> 3629 </td> 3630 </tr> 3631 <tr> 3632 <td style="white-space:nowrap"> 3633 <code>directResponsePolicy</code> 3634 <br> 3635 <em> 3636 <a href="#projectcontour.io/v1.HTTPDirectResponsePolicy"> 3637 HTTPDirectResponsePolicy 3638 </a> 3639 </em> 3640 </td> 3641 <td> 3642 <em>(Optional)</em> 3643 <p>DirectResponsePolicy returns an arbitrary HTTP response directly.</p> 3644 </td> 3645 </tr> 3646 <tr> 3647 <td style="white-space:nowrap"> 3648 <code>internalRedirectPolicy</code> 3649 <br> 3650 <em> 3651 <a href="#projectcontour.io/v1.HTTPInternalRedirectPolicy"> 3652 HTTPInternalRedirectPolicy 3653 </a> 3654 </em> 3655 </td> 3656 <td> 3657 <em>(Optional)</em> 3658 <p>The policy to define when to handle redirects responses internally.</p> 3659 </td> 3660 </tr> 3661 <tr> 3662 <td style="white-space:nowrap"> 3663 <code>jwtVerificationPolicy</code> 3664 <br> 3665 <em> 3666 <a href="#projectcontour.io/v1.JWTVerificationPolicy"> 3667 JWTVerificationPolicy 3668 </a> 3669 </em> 3670 </td> 3671 <td> 3672 <em>(Optional)</em> 3673 <p>The policy for verifying JWTs for requests to this route.</p> 3674 </td> 3675 </tr> 3676 <tr> 3677 <td style="white-space:nowrap"> 3678 <code>ipAllowPolicy</code> 3679 <br> 3680 <em> 3681 <a href="#projectcontour.io/v1.IPFilterPolicy"> 3682 []IPFilterPolicy 3683 </a> 3684 </em> 3685 </td> 3686 <td> 3687 <p>IPAllowFilterPolicy is a list of ipv4/6 filter rules for which matching 3688 requests should be allowed. All other requests will be denied. 3689 Only one of IPAllowFilterPolicy and IPDenyFilterPolicy can be defined. 3690 The rules defined here override any rules set on the root HTTPProxy.</p> 3691 </td> 3692 </tr> 3693 <tr> 3694 <td style="white-space:nowrap"> 3695 <code>ipDenyPolicy</code> 3696 <br> 3697 <em> 3698 <a href="#projectcontour.io/v1.IPFilterPolicy"> 3699 []IPFilterPolicy 3700 </a> 3701 </em> 3702 </td> 3703 <td> 3704 <p>IPDenyFilterPolicy is a list of ipv4/6 filter rules for which matching 3705 requests should be denied. All other requests will be allowed. 3706 Only one of IPAllowFilterPolicy and IPDenyFilterPolicy can be defined. 3707 The rules defined here override any rules set on the root HTTPProxy.</p> 3708 </td> 3709 </tr> 3710 </tbody> 3711 </table> 3712 <h3 id="projectcontour.io/v1.Service">Service 3713 </h3> 3714 <p> 3715 (<em>Appears on:</em> 3716 <a href="#projectcontour.io/v1.Route">Route</a>, 3717 <a href="#projectcontour.io/v1.TCPProxy">TCPProxy</a>) 3718 </p> 3719 <p> 3720 <p>Service defines an Kubernetes Service to proxy traffic.</p> 3721 </p> 3722 <table> 3723 <thead> 3724 <tr> 3725 <th>Field</th> 3726 <th>Description</th> 3727 </tr> 3728 </thead> 3729 <tbody> 3730 <tr> 3731 <td style="white-space:nowrap"> 3732 <code>name</code> 3733 <br> 3734 <em> 3735 string 3736 </em> 3737 </td> 3738 <td> 3739 <p>Name is the name of Kubernetes service to proxy traffic. 3740 Names defined here will be used to look up corresponding endpoints which contain the ips to route.</p> 3741 </td> 3742 </tr> 3743 <tr> 3744 <td style="white-space:nowrap"> 3745 <code>port</code> 3746 <br> 3747 <em> 3748 int 3749 </em> 3750 </td> 3751 <td> 3752 <p>Port (defined as Integer) to proxy traffic to since a service can have multiple defined.</p> 3753 </td> 3754 </tr> 3755 <tr> 3756 <td style="white-space:nowrap"> 3757 <code>healthPort</code> 3758 <br> 3759 <em> 3760 int 3761 </em> 3762 </td> 3763 <td> 3764 <em>(Optional)</em> 3765 <p>HealthPort is the port for this service healthcheck. 3766 If not specified, Port is used for service healthchecks.</p> 3767 </td> 3768 </tr> 3769 <tr> 3770 <td style="white-space:nowrap"> 3771 <code>protocol</code> 3772 <br> 3773 <em> 3774 string 3775 </em> 3776 </td> 3777 <td> 3778 <em>(Optional)</em> 3779 <p>Protocol may be used to specify (or override) the protocol used to reach this Service. 3780 Values may be tls, h2, h2c. If omitted, protocol-selection falls back on Service annotations.</p> 3781 </td> 3782 </tr> 3783 <tr> 3784 <td style="white-space:nowrap"> 3785 <code>weight</code> 3786 <br> 3787 <em> 3788 int64 3789 </em> 3790 </td> 3791 <td> 3792 <em>(Optional)</em> 3793 <p>Weight defines percentage of traffic to balance traffic</p> 3794 </td> 3795 </tr> 3796 <tr> 3797 <td style="white-space:nowrap"> 3798 <code>validation</code> 3799 <br> 3800 <em> 3801 <a href="#projectcontour.io/v1.UpstreamValidation"> 3802 UpstreamValidation 3803 </a> 3804 </em> 3805 </td> 3806 <td> 3807 <em>(Optional)</em> 3808 <p>UpstreamValidation defines how to verify the backend service’s certificate</p> 3809 </td> 3810 </tr> 3811 <tr> 3812 <td style="white-space:nowrap"> 3813 <code>mirror</code> 3814 <br> 3815 <em> 3816 bool 3817 </em> 3818 </td> 3819 <td> 3820 <p>If Mirror is true the Service will receive a read only mirror of the traffic for this route.</p> 3821 </td> 3822 </tr> 3823 <tr> 3824 <td style="white-space:nowrap"> 3825 <code>requestHeadersPolicy</code> 3826 <br> 3827 <em> 3828 <a href="#projectcontour.io/v1.HeadersPolicy"> 3829 HeadersPolicy 3830 </a> 3831 </em> 3832 </td> 3833 <td> 3834 <em>(Optional)</em> 3835 <p>The policy for managing request headers during proxying.</p> 3836 </td> 3837 </tr> 3838 <tr> 3839 <td style="white-space:nowrap"> 3840 <code>responseHeadersPolicy</code> 3841 <br> 3842 <em> 3843 <a href="#projectcontour.io/v1.HeadersPolicy"> 3844 HeadersPolicy 3845 </a> 3846 </em> 3847 </td> 3848 <td> 3849 <em>(Optional)</em> 3850 <p>The policy for managing response headers during proxying. 3851 Rewriting the ‘Host’ header is not supported.</p> 3852 </td> 3853 </tr> 3854 <tr> 3855 <td style="white-space:nowrap"> 3856 <code>cookieRewritePolicies</code> 3857 <br> 3858 <em> 3859 <a href="#projectcontour.io/v1.CookieRewritePolicy"> 3860 []CookieRewritePolicy 3861 </a> 3862 </em> 3863 </td> 3864 <td> 3865 <em>(Optional)</em> 3866 <p>The policies for rewriting Set-Cookie header attributes.</p> 3867 </td> 3868 </tr> 3869 <tr> 3870 <td style="white-space:nowrap"> 3871 <code>slowStartPolicy</code> 3872 <br> 3873 <em> 3874 <a href="#projectcontour.io/v1.SlowStartPolicy"> 3875 SlowStartPolicy 3876 </a> 3877 </em> 3878 </td> 3879 <td> 3880 <em>(Optional)</em> 3881 <p>Slow start will gradually increase amount of traffic to a newly added endpoint.</p> 3882 </td> 3883 </tr> 3884 </tbody> 3885 </table> 3886 <h3 id="projectcontour.io/v1.SlowStartPolicy">SlowStartPolicy 3887 </h3> 3888 <p> 3889 (<em>Appears on:</em> 3890 <a href="#projectcontour.io/v1.Service">Service</a>) 3891 </p> 3892 <p> 3893 <p>SlowStartPolicy will gradually increase amount of traffic to a newly added endpoint. 3894 It can be used only with RoundRobin and WeightedLeastRequest load balancing strategies.</p> 3895 </p> 3896 <table> 3897 <thead> 3898 <tr> 3899 <th>Field</th> 3900 <th>Description</th> 3901 </tr> 3902 </thead> 3903 <tbody> 3904 <tr> 3905 <td style="white-space:nowrap"> 3906 <code>window</code> 3907 <br> 3908 <em> 3909 string 3910 </em> 3911 </td> 3912 <td> 3913 <p>The duration of slow start window. 3914 Duration is expressed in the Go <a href="https://godoc.org/time#ParseDuration">Duration format</a>. 3915 Valid time units are “ns”, “us” (or “µs”), “ms”, “s”, “m”, “h”.</p> 3916 </td> 3917 </tr> 3918 <tr> 3919 <td style="white-space:nowrap"> 3920 <code>aggression</code> 3921 <br> 3922 <em> 3923 string 3924 </em> 3925 </td> 3926 <td> 3927 <em>(Optional)</em> 3928 <p>The speed of traffic increase over the slow start window. 3929 Defaults to 1.0, so that endpoint would get linearly increasing amount of traffic. 3930 When increasing the value for this parameter, the speed of traffic ramp-up increases non-linearly. 3931 The value of aggression parameter should be greater than 0.0.</p> 3932 <p>More info: <a href="https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/load_balancing/slow_start">https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/load_balancing/slow_start</a></p> 3933 </td> 3934 </tr> 3935 <tr> 3936 <td style="white-space:nowrap"> 3937 <code>minWeightPercent</code> 3938 <br> 3939 <em> 3940 uint32 3941 </em> 3942 </td> 3943 <td> 3944 <em>(Optional)</em> 3945 <p>The minimum or starting percentage of traffic to send to new endpoints. 3946 A non-zero value helps avoid a too small initial weight, which may cause endpoints in slow start mode to receive no traffic in the beginning of the slow start window. 3947 If not specified, the default is 10%.</p> 3948 </td> 3949 </tr> 3950 </tbody> 3951 </table> 3952 <h3 id="projectcontour.io/v1.SubCondition">SubCondition 3953 </h3> 3954 <p> 3955 (<em>Appears on:</em> 3956 <a href="#projectcontour.io/v1.DetailedCondition">DetailedCondition</a>) 3957 </p> 3958 <p> 3959 <p>SubCondition is a Condition-like type intended for use as a subcondition inside a DetailedCondition.</p> 3960 <p>It contains a subset of the Condition fields.</p> 3961 <p>It is intended for warnings and errors, so <code>type</code> names should use abnormal-true polarity, 3962 that is, they should be of the form “ErrorPresent: true”.</p> 3963 <p>The expected lifecycle for these errors is that they should only be present when the error or warning is, 3964 and should be removed when they are not relevant.</p> 3965 </p> 3966 <table> 3967 <thead> 3968 <tr> 3969 <th>Field</th> 3970 <th>Description</th> 3971 </tr> 3972 </thead> 3973 <tbody> 3974 <tr> 3975 <td style="white-space:nowrap"> 3976 <code>type</code> 3977 <br> 3978 <em> 3979 string 3980 </em> 3981 </td> 3982 <td> 3983 <p>Type of condition in <code>CamelCase</code> or in <code>foo.example.com/CamelCase</code>.</p> 3984 <p>This must be in abnormal-true polarity, that is, <code>ErrorFound</code> or <code>controller.io/ErrorFound</code>.</p> 3985 <p>The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)</p> 3986 </td> 3987 </tr> 3988 <tr> 3989 <td style="white-space:nowrap"> 3990 <code>status</code> 3991 <br> 3992 <em> 3993 <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#conditionstatus-v1-meta"> 3994 Kubernetes meta/v1.ConditionStatus 3995 </a> 3996 </em> 3997 </td> 3998 <td> 3999 <p>Status of the condition, one of True, False, Unknown.</p> 4000 </td> 4001 </tr> 4002 <tr> 4003 <td style="white-space:nowrap"> 4004 <code>reason</code> 4005 <br> 4006 <em> 4007 string 4008 </em> 4009 </td> 4010 <td> 4011 <p>Reason contains a programmatic identifier indicating the reason for the condition’s last transition. 4012 Producers of specific condition types may define expected values and meanings for this field, 4013 and whether the values are considered a guaranteed API.</p> 4014 <p>The value should be a CamelCase string.</p> 4015 <p>This field may not be empty.</p> 4016 </td> 4017 </tr> 4018 <tr> 4019 <td style="white-space:nowrap"> 4020 <code>message</code> 4021 <br> 4022 <em> 4023 string 4024 </em> 4025 </td> 4026 <td> 4027 <p>Message is a human readable message indicating details about the transition.</p> 4028 <p>This may be an empty string.</p> 4029 </td> 4030 </tr> 4031 </tbody> 4032 </table> 4033 <h3 id="projectcontour.io/v1.TCPHealthCheckPolicy">TCPHealthCheckPolicy 4034 </h3> 4035 <p> 4036 (<em>Appears on:</em> 4037 <a href="#projectcontour.io/v1.TCPProxy">TCPProxy</a>) 4038 </p> 4039 <p> 4040 <p>TCPHealthCheckPolicy defines health checks on the upstream service.</p> 4041 </p> 4042 <table> 4043 <thead> 4044 <tr> 4045 <th>Field</th> 4046 <th>Description</th> 4047 </tr> 4048 </thead> 4049 <tbody> 4050 <tr> 4051 <td style="white-space:nowrap"> 4052 <code>intervalSeconds</code> 4053 <br> 4054 <em> 4055 int64 4056 </em> 4057 </td> 4058 <td> 4059 <em>(Optional)</em> 4060 <p>The interval (seconds) between health checks</p> 4061 </td> 4062 </tr> 4063 <tr> 4064 <td style="white-space:nowrap"> 4065 <code>timeoutSeconds</code> 4066 <br> 4067 <em> 4068 int64 4069 </em> 4070 </td> 4071 <td> 4072 <em>(Optional)</em> 4073 <p>The time to wait (seconds) for a health check response</p> 4074 </td> 4075 </tr> 4076 <tr> 4077 <td style="white-space:nowrap"> 4078 <code>unhealthyThresholdCount</code> 4079 <br> 4080 <em> 4081 uint32 4082 </em> 4083 </td> 4084 <td> 4085 <em>(Optional)</em> 4086 <p>The number of unhealthy health checks required before a host is marked unhealthy</p> 4087 </td> 4088 </tr> 4089 <tr> 4090 <td style="white-space:nowrap"> 4091 <code>healthyThresholdCount</code> 4092 <br> 4093 <em> 4094 uint32 4095 </em> 4096 </td> 4097 <td> 4098 <em>(Optional)</em> 4099 <p>The number of healthy health checks required before a host is marked healthy</p> 4100 </td> 4101 </tr> 4102 </tbody> 4103 </table> 4104 <h3 id="projectcontour.io/v1.TCPProxy">TCPProxy 4105 </h3> 4106 <p> 4107 (<em>Appears on:</em> 4108 <a href="#projectcontour.io/v1.HTTPProxySpec">HTTPProxySpec</a>) 4109 </p> 4110 <p> 4111 <p>TCPProxy contains the set of services to proxy TCP connections.</p> 4112 </p> 4113 <table> 4114 <thead> 4115 <tr> 4116 <th>Field</th> 4117 <th>Description</th> 4118 </tr> 4119 </thead> 4120 <tbody> 4121 <tr> 4122 <td style="white-space:nowrap"> 4123 <code>loadBalancerPolicy</code> 4124 <br> 4125 <em> 4126 <a href="#projectcontour.io/v1.LoadBalancerPolicy"> 4127 LoadBalancerPolicy 4128 </a> 4129 </em> 4130 </td> 4131 <td> 4132 <em>(Optional)</em> 4133 <p>The load balancing policy for the backend services. Note that the 4134 <code>Cookie</code> and <code>RequestHash</code> load balancing strategies cannot be used 4135 here.</p> 4136 </td> 4137 </tr> 4138 <tr> 4139 <td style="white-space:nowrap"> 4140 <code>services</code> 4141 <br> 4142 <em> 4143 <a href="#projectcontour.io/v1.Service"> 4144 []Service 4145 </a> 4146 </em> 4147 </td> 4148 <td> 4149 <em>(Optional)</em> 4150 <p>Services are the services to proxy traffic</p> 4151 </td> 4152 </tr> 4153 <tr> 4154 <td style="white-space:nowrap"> 4155 <code>include</code> 4156 <br> 4157 <em> 4158 <a href="#projectcontour.io/v1.TCPProxyInclude"> 4159 TCPProxyInclude 4160 </a> 4161 </em> 4162 </td> 4163 <td> 4164 <em>(Optional)</em> 4165 <p>Include specifies that this tcpproxy should be delegated to another HTTPProxy.</p> 4166 </td> 4167 </tr> 4168 <tr> 4169 <td style="white-space:nowrap"> 4170 <code>includes</code> 4171 <br> 4172 <em> 4173 <a href="#projectcontour.io/v1.TCPProxyInclude"> 4174 TCPProxyInclude 4175 </a> 4176 </em> 4177 </td> 4178 <td> 4179 <em>(Optional)</em> 4180 <p>IncludesDeprecated allow for specific routing configuration to be appended to another HTTPProxy in another namespace.</p> 4181 <p>Exists due to a mistake when developing HTTPProxy and the field was marked plural 4182 when it should have been singular. This field should stay to not break backwards compatibility to v1 users.</p> 4183 </td> 4184 </tr> 4185 <tr> 4186 <td style="white-space:nowrap"> 4187 <code>healthCheckPolicy</code> 4188 <br> 4189 <em> 4190 <a href="#projectcontour.io/v1.TCPHealthCheckPolicy"> 4191 TCPHealthCheckPolicy 4192 </a> 4193 </em> 4194 </td> 4195 <td> 4196 <em>(Optional)</em> 4197 <p>The health check policy for this tcp proxy</p> 4198 </td> 4199 </tr> 4200 </tbody> 4201 </table> 4202 <h3 id="projectcontour.io/v1.TCPProxyInclude">TCPProxyInclude 4203 </h3> 4204 <p> 4205 (<em>Appears on:</em> 4206 <a href="#projectcontour.io/v1.TCPProxy">TCPProxy</a>) 4207 </p> 4208 <p> 4209 <p>TCPProxyInclude describes a target HTTPProxy document which contains the TCPProxy details.</p> 4210 </p> 4211 <table> 4212 <thead> 4213 <tr> 4214 <th>Field</th> 4215 <th>Description</th> 4216 </tr> 4217 </thead> 4218 <tbody> 4219 <tr> 4220 <td style="white-space:nowrap"> 4221 <code>name</code> 4222 <br> 4223 <em> 4224 string 4225 </em> 4226 </td> 4227 <td> 4228 <p>Name of the child HTTPProxy</p> 4229 </td> 4230 </tr> 4231 <tr> 4232 <td style="white-space:nowrap"> 4233 <code>namespace</code> 4234 <br> 4235 <em> 4236 string 4237 </em> 4238 </td> 4239 <td> 4240 <em>(Optional)</em> 4241 <p>Namespace of the HTTPProxy to include. Defaults to the current namespace if not supplied.</p> 4242 </td> 4243 </tr> 4244 </tbody> 4245 </table> 4246 <h3 id="projectcontour.io/v1.TLS">TLS 4247 </h3> 4248 <p> 4249 (<em>Appears on:</em> 4250 <a href="#projectcontour.io/v1.VirtualHost">VirtualHost</a>) 4251 </p> 4252 <p> 4253 <p>TLS describes tls properties. The SNI names that will be matched on 4254 are described in the HTTPProxy’s Spec.VirtualHost.Fqdn field.</p> 4255 </p> 4256 <table> 4257 <thead> 4258 <tr> 4259 <th>Field</th> 4260 <th>Description</th> 4261 </tr> 4262 </thead> 4263 <tbody> 4264 <tr> 4265 <td style="white-space:nowrap"> 4266 <code>secretName</code> 4267 <br> 4268 <em> 4269 string 4270 </em> 4271 </td> 4272 <td> 4273 <p>SecretName is the name of a TLS secret in the current namespace. 4274 Either SecretName or Passthrough must be specified, but not both. 4275 If specified, the named secret must contain a matching certificate 4276 for the virtual host’s FQDN.</p> 4277 </td> 4278 </tr> 4279 <tr> 4280 <td style="white-space:nowrap"> 4281 <code>minimumProtocolVersion</code> 4282 <br> 4283 <em> 4284 string 4285 </em> 4286 </td> 4287 <td> 4288 <em>(Optional)</em> 4289 <p>MinimumProtocolVersion is the minimum TLS version this vhost should 4290 negotiate. Valid options are <code>1.2</code> (default) and <code>1.3</code>. Any other value 4291 defaults to TLS 1.2.</p> 4292 </td> 4293 </tr> 4294 <tr> 4295 <td style="white-space:nowrap"> 4296 <code>passthrough</code> 4297 <br> 4298 <em> 4299 bool 4300 </em> 4301 </td> 4302 <td> 4303 <em>(Optional)</em> 4304 <p>Passthrough defines whether the encrypted TLS handshake will be 4305 passed through to the backing cluster. Either Passthrough or 4306 SecretName must be specified, but not both.</p> 4307 </td> 4308 </tr> 4309 <tr> 4310 <td style="white-space:nowrap"> 4311 <code>clientValidation</code> 4312 <br> 4313 <em> 4314 <a href="#projectcontour.io/v1.DownstreamValidation"> 4315 DownstreamValidation 4316 </a> 4317 </em> 4318 </td> 4319 <td> 4320 <em>(Optional)</em> 4321 <p>ClientValidation defines how to verify the client certificate 4322 when an external client establishes a TLS connection to Envoy.</p> 4323 <p>This setting:</p> 4324 <ol> 4325 <li>Enables TLS client certificate validation.</li> 4326 <li>Specifies how the client certificate will be validated (i.e. 4327 validation required or skipped).</li> 4328 </ol> 4329 <p>Note: Setting client certificate validation to be skipped should 4330 be only used in conjunction with an external authorization server that 4331 performs client validation as Contour will ensure client certificates 4332 are passed along.</p> 4333 </td> 4334 </tr> 4335 <tr> 4336 <td style="white-space:nowrap"> 4337 <code>enableFallbackCertificate</code> 4338 <br> 4339 <em> 4340 bool 4341 </em> 4342 </td> 4343 <td> 4344 <p>EnableFallbackCertificate defines if the vhost should allow a default certificate to 4345 be applied which handles all requests which don’t match the SNI defined in this vhost.</p> 4346 </td> 4347 </tr> 4348 </tbody> 4349 </table> 4350 <h3 id="projectcontour.io/v1.TLSCertificateDelegationSpec">TLSCertificateDelegationSpec 4351 </h3> 4352 <p> 4353 (<em>Appears on:</em> 4354 <a href="#projectcontour.io/v1.TLSCertificateDelegation">TLSCertificateDelegation</a>) 4355 </p> 4356 <p> 4357 <p>TLSCertificateDelegationSpec defines the spec of the CRD</p> 4358 </p> 4359 <table> 4360 <thead> 4361 <tr> 4362 <th>Field</th> 4363 <th>Description</th> 4364 </tr> 4365 </thead> 4366 <tbody> 4367 <tr> 4368 <td style="white-space:nowrap"> 4369 <code>delegations</code> 4370 <br> 4371 <em> 4372 <a href="#projectcontour.io/v1.CertificateDelegation"> 4373 []CertificateDelegation 4374 </a> 4375 </em> 4376 </td> 4377 <td> 4378 </td> 4379 </tr> 4380 </tbody> 4381 </table> 4382 <h3 id="projectcontour.io/v1.TLSCertificateDelegationStatus">TLSCertificateDelegationStatus 4383 </h3> 4384 <p> 4385 (<em>Appears on:</em> 4386 <a href="#projectcontour.io/v1.TLSCertificateDelegation">TLSCertificateDelegation</a>) 4387 </p> 4388 <p> 4389 <p>TLSCertificateDelegationStatus allows for the status of the delegation 4390 to be presented to the user.</p> 4391 </p> 4392 <table> 4393 <thead> 4394 <tr> 4395 <th>Field</th> 4396 <th>Description</th> 4397 </tr> 4398 </thead> 4399 <tbody> 4400 <tr> 4401 <td style="white-space:nowrap"> 4402 <code>conditions</code> 4403 <br> 4404 <em> 4405 <a href="#projectcontour.io/v1.DetailedCondition"> 4406 []DetailedCondition 4407 </a> 4408 </em> 4409 </td> 4410 <td> 4411 <em>(Optional)</em> 4412 <p>Conditions contains information about the current status of the HTTPProxy, 4413 in an upstream-friendly container.</p> 4414 <p>Contour will update a single condition, <code>Valid</code>, that is in normal-true polarity. 4415 That is, when <code>currentStatus</code> is <code>valid</code>, the <code>Valid</code> condition will be <code>status: true</code>, 4416 and vice versa.</p> 4417 <p>Contour will leave untouched any other Conditions set in this block, 4418 in case some other controller wants to add a Condition.</p> 4419 <p>If you are another controller owner and wish to add a condition, you <em>should</em> 4420 namespace your condition with a label, like <code>controller.domain.com\ConditionName</code>.</p> 4421 </td> 4422 </tr> 4423 </tbody> 4424 </table> 4425 <h3 id="projectcontour.io/v1.TimeoutPolicy">TimeoutPolicy 4426 </h3> 4427 <p> 4428 (<em>Appears on:</em> 4429 <a href="#projectcontour.io/v1.Route">Route</a>, 4430 <a href="#projectcontour.io/v1alpha1.ExtensionServiceSpec">ExtensionServiceSpec</a>) 4431 </p> 4432 <p> 4433 <p>TimeoutPolicy configures timeouts that are used for handling network requests.</p> 4434 <p>TimeoutPolicy durations are expressed in the Go <a href="https://godoc.org/time#ParseDuration">Duration format</a>. 4435 Valid time units are “ns”, “us” (or “µs”), “ms”, “s”, “m”, “h”. 4436 The string “infinity” is also a valid input and specifies no timeout. 4437 A value of “0s” will be treated as if the field were not set, i.e. by using Envoy’s default behavior.</p> 4438 <p>Example input values: “300ms”, “5s”, “1m”.</p> 4439 </p> 4440 <table> 4441 <thead> 4442 <tr> 4443 <th>Field</th> 4444 <th>Description</th> 4445 </tr> 4446 </thead> 4447 <tbody> 4448 <tr> 4449 <td style="white-space:nowrap"> 4450 <code>response</code> 4451 <br> 4452 <em> 4453 string 4454 </em> 4455 </td> 4456 <td> 4457 <em>(Optional)</em> 4458 <p>Timeout for receiving a response from the server after processing a request from client. 4459 If not supplied, Envoy’s default value of 15s applies.</p> 4460 </td> 4461 </tr> 4462 <tr> 4463 <td style="white-space:nowrap"> 4464 <code>idle</code> 4465 <br> 4466 <em> 4467 string 4468 </em> 4469 </td> 4470 <td> 4471 <em>(Optional)</em> 4472 <p>Timeout for how long the proxy should wait while there is no activity during single request/response (for HTTP/1.1) or stream (for HTTP/2). 4473 Timeout will not trigger while HTTP/1.1 connection is idle between two consecutive requests. 4474 If not specified, there is no per-route idle timeout, though a connection manager-wide 4475 stream_idle_timeout default of 5m still applies.</p> 4476 </td> 4477 </tr> 4478 <tr> 4479 <td style="white-space:nowrap"> 4480 <code>idleConnection</code> 4481 <br> 4482 <em> 4483 string 4484 </em> 4485 </td> 4486 <td> 4487 <em>(Optional)</em> 4488 <p>Timeout for how long connection from the proxy to the upstream service is kept when there are no active requests. 4489 If not supplied, Envoy’s default value of 1h applies.</p> 4490 </td> 4491 </tr> 4492 </tbody> 4493 </table> 4494 <h3 id="projectcontour.io/v1.UpstreamValidation">UpstreamValidation 4495 </h3> 4496 <p> 4497 (<em>Appears on:</em> 4498 <a href="#projectcontour.io/v1.RemoteJWKS">RemoteJWKS</a>, 4499 <a href="#projectcontour.io/v1.Service">Service</a>, 4500 <a href="#projectcontour.io/v1alpha1.ExtensionServiceSpec">ExtensionServiceSpec</a>) 4501 </p> 4502 <p> 4503 <p>UpstreamValidation defines how to verify the backend service’s certificate</p> 4504 </p> 4505 <table> 4506 <thead> 4507 <tr> 4508 <th>Field</th> 4509 <th>Description</th> 4510 </tr> 4511 </thead> 4512 <tbody> 4513 <tr> 4514 <td style="white-space:nowrap"> 4515 <code>caSecret</code> 4516 <br> 4517 <em> 4518 string 4519 </em> 4520 </td> 4521 <td> 4522 <p>Name or namespaced name of the Kubernetes secret used to validate the certificate presented by the backend. 4523 The secret must contain key named ca.crt.</p> 4524 </td> 4525 </tr> 4526 <tr> 4527 <td style="white-space:nowrap"> 4528 <code>subjectName</code> 4529 <br> 4530 <em> 4531 string 4532 </em> 4533 </td> 4534 <td> 4535 <p>Key which is expected to be present in the ‘subjectAltName’ of the presented certificate.</p> 4536 </td> 4537 </tr> 4538 </tbody> 4539 </table> 4540 <h3 id="projectcontour.io/v1.VirtualHost">VirtualHost 4541 </h3> 4542 <p> 4543 (<em>Appears on:</em> 4544 <a href="#projectcontour.io/v1.HTTPProxySpec">HTTPProxySpec</a>) 4545 </p> 4546 <p> 4547 <p>VirtualHost appears at most once. If it is present, the object is considered 4548 to be a “root”.</p> 4549 </p> 4550 <table> 4551 <thead> 4552 <tr> 4553 <th>Field</th> 4554 <th>Description</th> 4555 </tr> 4556 </thead> 4557 <tbody> 4558 <tr> 4559 <td style="white-space:nowrap"> 4560 <code>fqdn</code> 4561 <br> 4562 <em> 4563 string 4564 </em> 4565 </td> 4566 <td> 4567 <p>The fully qualified domain name of the root of the ingress tree 4568 all leaves of the DAG rooted at this object relate to the fqdn.</p> 4569 </td> 4570 </tr> 4571 <tr> 4572 <td style="white-space:nowrap"> 4573 <code>tls</code> 4574 <br> 4575 <em> 4576 <a href="#projectcontour.io/v1.TLS"> 4577 TLS 4578 </a> 4579 </em> 4580 </td> 4581 <td> 4582 <em>(Optional)</em> 4583 <p>If present the fields describes TLS properties of the virtual 4584 host. The SNI names that will be matched on are described in fqdn, 4585 the tls.secretName secret must contain a certificate that itself 4586 contains a name that matches the FQDN.</p> 4587 </td> 4588 </tr> 4589 <tr> 4590 <td style="white-space:nowrap"> 4591 <code>authorization</code> 4592 <br> 4593 <em> 4594 <a href="#projectcontour.io/v1.AuthorizationServer"> 4595 AuthorizationServer 4596 </a> 4597 </em> 4598 </td> 4599 <td> 4600 <em>(Optional)</em> 4601 <p>This field configures an extension service to perform 4602 authorization for this virtual host. Authorization can 4603 only be configured on virtual hosts that have TLS enabled. 4604 If the TLS configuration requires client certificate 4605 validation, the client certificate is always included in the 4606 authentication check request.</p> 4607 </td> 4608 </tr> 4609 <tr> 4610 <td style="white-space:nowrap"> 4611 <code>corsPolicy</code> 4612 <br> 4613 <em> 4614 <a href="#projectcontour.io/v1.CORSPolicy"> 4615 CORSPolicy 4616 </a> 4617 </em> 4618 </td> 4619 <td> 4620 <em>(Optional)</em> 4621 <p>Specifies the cross-origin policy to apply to the VirtualHost.</p> 4622 </td> 4623 </tr> 4624 <tr> 4625 <td style="white-space:nowrap"> 4626 <code>rateLimitPolicy</code> 4627 <br> 4628 <em> 4629 <a href="#projectcontour.io/v1.RateLimitPolicy"> 4630 RateLimitPolicy 4631 </a> 4632 </em> 4633 </td> 4634 <td> 4635 <em>(Optional)</em> 4636 <p>The policy for rate limiting on the virtual host.</p> 4637 </td> 4638 </tr> 4639 <tr> 4640 <td style="white-space:nowrap"> 4641 <code>jwtProviders</code> 4642 <br> 4643 <em> 4644 <a href="#projectcontour.io/v1.JWTProvider"> 4645 []JWTProvider 4646 </a> 4647 </em> 4648 </td> 4649 <td> 4650 <em>(Optional)</em> 4651 <p>Providers to use for verifying JSON Web Tokens (JWTs) on the virtual host.</p> 4652 </td> 4653 </tr> 4654 <tr> 4655 <td style="white-space:nowrap"> 4656 <code>ipAllowPolicy</code> 4657 <br> 4658 <em> 4659 <a href="#projectcontour.io/v1.IPFilterPolicy"> 4660 []IPFilterPolicy 4661 </a> 4662 </em> 4663 </td> 4664 <td> 4665 <p>IPAllowFilterPolicy is a list of ipv4/6 filter rules for which matching 4666 requests should be allowed. All other requests will be denied. 4667 Only one of IPAllowFilterPolicy and IPDenyFilterPolicy can be defined. 4668 The rules defined here may be overridden in a Route.</p> 4669 </td> 4670 </tr> 4671 <tr> 4672 <td style="white-space:nowrap"> 4673 <code>ipDenyPolicy</code> 4674 <br> 4675 <em> 4676 <a href="#projectcontour.io/v1.IPFilterPolicy"> 4677 []IPFilterPolicy 4678 </a> 4679 </em> 4680 </td> 4681 <td> 4682 <p>IPDenyFilterPolicy is a list of ipv4/6 filter rules for which matching 4683 requests should be denied. All other requests will be allowed. 4684 Only one of IPAllowFilterPolicy and IPDenyFilterPolicy can be defined. 4685 The rules defined here may be overridden in a Route.</p> 4686 </td> 4687 </tr> 4688 </tbody> 4689 </table> 4690 <hr/> 4691 <h2 id="projectcontour.io/v1alpha1">projectcontour.io/v1alpha1</h2> 4692 <p> 4693 <p>Package v1alpha1 contains API Schema definitions for the projectcontour.io v1alpha1 API group</p> 4694 </p> 4695 Resource Types: 4696 <ul><li> 4697 <a href="#projectcontour.io/v1alpha1.ContourConfiguration">ContourConfiguration</a> 4698 </li><li> 4699 <a href="#projectcontour.io/v1alpha1.ContourDeployment">ContourDeployment</a> 4700 </li><li> 4701 <a href="#projectcontour.io/v1alpha1.ExtensionService">ExtensionService</a> 4702 </li></ul> 4703 <h3 id="projectcontour.io/v1alpha1.ContourConfiguration">ContourConfiguration 4704 </h3> 4705 <p> 4706 <p>ContourConfiguration is the schema for a Contour instance.</p> 4707 </p> 4708 <table> 4709 <thead> 4710 <tr> 4711 <th>Field</th> 4712 <th>Description</th> 4713 </tr> 4714 </thead> 4715 <tbody> 4716 <tr> 4717 <td> 4718 <code>apiVersion</code></br> 4719 string</td> 4720 <td> 4721 <code> 4722 projectcontour.io/v1alpha1 4723 </code> 4724 </td> 4725 </tr> 4726 <tr> 4727 <td> 4728 <code>kind</code></br> 4729 string 4730 </td> 4731 <td><code>ContourConfiguration</code></td> 4732 </tr> 4733 <tr> 4734 <td style="white-space:nowrap"> 4735 <code>metadata</code> 4736 <br> 4737 <em> 4738 <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#objectmeta-v1-meta"> 4739 Kubernetes meta/v1.ObjectMeta 4740 </a> 4741 </em> 4742 </td> 4743 <td> 4744 Refer to the Kubernetes API documentation for the fields of the 4745 <code>metadata</code> field. 4746 </td> 4747 </tr> 4748 <tr> 4749 <td style="white-space:nowrap"> 4750 <code>spec</code> 4751 <br> 4752 <em> 4753 <a href="#projectcontour.io/v1alpha1.ContourConfigurationSpec"> 4754 ContourConfigurationSpec 4755 </a> 4756 </em> 4757 </td> 4758 <td> 4759 <br> 4760 <br> 4761 <table style="border:none"> 4762 <tr> 4763 <td style="white-space:nowrap"> 4764 <code>xdsServer</code> 4765 <br> 4766 <em> 4767 <a href="#projectcontour.io/v1alpha1.XDSServerConfig"> 4768 XDSServerConfig 4769 </a> 4770 </em> 4771 </td> 4772 <td> 4773 <em>(Optional)</em> 4774 <p>XDSServer contains parameters for the xDS server.</p> 4775 </td> 4776 </tr> 4777 <tr> 4778 <td style="white-space:nowrap"> 4779 <code>ingress</code> 4780 <br> 4781 <em> 4782 <a href="#projectcontour.io/v1alpha1.IngressConfig"> 4783 IngressConfig 4784 </a> 4785 </em> 4786 </td> 4787 <td> 4788 <em>(Optional)</em> 4789 <p>Ingress contains parameters for ingress options.</p> 4790 </td> 4791 </tr> 4792 <tr> 4793 <td style="white-space:nowrap"> 4794 <code>debug</code> 4795 <br> 4796 <em> 4797 <a href="#projectcontour.io/v1alpha1.DebugConfig"> 4798 DebugConfig 4799 </a> 4800 </em> 4801 </td> 4802 <td> 4803 <em>(Optional)</em> 4804 <p>Debug contains parameters to enable debug logging 4805 and debug interfaces inside Contour.</p> 4806 </td> 4807 </tr> 4808 <tr> 4809 <td style="white-space:nowrap"> 4810 <code>health</code> 4811 <br> 4812 <em> 4813 <a href="#projectcontour.io/v1alpha1.HealthConfig"> 4814 HealthConfig 4815 </a> 4816 </em> 4817 </td> 4818 <td> 4819 <em>(Optional)</em> 4820 <p>Health defines the endpoints Contour uses to serve health checks.</p> 4821 <p>Contour’s default is { address: “0.0.0.0”, port: 8000 }.</p> 4822 </td> 4823 </tr> 4824 <tr> 4825 <td style="white-space:nowrap"> 4826 <code>envoy</code> 4827 <br> 4828 <em> 4829 <a href="#projectcontour.io/v1alpha1.EnvoyConfig"> 4830 EnvoyConfig 4831 </a> 4832 </em> 4833 </td> 4834 <td> 4835 <em>(Optional)</em> 4836 <p>Envoy contains parameters for Envoy as well 4837 as how to optionally configure a managed Envoy fleet.</p> 4838 </td> 4839 </tr> 4840 <tr> 4841 <td style="white-space:nowrap"> 4842 <code>gateway</code> 4843 <br> 4844 <em> 4845 <a href="#projectcontour.io/v1alpha1.GatewayConfig"> 4846 GatewayConfig 4847 </a> 4848 </em> 4849 </td> 4850 <td> 4851 <em>(Optional)</em> 4852 <p>Gateway contains parameters for the gateway-api Gateway that Contour 4853 is configured to serve traffic.</p> 4854 </td> 4855 </tr> 4856 <tr> 4857 <td style="white-space:nowrap"> 4858 <code>httpproxy</code> 4859 <br> 4860 <em> 4861 <a href="#projectcontour.io/v1alpha1.HTTPProxyConfig"> 4862 HTTPProxyConfig 4863 </a> 4864 </em> 4865 </td> 4866 <td> 4867 <em>(Optional)</em> 4868 <p>HTTPProxy defines parameters on HTTPProxy.</p> 4869 </td> 4870 </tr> 4871 <tr> 4872 <td style="white-space:nowrap"> 4873 <code>enableExternalNameService</code> 4874 <br> 4875 <em> 4876 bool 4877 </em> 4878 </td> 4879 <td> 4880 <em>(Optional)</em> 4881 <p>EnableExternalNameService allows processing of ExternalNameServices</p> 4882 <p>Contour’s default is false for security reasons.</p> 4883 </td> 4884 </tr> 4885 <tr> 4886 <td style="white-space:nowrap"> 4887 <code>globalExtAuth</code> 4888 <br> 4889 <em> 4890 <a href="#projectcontour.io/v1.AuthorizationServer"> 4891 AuthorizationServer 4892 </a> 4893 </em> 4894 </td> 4895 <td> 4896 <em>(Optional)</em> 4897 <p>GlobalExternalAuthorization allows envoys external authorization filter 4898 to be enabled for all virtual hosts.</p> 4899 </td> 4900 </tr> 4901 <tr> 4902 <td style="white-space:nowrap"> 4903 <code>rateLimitService</code> 4904 <br> 4905 <em> 4906 <a href="#projectcontour.io/v1alpha1.RateLimitServiceConfig"> 4907 RateLimitServiceConfig 4908 </a> 4909 </em> 4910 </td> 4911 <td> 4912 <em>(Optional)</em> 4913 <p>RateLimitService optionally holds properties of the Rate Limit Service 4914 to be used for global rate limiting.</p> 4915 </td> 4916 </tr> 4917 <tr> 4918 <td style="white-space:nowrap"> 4919 <code>policy</code> 4920 <br> 4921 <em> 4922 <a href="#projectcontour.io/v1alpha1.PolicyConfig"> 4923 PolicyConfig 4924 </a> 4925 </em> 4926 </td> 4927 <td> 4928 <em>(Optional)</em> 4929 <p>Policy specifies default policy applied if not overridden by the user</p> 4930 </td> 4931 </tr> 4932 <tr> 4933 <td style="white-space:nowrap"> 4934 <code>metrics</code> 4935 <br> 4936 <em> 4937 <a href="#projectcontour.io/v1alpha1.MetricsConfig"> 4938 MetricsConfig 4939 </a> 4940 </em> 4941 </td> 4942 <td> 4943 <em>(Optional)</em> 4944 <p>Metrics defines the endpoint Contour uses to serve metrics.</p> 4945 <p>Contour’s default is { address: “0.0.0.0”, port: 8000 }.</p> 4946 </td> 4947 </tr> 4948 <tr> 4949 <td style="white-space:nowrap"> 4950 <code>tracing</code> 4951 <br> 4952 <em> 4953 <a href="#projectcontour.io/v1alpha1.TracingConfig"> 4954 TracingConfig 4955 </a> 4956 </em> 4957 </td> 4958 <td> 4959 <p>Tracing defines properties for exporting trace data to OpenTelemetry.</p> 4960 </td> 4961 </tr> 4962 </table> 4963 </td> 4964 </tr> 4965 <tr> 4966 <td style="white-space:nowrap"> 4967 <code>status</code> 4968 <br> 4969 <em> 4970 <a href="#projectcontour.io/v1alpha1.ContourConfigurationStatus"> 4971 ContourConfigurationStatus 4972 </a> 4973 </em> 4974 </td> 4975 <td> 4976 <em>(Optional)</em> 4977 </td> 4978 </tr> 4979 </tbody> 4980 </table> 4981 <h3 id="projectcontour.io/v1alpha1.ContourDeployment">ContourDeployment 4982 </h3> 4983 <p> 4984 <p>ContourDeployment is the schema for a Contour Deployment.</p> 4985 </p> 4986 <table> 4987 <thead> 4988 <tr> 4989 <th>Field</th> 4990 <th>Description</th> 4991 </tr> 4992 </thead> 4993 <tbody> 4994 <tr> 4995 <td> 4996 <code>apiVersion</code></br> 4997 string</td> 4998 <td> 4999 <code> 5000 projectcontour.io/v1alpha1 5001 </code> 5002 </td> 5003 </tr> 5004 <tr> 5005 <td> 5006 <code>kind</code></br> 5007 string 5008 </td> 5009 <td><code>ContourDeployment</code></td> 5010 </tr> 5011 <tr> 5012 <td style="white-space:nowrap"> 5013 <code>metadata</code> 5014 <br> 5015 <em> 5016 <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#objectmeta-v1-meta"> 5017 Kubernetes meta/v1.ObjectMeta 5018 </a> 5019 </em> 5020 </td> 5021 <td> 5022 Refer to the Kubernetes API documentation for the fields of the 5023 <code>metadata</code> field. 5024 </td> 5025 </tr> 5026 <tr> 5027 <td style="white-space:nowrap"> 5028 <code>spec</code> 5029 <br> 5030 <em> 5031 <a href="#projectcontour.io/v1alpha1.ContourDeploymentSpec"> 5032 ContourDeploymentSpec 5033 </a> 5034 </em> 5035 </td> 5036 <td> 5037 <br> 5038 <br> 5039 <table style="border:none"> 5040 <tr> 5041 <td style="white-space:nowrap"> 5042 <code>contour</code> 5043 <br> 5044 <em> 5045 <a href="#projectcontour.io/v1alpha1.ContourSettings"> 5046 ContourSettings 5047 </a> 5048 </em> 5049 </td> 5050 <td> 5051 <em>(Optional)</em> 5052 <p>Contour specifies deployment-time settings for the Contour 5053 part of the installation, i.e. the xDS server/control plane 5054 and associated resources, including things like replica count 5055 for the Deployment, and node placement constraints for the pods.</p> 5056 </td> 5057 </tr> 5058 <tr> 5059 <td style="white-space:nowrap"> 5060 <code>envoy</code> 5061 <br> 5062 <em> 5063 <a href="#projectcontour.io/v1alpha1.EnvoySettings"> 5064 EnvoySettings 5065 </a> 5066 </em> 5067 </td> 5068 <td> 5069 <em>(Optional)</em> 5070 <p>Envoy specifies deployment-time settings for the Envoy 5071 part of the installation, i.e. the xDS client/data plane 5072 and associated resources, including things like the workload 5073 type to use (DaemonSet or Deployment), node placement constraints 5074 for the pods, and various options for the Envoy service.</p> 5075 </td> 5076 </tr> 5077 <tr> 5078 <td style="white-space:nowrap"> 5079 <code>runtimeSettings</code> 5080 <br> 5081 <em> 5082 <a href="#projectcontour.io/v1alpha1.ContourConfigurationSpec"> 5083 ContourConfigurationSpec 5084 </a> 5085 </em> 5086 </td> 5087 <td> 5088 <em>(Optional)</em> 5089 <p>RuntimeSettings is a ContourConfiguration spec to be used when 5090 provisioning a Contour instance that will influence aspects of 5091 the Contour instance’s runtime behavior.</p> 5092 </td> 5093 </tr> 5094 <tr> 5095 <td style="white-space:nowrap"> 5096 <code>resourceLabels</code> 5097 <br> 5098 <em> 5099 map[string]string 5100 </em> 5101 </td> 5102 <td> 5103 <em>(Optional)</em> 5104 <p>ResourceLabels is a set of labels to add to the provisioned Contour resources.</p> 5105 </td> 5106 </tr> 5107 </table> 5108 </td> 5109 </tr> 5110 <tr> 5111 <td style="white-space:nowrap"> 5112 <code>status</code> 5113 <br> 5114 <em> 5115 <a href="#projectcontour.io/v1alpha1.ContourDeploymentStatus"> 5116 ContourDeploymentStatus 5117 </a> 5118 </em> 5119 </td> 5120 <td> 5121 </td> 5122 </tr> 5123 </tbody> 5124 </table> 5125 <h3 id="projectcontour.io/v1alpha1.ExtensionService">ExtensionService 5126 </h3> 5127 <p> 5128 <p>ExtensionService is the schema for the Contour extension services API. 5129 An ExtensionService resource binds a network service to the Contour 5130 API so that Contour API features can be implemented by collaborating 5131 components.</p> 5132 </p> 5133 <table> 5134 <thead> 5135 <tr> 5136 <th>Field</th> 5137 <th>Description</th> 5138 </tr> 5139 </thead> 5140 <tbody> 5141 <tr> 5142 <td> 5143 <code>apiVersion</code></br> 5144 string</td> 5145 <td> 5146 <code> 5147 projectcontour.io/v1alpha1 5148 </code> 5149 </td> 5150 </tr> 5151 <tr> 5152 <td> 5153 <code>kind</code></br> 5154 string 5155 </td> 5156 <td><code>ExtensionService</code></td> 5157 </tr> 5158 <tr> 5159 <td style="white-space:nowrap"> 5160 <code>metadata</code> 5161 <br> 5162 <em> 5163 <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#objectmeta-v1-meta"> 5164 Kubernetes meta/v1.ObjectMeta 5165 </a> 5166 </em> 5167 </td> 5168 <td> 5169 Refer to the Kubernetes API documentation for the fields of the 5170 <code>metadata</code> field. 5171 </td> 5172 </tr> 5173 <tr> 5174 <td style="white-space:nowrap"> 5175 <code>spec</code> 5176 <br> 5177 <em> 5178 <a href="#projectcontour.io/v1alpha1.ExtensionServiceSpec"> 5179 ExtensionServiceSpec 5180 </a> 5181 </em> 5182 </td> 5183 <td> 5184 <br> 5185 <br> 5186 <table style="border:none"> 5187 <tr> 5188 <td style="white-space:nowrap"> 5189 <code>services</code> 5190 <br> 5191 <em> 5192 <a href="#projectcontour.io/v1alpha1.ExtensionServiceTarget"> 5193 []ExtensionServiceTarget 5194 </a> 5195 </em> 5196 </td> 5197 <td> 5198 <p>Services specifies the set of Kubernetes Service resources that 5199 receive GRPC extension API requests. 5200 If no weights are specified for any of the entries in 5201 this array, traffic will be spread evenly across all the 5202 services. 5203 Otherwise, traffic is balanced proportionally to the 5204 Weight field in each entry.</p> 5205 </td> 5206 </tr> 5207 <tr> 5208 <td style="white-space:nowrap"> 5209 <code>validation</code> 5210 <br> 5211 <em> 5212 <a href="#projectcontour.io/v1.UpstreamValidation"> 5213 UpstreamValidation 5214 </a> 5215 </em> 5216 </td> 5217 <td> 5218 <em>(Optional)</em> 5219 <p>UpstreamValidation defines how to verify the backend service’s certificate</p> 5220 </td> 5221 </tr> 5222 <tr> 5223 <td style="white-space:nowrap"> 5224 <code>protocol</code> 5225 <br> 5226 <em> 5227 string 5228 </em> 5229 </td> 5230 <td> 5231 <em>(Optional)</em> 5232 <p>Protocol may be used to specify (or override) the protocol used to reach this Service. 5233 Values may be h2 or h2c. If omitted, protocol-selection falls back on Service annotations.</p> 5234 </td> 5235 </tr> 5236 <tr> 5237 <td style="white-space:nowrap"> 5238 <code>loadBalancerPolicy</code> 5239 <br> 5240 <em> 5241 <a href="#projectcontour.io/v1.LoadBalancerPolicy"> 5242 LoadBalancerPolicy 5243 </a> 5244 </em> 5245 </td> 5246 <td> 5247 <em>(Optional)</em> 5248 <p>The policy for load balancing GRPC service requests. Note that the 5249 <code>Cookie</code> and <code>RequestHash</code> load balancing strategies cannot be used 5250 here.</p> 5251 </td> 5252 </tr> 5253 <tr> 5254 <td style="white-space:nowrap"> 5255 <code>timeoutPolicy</code> 5256 <br> 5257 <em> 5258 <a href="#projectcontour.io/v1.TimeoutPolicy"> 5259 TimeoutPolicy 5260 </a> 5261 </em> 5262 </td> 5263 <td> 5264 <em>(Optional)</em> 5265 <p>The timeout policy for requests to the services.</p> 5266 </td> 5267 </tr> 5268 <tr> 5269 <td style="white-space:nowrap"> 5270 <code>protocolVersion</code> 5271 <br> 5272 <em> 5273 <a href="#projectcontour.io/v1alpha1.ExtensionProtocolVersion"> 5274 ExtensionProtocolVersion 5275 </a> 5276 </em> 5277 </td> 5278 <td> 5279 <em>(Optional)</em> 5280 <p>This field sets the version of the GRPC protocol that Envoy uses to 5281 send requests to the extension service. Since Contour always uses the 5282 v3 Envoy API, this is currently fixed at “v3”. However, other 5283 protocol options will be available in future.</p> 5284 </td> 5285 </tr> 5286 </table> 5287 </td> 5288 </tr> 5289 <tr> 5290 <td style="white-space:nowrap"> 5291 <code>status</code> 5292 <br> 5293 <em> 5294 <a href="#projectcontour.io/v1alpha1.ExtensionServiceStatus"> 5295 ExtensionServiceStatus 5296 </a> 5297 </em> 5298 </td> 5299 <td> 5300 </td> 5301 </tr> 5302 </tbody> 5303 </table> 5304 <h3 id="projectcontour.io/v1alpha1.AccessLogFormatString">AccessLogFormatString 5305 (<code>string</code> alias)</p></h3> 5306 <p> 5307 </p> 5308 <h3 id="projectcontour.io/v1alpha1.AccessLogJSONFields">AccessLogJSONFields 5309 (<code>[]string</code> alias)</p></h3> 5310 <p> 5311 (<em>Appears on:</em> 5312 <a href="#projectcontour.io/v1alpha1.EnvoyLogging">EnvoyLogging</a>) 5313 </p> 5314 <p> 5315 </p> 5316 <h3 id="projectcontour.io/v1alpha1.AccessLogLevel">AccessLogLevel 5317 (<code>string</code> alias)</p></h3> 5318 <p> 5319 (<em>Appears on:</em> 5320 <a href="#projectcontour.io/v1alpha1.EnvoyLogging">EnvoyLogging</a>) 5321 </p> 5322 <p> 5323 </p> 5324 <table> 5325 <thead> 5326 <tr> 5327 <th>Value</th> 5328 <th>Description</th> 5329 </tr> 5330 </thead> 5331 <tbody><tr><td><p>"disabled"</p></td> 5332 <td><p>Disable the access log.</p> 5333 </td> 5334 </tr><tr><td><p>"error"</p></td> 5335 <td><p>Log only requests that result in an error.</p> 5336 </td> 5337 </tr><tr><td><p>"info"</p></td> 5338 <td><p>Log all requests. This is the default.</p> 5339 </td> 5340 </tr></tbody> 5341 </table> 5342 <h3 id="projectcontour.io/v1alpha1.AccessLogType">AccessLogType 5343 (<code>string</code> alias)</p></h3> 5344 <p> 5345 (<em>Appears on:</em> 5346 <a href="#projectcontour.io/v1alpha1.EnvoyLogging">EnvoyLogging</a>) 5347 </p> 5348 <p> 5349 <p>AccessLogType is the name of a supported access logging mechanism.</p> 5350 </p> 5351 <table> 5352 <thead> 5353 <tr> 5354 <th>Value</th> 5355 <th>Description</th> 5356 </tr> 5357 </thead> 5358 <tbody><tr><td><p>"envoy"</p></td> 5359 <td><p>DefaultAccessLogType is the default access log format.</p> 5360 </td> 5361 </tr><tr><td><p>"envoy"</p></td> 5362 <td><p>Set the Envoy access logging to Envoy’s standard format. 5363 Can be customized using <code>accessLogFormatString</code>.</p> 5364 </td> 5365 </tr><tr><td><p>"json"</p></td> 5366 <td><p>Set the Envoy access logging to a JSON format. 5367 Can be customized using <code>jsonFields</code>.</p> 5368 </td> 5369 </tr></tbody> 5370 </table> 5371 <h3 id="projectcontour.io/v1alpha1.ClusterDNSFamilyType">ClusterDNSFamilyType 5372 (<code>string</code> alias)</p></h3> 5373 <p> 5374 (<em>Appears on:</em> 5375 <a href="#projectcontour.io/v1alpha1.ClusterParameters">ClusterParameters</a>) 5376 </p> 5377 <p> 5378 <p>ClusterDNSFamilyType is the Ip family to use for resolving DNS 5379 names in an Envoy cluster config.</p> 5380 </p> 5381 <table> 5382 <thead> 5383 <tr> 5384 <th>Value</th> 5385 <th>Description</th> 5386 </tr> 5387 </thead> 5388 <tbody><tr><td><p>"all"</p></td> 5389 <td><p>DNS lookups will attempt both v4 and v6 queries.</p> 5390 </td> 5391 </tr><tr><td><p>"auto"</p></td> 5392 <td><p>DNS lookups will do a v6 lookup first, followed by a v4 if that fails.</p> 5393 </td> 5394 </tr><tr><td><p>"v4"</p></td> 5395 <td><p>DNS lookups will only attempt v4 queries.</p> 5396 </td> 5397 </tr><tr><td><p>"v6"</p></td> 5398 <td><p>DNS lookups will only attempt v6 queries.</p> 5399 </td> 5400 </tr></tbody> 5401 </table> 5402 <h3 id="projectcontour.io/v1alpha1.ClusterParameters">ClusterParameters 5403 </h3> 5404 <p> 5405 (<em>Appears on:</em> 5406 <a href="#projectcontour.io/v1alpha1.EnvoyConfig">EnvoyConfig</a>) 5407 </p> 5408 <p> 5409 <p>ClusterParameters holds various configurable cluster values.</p> 5410 </p> 5411 <table> 5412 <thead> 5413 <tr> 5414 <th>Field</th> 5415 <th>Description</th> 5416 </tr> 5417 </thead> 5418 <tbody> 5419 <tr> 5420 <td style="white-space:nowrap"> 5421 <code>dnsLookupFamily</code> 5422 <br> 5423 <em> 5424 <a href="#projectcontour.io/v1alpha1.ClusterDNSFamilyType"> 5425 ClusterDNSFamilyType 5426 </a> 5427 </em> 5428 </td> 5429 <td> 5430 <em>(Optional)</em> 5431 <p>DNSLookupFamily defines how external names are looked up 5432 When configured as V4, the DNS resolver will only perform a lookup 5433 for addresses in the IPv4 family. If V6 is configured, the DNS resolver 5434 will only perform a lookup for addresses in the IPv6 family. 5435 If AUTO is configured, the DNS resolver will first perform a lookup 5436 for addresses in the IPv6 family and fallback to a lookup for addresses 5437 in the IPv4 family. If ALL is specified, the DNS resolver will perform a lookup for 5438 both IPv4 and IPv6 families, and return all resolved addresses. 5439 When this is used, Happy Eyeballs will be enabled for upstream connections. 5440 Refer to Happy Eyeballs Support for more information. 5441 Note: This only applies to externalName clusters.</p> 5442 <p>See <a href="https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/cluster/v3/cluster.proto.html#envoy-v3-api-enum-config-cluster-v3-cluster-dnslookupfamily">https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/cluster/v3/cluster.proto.html#envoy-v3-api-enum-config-cluster-v3-cluster-dnslookupfamily</a> 5443 for more information.</p> 5444 <p>Values: <code>auto</code> (default), <code>v4</code>, <code>v6</code>, <code>all</code>.</p> 5445 <p>Other values will produce an error.</p> 5446 </td> 5447 </tr> 5448 </tbody> 5449 </table> 5450 <h3 id="projectcontour.io/v1alpha1.ContourConfigurationSpec">ContourConfigurationSpec 5451 </h3> 5452 <p> 5453 (<em>Appears on:</em> 5454 <a href="#projectcontour.io/v1alpha1.ContourConfiguration">ContourConfiguration</a>, 5455 <a href="#projectcontour.io/v1alpha1.ContourDeploymentSpec">ContourDeploymentSpec</a>) 5456 </p> 5457 <p> 5458 <p>ContourConfigurationSpec represents a configuration of a Contour controller. 5459 It contains most of all the options that can be customized, the 5460 other remaining options being command line flags.</p> 5461 </p> 5462 <table> 5463 <thead> 5464 <tr> 5465 <th>Field</th> 5466 <th>Description</th> 5467 </tr> 5468 </thead> 5469 <tbody> 5470 <tr> 5471 <td style="white-space:nowrap"> 5472 <code>xdsServer</code> 5473 <br> 5474 <em> 5475 <a href="#projectcontour.io/v1alpha1.XDSServerConfig"> 5476 XDSServerConfig 5477 </a> 5478 </em> 5479 </td> 5480 <td> 5481 <em>(Optional)</em> 5482 <p>XDSServer contains parameters for the xDS server.</p> 5483 </td> 5484 </tr> 5485 <tr> 5486 <td style="white-space:nowrap"> 5487 <code>ingress</code> 5488 <br> 5489 <em> 5490 <a href="#projectcontour.io/v1alpha1.IngressConfig"> 5491 IngressConfig 5492 </a> 5493 </em> 5494 </td> 5495 <td> 5496 <em>(Optional)</em> 5497 <p>Ingress contains parameters for ingress options.</p> 5498 </td> 5499 </tr> 5500 <tr> 5501 <td style="white-space:nowrap"> 5502 <code>debug</code> 5503 <br> 5504 <em> 5505 <a href="#projectcontour.io/v1alpha1.DebugConfig"> 5506 DebugConfig 5507 </a> 5508 </em> 5509 </td> 5510 <td> 5511 <em>(Optional)</em> 5512 <p>Debug contains parameters to enable debug logging 5513 and debug interfaces inside Contour.</p> 5514 </td> 5515 </tr> 5516 <tr> 5517 <td style="white-space:nowrap"> 5518 <code>health</code> 5519 <br> 5520 <em> 5521 <a href="#projectcontour.io/v1alpha1.HealthConfig"> 5522 HealthConfig 5523 </a> 5524 </em> 5525 </td> 5526 <td> 5527 <em>(Optional)</em> 5528 <p>Health defines the endpoints Contour uses to serve health checks.</p> 5529 <p>Contour’s default is { address: “0.0.0.0”, port: 8000 }.</p> 5530 </td> 5531 </tr> 5532 <tr> 5533 <td style="white-space:nowrap"> 5534 <code>envoy</code> 5535 <br> 5536 <em> 5537 <a href="#projectcontour.io/v1alpha1.EnvoyConfig"> 5538 EnvoyConfig 5539 </a> 5540 </em> 5541 </td> 5542 <td> 5543 <em>(Optional)</em> 5544 <p>Envoy contains parameters for Envoy as well 5545 as how to optionally configure a managed Envoy fleet.</p> 5546 </td> 5547 </tr> 5548 <tr> 5549 <td style="white-space:nowrap"> 5550 <code>gateway</code> 5551 <br> 5552 <em> 5553 <a href="#projectcontour.io/v1alpha1.GatewayConfig"> 5554 GatewayConfig 5555 </a> 5556 </em> 5557 </td> 5558 <td> 5559 <em>(Optional)</em> 5560 <p>Gateway contains parameters for the gateway-api Gateway that Contour 5561 is configured to serve traffic.</p> 5562 </td> 5563 </tr> 5564 <tr> 5565 <td style="white-space:nowrap"> 5566 <code>httpproxy</code> 5567 <br> 5568 <em> 5569 <a href="#projectcontour.io/v1alpha1.HTTPProxyConfig"> 5570 HTTPProxyConfig 5571 </a> 5572 </em> 5573 </td> 5574 <td> 5575 <em>(Optional)</em> 5576 <p>HTTPProxy defines parameters on HTTPProxy.</p> 5577 </td> 5578 </tr> 5579 <tr> 5580 <td style="white-space:nowrap"> 5581 <code>enableExternalNameService</code> 5582 <br> 5583 <em> 5584 bool 5585 </em> 5586 </td> 5587 <td> 5588 <em>(Optional)</em> 5589 <p>EnableExternalNameService allows processing of ExternalNameServices</p> 5590 <p>Contour’s default is false for security reasons.</p> 5591 </td> 5592 </tr> 5593 <tr> 5594 <td style="white-space:nowrap"> 5595 <code>globalExtAuth</code> 5596 <br> 5597 <em> 5598 <a href="#projectcontour.io/v1.AuthorizationServer"> 5599 AuthorizationServer 5600 </a> 5601 </em> 5602 </td> 5603 <td> 5604 <em>(Optional)</em> 5605 <p>GlobalExternalAuthorization allows envoys external authorization filter 5606 to be enabled for all virtual hosts.</p> 5607 </td> 5608 </tr> 5609 <tr> 5610 <td style="white-space:nowrap"> 5611 <code>rateLimitService</code> 5612 <br> 5613 <em> 5614 <a href="#projectcontour.io/v1alpha1.RateLimitServiceConfig"> 5615 RateLimitServiceConfig 5616 </a> 5617 </em> 5618 </td> 5619 <td> 5620 <em>(Optional)</em> 5621 <p>RateLimitService optionally holds properties of the Rate Limit Service 5622 to be used for global rate limiting.</p> 5623 </td> 5624 </tr> 5625 <tr> 5626 <td style="white-space:nowrap"> 5627 <code>policy</code> 5628 <br> 5629 <em> 5630 <a href="#projectcontour.io/v1alpha1.PolicyConfig"> 5631 PolicyConfig 5632 </a> 5633 </em> 5634 </td> 5635 <td> 5636 <em>(Optional)</em> 5637 <p>Policy specifies default policy applied if not overridden by the user</p> 5638 </td> 5639 </tr> 5640 <tr> 5641 <td style="white-space:nowrap"> 5642 <code>metrics</code> 5643 <br> 5644 <em> 5645 <a href="#projectcontour.io/v1alpha1.MetricsConfig"> 5646 MetricsConfig 5647 </a> 5648 </em> 5649 </td> 5650 <td> 5651 <em>(Optional)</em> 5652 <p>Metrics defines the endpoint Contour uses to serve metrics.</p> 5653 <p>Contour’s default is { address: “0.0.0.0”, port: 8000 }.</p> 5654 </td> 5655 </tr> 5656 <tr> 5657 <td style="white-space:nowrap"> 5658 <code>tracing</code> 5659 <br> 5660 <em> 5661 <a href="#projectcontour.io/v1alpha1.TracingConfig"> 5662 TracingConfig 5663 </a> 5664 </em> 5665 </td> 5666 <td> 5667 <p>Tracing defines properties for exporting trace data to OpenTelemetry.</p> 5668 </td> 5669 </tr> 5670 </tbody> 5671 </table> 5672 <h3 id="projectcontour.io/v1alpha1.ContourConfigurationStatus">ContourConfigurationStatus 5673 </h3> 5674 <p> 5675 (<em>Appears on:</em> 5676 <a href="#projectcontour.io/v1alpha1.ContourConfiguration">ContourConfiguration</a>) 5677 </p> 5678 <p> 5679 <p>ContourConfigurationStatus defines the observed state of a ContourConfiguration resource.</p> 5680 </p> 5681 <table> 5682 <thead> 5683 <tr> 5684 <th>Field</th> 5685 <th>Description</th> 5686 </tr> 5687 </thead> 5688 <tbody> 5689 <tr> 5690 <td style="white-space:nowrap"> 5691 <code>conditions</code> 5692 <br> 5693 <em> 5694 <a href="#projectcontour.io/v1.DetailedCondition"> 5695 []DetailedCondition 5696 </a> 5697 </em> 5698 </td> 5699 <td> 5700 <em>(Optional)</em> 5701 <p>Conditions contains the current status of the Contour resource.</p> 5702 <p>Contour will update a single condition, <code>Valid</code>, that is in normal-true polarity.</p> 5703 <p>Contour will not modify any other Conditions set in this block, 5704 in case some other controller wants to add a Condition.</p> 5705 </td> 5706 </tr> 5707 </tbody> 5708 </table> 5709 <h3 id="projectcontour.io/v1alpha1.ContourDeploymentSpec">ContourDeploymentSpec 5710 </h3> 5711 <p> 5712 (<em>Appears on:</em> 5713 <a href="#projectcontour.io/v1alpha1.ContourDeployment">ContourDeployment</a>) 5714 </p> 5715 <p> 5716 <p>ContourDeploymentSpec specifies options for how a Contour 5717 instance should be provisioned.</p> 5718 </p> 5719 <table> 5720 <thead> 5721 <tr> 5722 <th>Field</th> 5723 <th>Description</th> 5724 </tr> 5725 </thead> 5726 <tbody> 5727 <tr> 5728 <td style="white-space:nowrap"> 5729 <code>contour</code> 5730 <br> 5731 <em> 5732 <a href="#projectcontour.io/v1alpha1.ContourSettings"> 5733 ContourSettings 5734 </a> 5735 </em> 5736 </td> 5737 <td> 5738 <em>(Optional)</em> 5739 <p>Contour specifies deployment-time settings for the Contour 5740 part of the installation, i.e. the xDS server/control plane 5741 and associated resources, including things like replica count 5742 for the Deployment, and node placement constraints for the pods.</p> 5743 </td> 5744 </tr> 5745 <tr> 5746 <td style="white-space:nowrap"> 5747 <code>envoy</code> 5748 <br> 5749 <em> 5750 <a href="#projectcontour.io/v1alpha1.EnvoySettings"> 5751 EnvoySettings 5752 </a> 5753 </em> 5754 </td> 5755 <td> 5756 <em>(Optional)</em> 5757 <p>Envoy specifies deployment-time settings for the Envoy 5758 part of the installation, i.e. the xDS client/data plane 5759 and associated resources, including things like the workload 5760 type to use (DaemonSet or Deployment), node placement constraints 5761 for the pods, and various options for the Envoy service.</p> 5762 </td> 5763 </tr> 5764 <tr> 5765 <td style="white-space:nowrap"> 5766 <code>runtimeSettings</code> 5767 <br> 5768 <em> 5769 <a href="#projectcontour.io/v1alpha1.ContourConfigurationSpec"> 5770 ContourConfigurationSpec 5771 </a> 5772 </em> 5773 </td> 5774 <td> 5775 <em>(Optional)</em> 5776 <p>RuntimeSettings is a ContourConfiguration spec to be used when 5777 provisioning a Contour instance that will influence aspects of 5778 the Contour instance’s runtime behavior.</p> 5779 </td> 5780 </tr> 5781 <tr> 5782 <td style="white-space:nowrap"> 5783 <code>resourceLabels</code> 5784 <br> 5785 <em> 5786 map[string]string 5787 </em> 5788 </td> 5789 <td> 5790 <em>(Optional)</em> 5791 <p>ResourceLabels is a set of labels to add to the provisioned Contour resources.</p> 5792 </td> 5793 </tr> 5794 </tbody> 5795 </table> 5796 <h3 id="projectcontour.io/v1alpha1.ContourDeploymentStatus">ContourDeploymentStatus 5797 </h3> 5798 <p> 5799 (<em>Appears on:</em> 5800 <a href="#projectcontour.io/v1alpha1.ContourDeployment">ContourDeployment</a>) 5801 </p> 5802 <p> 5803 <p>ContourDeploymentStatus defines the observed state of a ContourDeployment resource.</p> 5804 </p> 5805 <table> 5806 <thead> 5807 <tr> 5808 <th>Field</th> 5809 <th>Description</th> 5810 </tr> 5811 </thead> 5812 <tbody> 5813 <tr> 5814 <td style="white-space:nowrap"> 5815 <code>conditions</code> 5816 <br> 5817 <em> 5818 <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#condition-v1-meta"> 5819 []Kubernetes meta/v1.Condition 5820 </a> 5821 </em> 5822 </td> 5823 <td> 5824 <em>(Optional)</em> 5825 <p>Conditions describe the current conditions of the ContourDeployment resource.</p> 5826 </td> 5827 </tr> 5828 </tbody> 5829 </table> 5830 <h3 id="projectcontour.io/v1alpha1.ContourSettings">ContourSettings 5831 </h3> 5832 <p> 5833 (<em>Appears on:</em> 5834 <a href="#projectcontour.io/v1alpha1.ContourDeploymentSpec">ContourDeploymentSpec</a>) 5835 </p> 5836 <p> 5837 <p>ContourSettings contains settings for the Contour part of the installation, 5838 i.e. the xDS server/control plane and associated resources.</p> 5839 </p> 5840 <table> 5841 <thead> 5842 <tr> 5843 <th>Field</th> 5844 <th>Description</th> 5845 </tr> 5846 </thead> 5847 <tbody> 5848 <tr> 5849 <td style="white-space:nowrap"> 5850 <code>replicas</code> 5851 <br> 5852 <em> 5853 int32 5854 </em> 5855 </td> 5856 <td> 5857 <em>(Optional)</em> 5858 <p>Deprecated: Use <code>DeploymentSettings.Replicas</code> instead.</p> 5859 <p>Replicas is the desired number of Contour replicas. If if unset, 5860 defaults to 2.</p> 5861 <p>if both <code>DeploymentSettings.Replicas</code> and this one is set, use <code>DeploymentSettings.Replicas</code>.</p> 5862 </td> 5863 </tr> 5864 <tr> 5865 <td style="white-space:nowrap"> 5866 <code>nodePlacement</code> 5867 <br> 5868 <em> 5869 <a href="#projectcontour.io/v1alpha1.NodePlacement"> 5870 NodePlacement 5871 </a> 5872 </em> 5873 </td> 5874 <td> 5875 <em>(Optional)</em> 5876 <p>NodePlacement describes node scheduling configuration of Contour pods.</p> 5877 </td> 5878 </tr> 5879 <tr> 5880 <td style="white-space:nowrap"> 5881 <code>kubernetesLogLevel</code> 5882 <br> 5883 <em> 5884 byte 5885 </em> 5886 </td> 5887 <td> 5888 <em>(Optional)</em> 5889 <p>KubernetesLogLevel Enable Kubernetes client debug logging with log level. If unset, 5890 defaults to 0.</p> 5891 </td> 5892 </tr> 5893 <tr> 5894 <td style="white-space:nowrap"> 5895 <code>logLevel</code> 5896 <br> 5897 <em> 5898 <a href="#projectcontour.io/v1alpha1.LogLevel"> 5899 LogLevel 5900 </a> 5901 </em> 5902 </td> 5903 <td> 5904 <em>(Optional)</em> 5905 <p>LogLevel sets the log level for Contour 5906 Allowed values are “info”, “debug”.</p> 5907 </td> 5908 </tr> 5909 <tr> 5910 <td style="white-space:nowrap"> 5911 <code>resources</code> 5912 <br> 5913 <em> 5914 <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#resourcerequirements-v1-core"> 5915 Kubernetes core/v1.ResourceRequirements 5916 </a> 5917 </em> 5918 </td> 5919 <td> 5920 <em>(Optional)</em> 5921 <p>Compute Resources required by contour container. 5922 Cannot be updated. 5923 More info: <a href="https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/">https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/</a></p> 5924 </td> 5925 </tr> 5926 <tr> 5927 <td style="white-space:nowrap"> 5928 <code>deployment</code> 5929 <br> 5930 <em> 5931 <a href="#projectcontour.io/v1alpha1.DeploymentSettings"> 5932 DeploymentSettings 5933 </a> 5934 </em> 5935 </td> 5936 <td> 5937 <em>(Optional)</em> 5938 <p>Deployment describes the settings for running contour as a <code>Deployment</code>.</p> 5939 </td> 5940 </tr> 5941 </tbody> 5942 </table> 5943 <h3 id="projectcontour.io/v1alpha1.CustomTag">CustomTag 5944 </h3> 5945 <p> 5946 <p>CustomTag defines custom tags with unique tag name 5947 to create tags for the active span.</p> 5948 </p> 5949 <table> 5950 <thead> 5951 <tr> 5952 <th>Field</th> 5953 <th>Description</th> 5954 </tr> 5955 </thead> 5956 <tbody> 5957 <tr> 5958 <td style="white-space:nowrap"> 5959 <code>tagName</code> 5960 <br> 5961 <em> 5962 string 5963 </em> 5964 </td> 5965 <td> 5966 <p>TagName is the unique name of the custom tag.</p> 5967 </td> 5968 </tr> 5969 <tr> 5970 <td style="white-space:nowrap"> 5971 <code>literal</code> 5972 <br> 5973 <em> 5974 string 5975 </em> 5976 </td> 5977 <td> 5978 <em>(Optional)</em> 5979 <p>Literal is a static custom tag value. 5980 Precisely one of Literal, RequestHeaderName must be set.</p> 5981 </td> 5982 </tr> 5983 <tr> 5984 <td style="white-space:nowrap"> 5985 <code>requestHeaderName</code> 5986 <br> 5987 <em> 5988 string 5989 </em> 5990 </td> 5991 <td> 5992 <em>(Optional)</em> 5993 <p>RequestHeaderName indicates which request header 5994 the label value is obtained from. 5995 Precisely one of Literal, RequestHeaderName must be set.</p> 5996 </td> 5997 </tr> 5998 </tbody> 5999 </table> 6000 <h3 id="projectcontour.io/v1alpha1.DaemonSetSettings">DaemonSetSettings 6001 </h3> 6002 <p> 6003 (<em>Appears on:</em> 6004 <a href="#projectcontour.io/v1alpha1.EnvoySettings">EnvoySettings</a>) 6005 </p> 6006 <p> 6007 <p>DaemonSetSettings contains settings for DaemonSet resources.</p> 6008 </p> 6009 <table> 6010 <thead> 6011 <tr> 6012 <th>Field</th> 6013 <th>Description</th> 6014 </tr> 6015 </thead> 6016 <tbody> 6017 <tr> 6018 <td style="white-space:nowrap"> 6019 <code>updateStrategy</code> 6020 <br> 6021 <em> 6022 <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#daemonsetupdatestrategy-v1-apps"> 6023 Kubernetes apps/v1.DaemonSetUpdateStrategy 6024 </a> 6025 </em> 6026 </td> 6027 <td> 6028 <em>(Optional)</em> 6029 <p>Strategy describes the deployment strategy to use to replace existing DaemonSet pods with new pods.</p> 6030 </td> 6031 </tr> 6032 </tbody> 6033 </table> 6034 <h3 id="projectcontour.io/v1alpha1.DebugConfig">DebugConfig 6035 </h3> 6036 <p> 6037 (<em>Appears on:</em> 6038 <a href="#projectcontour.io/v1alpha1.ContourConfigurationSpec">ContourConfigurationSpec</a>) 6039 </p> 6040 <p> 6041 <p>DebugConfig contains Contour specific troubleshooting options.</p> 6042 </p> 6043 <table> 6044 <thead> 6045 <tr> 6046 <th>Field</th> 6047 <th>Description</th> 6048 </tr> 6049 </thead> 6050 <tbody> 6051 <tr> 6052 <td style="white-space:nowrap"> 6053 <code>address</code> 6054 <br> 6055 <em> 6056 string 6057 </em> 6058 </td> 6059 <td> 6060 <em>(Optional)</em> 6061 <p>Defines the Contour debug address interface.</p> 6062 <p>Contour’s default is “127.0.0.1”.</p> 6063 </td> 6064 </tr> 6065 <tr> 6066 <td style="white-space:nowrap"> 6067 <code>port</code> 6068 <br> 6069 <em> 6070 int 6071 </em> 6072 </td> 6073 <td> 6074 <em>(Optional)</em> 6075 <p>Defines the Contour debug address port.</p> 6076 <p>Contour’s default is 6060.</p> 6077 </td> 6078 </tr> 6079 </tbody> 6080 </table> 6081 <h3 id="projectcontour.io/v1alpha1.DeploymentSettings">DeploymentSettings 6082 </h3> 6083 <p> 6084 (<em>Appears on:</em> 6085 <a href="#projectcontour.io/v1alpha1.ContourSettings">ContourSettings</a>, 6086 <a href="#projectcontour.io/v1alpha1.EnvoySettings">EnvoySettings</a>) 6087 </p> 6088 <p> 6089 <p>DeploymentSettings contains settings for Deployment resources.</p> 6090 </p> 6091 <table> 6092 <thead> 6093 <tr> 6094 <th>Field</th> 6095 <th>Description</th> 6096 </tr> 6097 </thead> 6098 <tbody> 6099 <tr> 6100 <td style="white-space:nowrap"> 6101 <code>replicas</code> 6102 <br> 6103 <em> 6104 int32 6105 </em> 6106 </td> 6107 <td> 6108 <p>Replicas is the desired number of replicas.</p> 6109 </td> 6110 </tr> 6111 <tr> 6112 <td style="white-space:nowrap"> 6113 <code>strategy</code> 6114 <br> 6115 <em> 6116 <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#deploymentstrategy-v1-apps"> 6117 Kubernetes apps/v1.DeploymentStrategy 6118 </a> 6119 </em> 6120 </td> 6121 <td> 6122 <em>(Optional)</em> 6123 <p>Strategy describes the deployment strategy to use to replace existing pods with new pods.</p> 6124 </td> 6125 </tr> 6126 </tbody> 6127 </table> 6128 <h3 id="projectcontour.io/v1alpha1.EnvoyConfig">EnvoyConfig 6129 </h3> 6130 <p> 6131 (<em>Appears on:</em> 6132 <a href="#projectcontour.io/v1alpha1.ContourConfigurationSpec">ContourConfigurationSpec</a>) 6133 </p> 6134 <p> 6135 <p>EnvoyConfig defines how Envoy is to be Configured from Contour.</p> 6136 </p> 6137 <table> 6138 <thead> 6139 <tr> 6140 <th>Field</th> 6141 <th>Description</th> 6142 </tr> 6143 </thead> 6144 <tbody> 6145 <tr> 6146 <td style="white-space:nowrap"> 6147 <code>listener</code> 6148 <br> 6149 <em> 6150 <a href="#projectcontour.io/v1alpha1.EnvoyListenerConfig"> 6151 EnvoyListenerConfig 6152 </a> 6153 </em> 6154 </td> 6155 <td> 6156 <em>(Optional)</em> 6157 <p>Listener hold various configurable Envoy listener values.</p> 6158 </td> 6159 </tr> 6160 <tr> 6161 <td style="white-space:nowrap"> 6162 <code>service</code> 6163 <br> 6164 <em> 6165 <a href="#projectcontour.io/v1alpha1.NamespacedName"> 6166 NamespacedName 6167 </a> 6168 </em> 6169 </td> 6170 <td> 6171 <em>(Optional)</em> 6172 <p>Service holds Envoy service parameters for setting Ingress status.</p> 6173 <p>Contour’s default is { namespace: “projectcontour”, name: “envoy” }.</p> 6174 </td> 6175 </tr> 6176 <tr> 6177 <td style="white-space:nowrap"> 6178 <code>http</code> 6179 <br> 6180 <em> 6181 <a href="#projectcontour.io/v1alpha1.EnvoyListener"> 6182 EnvoyListener 6183 </a> 6184 </em> 6185 </td> 6186 <td> 6187 <em>(Optional)</em> 6188 <p>Defines the HTTP Listener for Envoy.</p> 6189 <p>Contour’s default is { address: “0.0.0.0”, port: 8080, accessLog: “/dev/stdout” }.</p> 6190 </td> 6191 </tr> 6192 <tr> 6193 <td style="white-space:nowrap"> 6194 <code>https</code> 6195 <br> 6196 <em> 6197 <a href="#projectcontour.io/v1alpha1.EnvoyListener"> 6198 EnvoyListener 6199 </a> 6200 </em> 6201 </td> 6202 <td> 6203 <em>(Optional)</em> 6204 <p>Defines the HTTPS Listener for Envoy.</p> 6205 <p>Contour’s default is { address: “0.0.0.0”, port: 8443, accessLog: “/dev/stdout” }.</p> 6206 </td> 6207 </tr> 6208 <tr> 6209 <td style="white-space:nowrap"> 6210 <code>health</code> 6211 <br> 6212 <em> 6213 <a href="#projectcontour.io/v1alpha1.HealthConfig"> 6214 HealthConfig 6215 </a> 6216 </em> 6217 </td> 6218 <td> 6219 <em>(Optional)</em> 6220 <p>Health defines the endpoint Envoy uses to serve health checks.</p> 6221 <p>Contour’s default is { address: “0.0.0.0”, port: 8002 }.</p> 6222 </td> 6223 </tr> 6224 <tr> 6225 <td style="white-space:nowrap"> 6226 <code>metrics</code> 6227 <br> 6228 <em> 6229 <a href="#projectcontour.io/v1alpha1.MetricsConfig"> 6230 MetricsConfig 6231 </a> 6232 </em> 6233 </td> 6234 <td> 6235 <em>(Optional)</em> 6236 <p>Metrics defines the endpoint Envoy uses to serve metrics.</p> 6237 <p>Contour’s default is { address: “0.0.0.0”, port: 8002 }.</p> 6238 </td> 6239 </tr> 6240 <tr> 6241 <td style="white-space:nowrap"> 6242 <code>clientCertificate</code> 6243 <br> 6244 <em> 6245 <a href="#projectcontour.io/v1alpha1.NamespacedName"> 6246 NamespacedName 6247 </a> 6248 </em> 6249 </td> 6250 <td> 6251 <em>(Optional)</em> 6252 <p>ClientCertificate defines the namespace/name of the Kubernetes 6253 secret containing the client certificate and private key 6254 to be used when establishing TLS connection to upstream 6255 cluster.</p> 6256 </td> 6257 </tr> 6258 <tr> 6259 <td style="white-space:nowrap"> 6260 <code>logging</code> 6261 <br> 6262 <em> 6263 <a href="#projectcontour.io/v1alpha1.EnvoyLogging"> 6264 EnvoyLogging 6265 </a> 6266 </em> 6267 </td> 6268 <td> 6269 <em>(Optional)</em> 6270 <p>Logging defines how Envoy’s logs can be configured.</p> 6271 </td> 6272 </tr> 6273 <tr> 6274 <td style="white-space:nowrap"> 6275 <code>defaultHTTPVersions</code> 6276 <br> 6277 <em> 6278 <a href="#projectcontour.io/v1alpha1.HTTPVersionType"> 6279 []HTTPVersionType 6280 </a> 6281 </em> 6282 </td> 6283 <td> 6284 <em>(Optional)</em> 6285 <p>DefaultHTTPVersions defines the default set of HTTPS 6286 versions the proxy should accept. HTTP versions are 6287 strings of the form “HTTP/xx”. Supported versions are 6288 “HTTP/1.1” and “HTTP/2”.</p> 6289 <p>Values: <code>HTTP/1.1</code>, <code>HTTP/2</code> (default: both).</p> 6290 <p>Other values will produce an error.</p> 6291 </td> 6292 </tr> 6293 <tr> 6294 <td style="white-space:nowrap"> 6295 <code>timeouts</code> 6296 <br> 6297 <em> 6298 <a href="#projectcontour.io/v1alpha1.TimeoutParameters"> 6299 TimeoutParameters 6300 </a> 6301 </em> 6302 </td> 6303 <td> 6304 <em>(Optional)</em> 6305 <p>Timeouts holds various configurable timeouts that can 6306 be set in the config file.</p> 6307 </td> 6308 </tr> 6309 <tr> 6310 <td style="white-space:nowrap"> 6311 <code>cluster</code> 6312 <br> 6313 <em> 6314 <a href="#projectcontour.io/v1alpha1.ClusterParameters"> 6315 ClusterParameters 6316 </a> 6317 </em> 6318 </td> 6319 <td> 6320 <em>(Optional)</em> 6321 <p>Cluster holds various configurable Envoy cluster values that can 6322 be set in the config file.</p> 6323 </td> 6324 </tr> 6325 <tr> 6326 <td style="white-space:nowrap"> 6327 <code>network</code> 6328 <br> 6329 <em> 6330 <a href="#projectcontour.io/v1alpha1.NetworkParameters"> 6331 NetworkParameters 6332 </a> 6333 </em> 6334 </td> 6335 <td> 6336 <em>(Optional)</em> 6337 <p>Network holds various configurable Envoy network values.</p> 6338 </td> 6339 </tr> 6340 </tbody> 6341 </table> 6342 <h3 id="projectcontour.io/v1alpha1.EnvoyListener">EnvoyListener 6343 </h3> 6344 <p> 6345 (<em>Appears on:</em> 6346 <a href="#projectcontour.io/v1alpha1.EnvoyConfig">EnvoyConfig</a>) 6347 </p> 6348 <p> 6349 <p>EnvoyListener defines parameters for an Envoy Listener.</p> 6350 </p> 6351 <table> 6352 <thead> 6353 <tr> 6354 <th>Field</th> 6355 <th>Description</th> 6356 </tr> 6357 </thead> 6358 <tbody> 6359 <tr> 6360 <td style="white-space:nowrap"> 6361 <code>address</code> 6362 <br> 6363 <em> 6364 string 6365 </em> 6366 </td> 6367 <td> 6368 <em>(Optional)</em> 6369 <p>Defines an Envoy Listener Address.</p> 6370 </td> 6371 </tr> 6372 <tr> 6373 <td style="white-space:nowrap"> 6374 <code>port</code> 6375 <br> 6376 <em> 6377 int 6378 </em> 6379 </td> 6380 <td> 6381 <em>(Optional)</em> 6382 <p>Defines an Envoy listener Port.</p> 6383 </td> 6384 </tr> 6385 <tr> 6386 <td style="white-space:nowrap"> 6387 <code>accessLog</code> 6388 <br> 6389 <em> 6390 string 6391 </em> 6392 </td> 6393 <td> 6394 <em>(Optional)</em> 6395 <p>AccessLog defines where Envoy logs are outputted for this listener.</p> 6396 </td> 6397 </tr> 6398 </tbody> 6399 </table> 6400 <h3 id="projectcontour.io/v1alpha1.EnvoyListenerConfig">EnvoyListenerConfig 6401 </h3> 6402 <p> 6403 (<em>Appears on:</em> 6404 <a href="#projectcontour.io/v1alpha1.EnvoyConfig">EnvoyConfig</a>) 6405 </p> 6406 <p> 6407 <p>EnvoyListenerConfig hold various configurable Envoy listener values.</p> 6408 </p> 6409 <table> 6410 <thead> 6411 <tr> 6412 <th>Field</th> 6413 <th>Description</th> 6414 </tr> 6415 </thead> 6416 <tbody> 6417 <tr> 6418 <td style="white-space:nowrap"> 6419 <code>useProxyProtocol</code> 6420 <br> 6421 <em> 6422 bool 6423 </em> 6424 </td> 6425 <td> 6426 <em>(Optional)</em> 6427 <p>Use PROXY protocol for all listeners.</p> 6428 <p>Contour’s default is false.</p> 6429 </td> 6430 </tr> 6431 <tr> 6432 <td style="white-space:nowrap"> 6433 <code>disableAllowChunkedLength</code> 6434 <br> 6435 <em> 6436 bool 6437 </em> 6438 </td> 6439 <td> 6440 <em>(Optional)</em> 6441 <p>DisableAllowChunkedLength disables the RFC-compliant Envoy behavior to 6442 strip the “Content-Length” header if “Transfer-Encoding: chunked” is 6443 also set. This is an emergency off-switch to revert back to Envoy’s 6444 default behavior in case of failures. Please file an issue if failures 6445 are encountered. 6446 See: <a href="https://github.com/projectcontour/contour/issues/3221">https://github.com/projectcontour/contour/issues/3221</a></p> 6447 <p>Contour’s default is false.</p> 6448 </td> 6449 </tr> 6450 <tr> 6451 <td style="white-space:nowrap"> 6452 <code>disableMergeSlashes</code> 6453 <br> 6454 <em> 6455 bool 6456 </em> 6457 </td> 6458 <td> 6459 <em>(Optional)</em> 6460 <p>DisableMergeSlashes disables Envoy’s non-standard merge_slashes path transformation option 6461 which strips duplicate slashes from request URL paths.</p> 6462 <p>Contour’s default is false.</p> 6463 </td> 6464 </tr> 6465 <tr> 6466 <td style="white-space:nowrap"> 6467 <code>serverHeaderTransformation</code> 6468 <br> 6469 <em> 6470 <a href="#projectcontour.io/v1alpha1.ServerHeaderTransformationType"> 6471 ServerHeaderTransformationType 6472 </a> 6473 </em> 6474 </td> 6475 <td> 6476 <em>(Optional)</em> 6477 <p>Defines the action to be applied to the Server header on the response path. 6478 When configured as overwrite, overwrites any Server header with “envoy”. 6479 When configured as append_if_absent, if a Server header is present, pass it through, otherwise set it to “envoy”. 6480 When configured as pass_through, pass through the value of the Server header, and do not append a header if none is present.</p> 6481 <p>Values: <code>overwrite</code> (default), <code>append_if_absent</code>, <code>pass_through</code></p> 6482 <p>Other values will produce an error. 6483 Contour’s default is overwrite.</p> 6484 </td> 6485 </tr> 6486 <tr> 6487 <td style="white-space:nowrap"> 6488 <code>connectionBalancer</code> 6489 <br> 6490 <em> 6491 string 6492 </em> 6493 </td> 6494 <td> 6495 <em>(Optional)</em> 6496 <p>ConnectionBalancer. If the value is exact, the listener will use the exact connection balancer 6497 See <a href="https://www.envoyproxy.io/docs/envoy/latest/api-v2/api/v2/listener.proto#envoy-api-msg-listener-connectionbalanceconfig">https://www.envoyproxy.io/docs/envoy/latest/api-v2/api/v2/listener.proto#envoy-api-msg-listener-connectionbalanceconfig</a> 6498 for more information.</p> 6499 <p>Values: (empty string): use the default ConnectionBalancer, <code>exact</code>: use the Exact ConnectionBalancer.</p> 6500 <p>Other values will produce an error.</p> 6501 </td> 6502 </tr> 6503 <tr> 6504 <td style="white-space:nowrap"> 6505 <code>tls</code> 6506 <br> 6507 <em> 6508 <a href="#projectcontour.io/v1alpha1.EnvoyTLS"> 6509 EnvoyTLS 6510 </a> 6511 </em> 6512 </td> 6513 <td> 6514 <em>(Optional)</em> 6515 <p>TLS holds various configurable Envoy TLS listener values.</p> 6516 </td> 6517 </tr> 6518 </tbody> 6519 </table> 6520 <h3 id="projectcontour.io/v1alpha1.EnvoyLogging">EnvoyLogging 6521 </h3> 6522 <p> 6523 (<em>Appears on:</em> 6524 <a href="#projectcontour.io/v1alpha1.EnvoyConfig">EnvoyConfig</a>) 6525 </p> 6526 <p> 6527 <p>EnvoyLogging defines how Envoy’s logs can be configured.</p> 6528 </p> 6529 <table> 6530 <thead> 6531 <tr> 6532 <th>Field</th> 6533 <th>Description</th> 6534 </tr> 6535 </thead> 6536 <tbody> 6537 <tr> 6538 <td style="white-space:nowrap"> 6539 <code>accessLogFormat</code> 6540 <br> 6541 <em> 6542 <a href="#projectcontour.io/v1alpha1.AccessLogType"> 6543 AccessLogType 6544 </a> 6545 </em> 6546 </td> 6547 <td> 6548 <em>(Optional)</em> 6549 <p>AccessLogFormat sets the global access log format.</p> 6550 <p>Values: <code>envoy</code> (default), <code>json</code>.</p> 6551 <p>Other values will produce an error.</p> 6552 </td> 6553 </tr> 6554 <tr> 6555 <td style="white-space:nowrap"> 6556 <code>accessLogFormatString</code> 6557 <br> 6558 <em> 6559 string 6560 </em> 6561 </td> 6562 <td> 6563 <em>(Optional)</em> 6564 <p>AccessLogFormatString sets the access log format when format is set to <code>envoy</code>. 6565 When empty, Envoy’s default format is used.</p> 6566 </td> 6567 </tr> 6568 <tr> 6569 <td style="white-space:nowrap"> 6570 <code>accessLogJSONFields</code> 6571 <br> 6572 <em> 6573 <a href="#projectcontour.io/v1alpha1.AccessLogJSONFields"> 6574 AccessLogJSONFields 6575 </a> 6576 </em> 6577 </td> 6578 <td> 6579 <em>(Optional)</em> 6580 <p>AccessLogJSONFields sets the fields that JSON logging will 6581 output when AccessLogFormat is json.</p> 6582 </td> 6583 </tr> 6584 <tr> 6585 <td style="white-space:nowrap"> 6586 <code>accessLogLevel</code> 6587 <br> 6588 <em> 6589 <a href="#projectcontour.io/v1alpha1.AccessLogLevel"> 6590 AccessLogLevel 6591 </a> 6592 </em> 6593 </td> 6594 <td> 6595 <em>(Optional)</em> 6596 <p>AccessLogLevel sets the verbosity level of the access log.</p> 6597 <p>Values: <code>info</code> (default, meaning all requests are logged), <code>error</code> and <code>disabled</code>.</p> 6598 <p>Other values will produce an error.</p> 6599 </td> 6600 </tr> 6601 </tbody> 6602 </table> 6603 <h3 id="projectcontour.io/v1alpha1.EnvoySettings">EnvoySettings 6604 </h3> 6605 <p> 6606 (<em>Appears on:</em> 6607 <a href="#projectcontour.io/v1alpha1.ContourDeploymentSpec">ContourDeploymentSpec</a>) 6608 </p> 6609 <p> 6610 <p>EnvoySettings contains settings for the Envoy part of the installation, 6611 i.e. the xDS client/data plane and associated resources.</p> 6612 </p> 6613 <table> 6614 <thead> 6615 <tr> 6616 <th>Field</th> 6617 <th>Description</th> 6618 </tr> 6619 </thead> 6620 <tbody> 6621 <tr> 6622 <td style="white-space:nowrap"> 6623 <code>workloadType</code> 6624 <br> 6625 <em> 6626 <a href="#projectcontour.io/v1alpha1.WorkloadType"> 6627 WorkloadType 6628 </a> 6629 </em> 6630 </td> 6631 <td> 6632 <em>(Optional)</em> 6633 <p>WorkloadType is the type of workload to install Envoy 6634 as. Choices are DaemonSet and Deployment. If unset, defaults 6635 to DaemonSet.</p> 6636 </td> 6637 </tr> 6638 <tr> 6639 <td style="white-space:nowrap"> 6640 <code>replicas</code> 6641 <br> 6642 <em> 6643 int32 6644 </em> 6645 </td> 6646 <td> 6647 <em>(Optional)</em> 6648 <p>Deprecated: Use <code>DeploymentSettings.Replicas</code> instead.</p> 6649 <p>Replicas is the desired number of Envoy replicas. If WorkloadType 6650 is not “Deployment”, this field is ignored. Otherwise, if unset, 6651 defaults to 2.</p> 6652 <p>if both <code>DeploymentSettings.Replicas</code> and this one is set, use <code>DeploymentSettings.Replicas</code>.</p> 6653 </td> 6654 </tr> 6655 <tr> 6656 <td style="white-space:nowrap"> 6657 <code>networkPublishing</code> 6658 <br> 6659 <em> 6660 <a href="#projectcontour.io/v1alpha1.NetworkPublishing"> 6661 NetworkPublishing 6662 </a> 6663 </em> 6664 </td> 6665 <td> 6666 <p>NetworkPublishing defines how to expose Envoy to a network.</p> 6667 </td> 6668 </tr> 6669 <tr> 6670 <td style="white-space:nowrap"> 6671 <code>nodePlacement</code> 6672 <br> 6673 <em> 6674 <a href="#projectcontour.io/v1alpha1.NodePlacement"> 6675 NodePlacement 6676 </a> 6677 </em> 6678 </td> 6679 <td> 6680 <em>(Optional)</em> 6681 <p>NodePlacement describes node scheduling configuration of Envoy pods.</p> 6682 </td> 6683 </tr> 6684 <tr> 6685 <td style="white-space:nowrap"> 6686 <code>extraVolumes</code> 6687 <br> 6688 <em> 6689 <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#volume-v1-core"> 6690 []Kubernetes core/v1.Volume 6691 </a> 6692 </em> 6693 </td> 6694 <td> 6695 <em>(Optional)</em> 6696 <p>ExtraVolumes holds the extra volumes to add.</p> 6697 </td> 6698 </tr> 6699 <tr> 6700 <td style="white-space:nowrap"> 6701 <code>extraVolumeMounts</code> 6702 <br> 6703 <em> 6704 <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#volumemount-v1-core"> 6705 []Kubernetes core/v1.VolumeMount 6706 </a> 6707 </em> 6708 </td> 6709 <td> 6710 <em>(Optional)</em> 6711 <p>ExtraVolumeMounts holds the extra volume mounts to add (normally used with extraVolumes).</p> 6712 </td> 6713 </tr> 6714 <tr> 6715 <td style="white-space:nowrap"> 6716 <code>podAnnotations</code> 6717 <br> 6718 <em> 6719 map[string]string 6720 </em> 6721 </td> 6722 <td> 6723 <em>(Optional)</em> 6724 <p>PodAnnotations defines annotations to add to the Envoy pods.</p> 6725 </td> 6726 </tr> 6727 <tr> 6728 <td style="white-space:nowrap"> 6729 <code>resources</code> 6730 <br> 6731 <em> 6732 <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#resourcerequirements-v1-core"> 6733 Kubernetes core/v1.ResourceRequirements 6734 </a> 6735 </em> 6736 </td> 6737 <td> 6738 <em>(Optional)</em> 6739 <p>Compute Resources required by envoy container. 6740 Cannot be updated. 6741 More info: <a href="https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/">https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/</a></p> 6742 </td> 6743 </tr> 6744 <tr> 6745 <td style="white-space:nowrap"> 6746 <code>logLevel</code> 6747 <br> 6748 <em> 6749 <a href="#projectcontour.io/v1alpha1.LogLevel"> 6750 LogLevel 6751 </a> 6752 </em> 6753 </td> 6754 <td> 6755 <em>(Optional)</em> 6756 <p>LogLevel sets the log level for Envoy. 6757 Allowed values are “trace”, “debug”, “info”, “warn”, “error”, “critical”, “off”.</p> 6758 </td> 6759 </tr> 6760 <tr> 6761 <td style="white-space:nowrap"> 6762 <code>daemonSet</code> 6763 <br> 6764 <em> 6765 <a href="#projectcontour.io/v1alpha1.DaemonSetSettings"> 6766 DaemonSetSettings 6767 </a> 6768 </em> 6769 </td> 6770 <td> 6771 <em>(Optional)</em> 6772 <p>DaemonSet describes the settings for running envoy as a <code>DaemonSet</code>. 6773 if <code>WorkloadType</code> is <code>Deployment</code>,it’s must be nil</p> 6774 </td> 6775 </tr> 6776 <tr> 6777 <td style="white-space:nowrap"> 6778 <code>deployment</code> 6779 <br> 6780 <em> 6781 <a href="#projectcontour.io/v1alpha1.DeploymentSettings"> 6782 DeploymentSettings 6783 </a> 6784 </em> 6785 </td> 6786 <td> 6787 <em>(Optional)</em> 6788 <p>Deployment describes the settings for running envoy as a <code>Deployment</code>. 6789 if <code>WorkloadType</code> is <code>DaemonSet</code>,it’s must be nil</p> 6790 </td> 6791 </tr> 6792 </tbody> 6793 </table> 6794 <h3 id="projectcontour.io/v1alpha1.EnvoyTLS">EnvoyTLS 6795 </h3> 6796 <p> 6797 (<em>Appears on:</em> 6798 <a href="#projectcontour.io/v1alpha1.EnvoyListenerConfig">EnvoyListenerConfig</a>) 6799 </p> 6800 <p> 6801 <p>EnvoyTLS describes tls parameters for Envoy listneners.</p> 6802 </p> 6803 <table> 6804 <thead> 6805 <tr> 6806 <th>Field</th> 6807 <th>Description</th> 6808 </tr> 6809 </thead> 6810 <tbody> 6811 <tr> 6812 <td style="white-space:nowrap"> 6813 <code>minimumProtocolVersion</code> 6814 <br> 6815 <em> 6816 string 6817 </em> 6818 </td> 6819 <td> 6820 <em>(Optional)</em> 6821 <p>MinimumProtocolVersion is the minimum TLS version this vhost should 6822 negotiate.</p> 6823 <p>Values: <code>1.2</code> (default), <code>1.3</code>.</p> 6824 <p>Other values will produce an error.</p> 6825 </td> 6826 </tr> 6827 <tr> 6828 <td style="white-space:nowrap"> 6829 <code>cipherSuites</code> 6830 <br> 6831 <em> 6832 []string 6833 </em> 6834 </td> 6835 <td> 6836 <em>(Optional)</em> 6837 <p>CipherSuites defines the TLS ciphers to be supported by Envoy TLS 6838 listeners when negotiating TLS 1.2. Ciphers are validated against the 6839 set that Envoy supports by default. This parameter should only be used 6840 by advanced users. Note that these will be ignored when TLS 1.3 is in 6841 use.</p> 6842 <p>This field is optional; when it is undefined, a Contour-managed ciphersuite list 6843 will be used, which may be updated to keep it secure.</p> 6844 <p>Contour’s default list is: 6845 - “[ECDHE-ECDSA-AES128-GCM-SHA256|ECDHE-ECDSA-CHACHA20-POLY1305]” 6846 - “[ECDHE-RSA-AES128-GCM-SHA256|ECDHE-RSA-CHACHA20-POLY1305]” 6847 - “ECDHE-ECDSA-AES256-GCM-SHA384” 6848 - “ECDHE-RSA-AES256-GCM-SHA384”</p> 6849 <p>Ciphers provided are validated against the following list: 6850 - “[ECDHE-ECDSA-AES128-GCM-SHA256|ECDHE-ECDSA-CHACHA20-POLY1305]” 6851 - “[ECDHE-RSA-AES128-GCM-SHA256|ECDHE-RSA-CHACHA20-POLY1305]” 6852 - “ECDHE-ECDSA-AES128-GCM-SHA256” 6853 - “ECDHE-RSA-AES128-GCM-SHA256” 6854 - “ECDHE-ECDSA-AES128-SHA” 6855 - “ECDHE-RSA-AES128-SHA” 6856 - “AES128-GCM-SHA256” 6857 - “AES128-SHA” 6858 - “ECDHE-ECDSA-AES256-GCM-SHA384” 6859 - “ECDHE-RSA-AES256-GCM-SHA384” 6860 - “ECDHE-ECDSA-AES256-SHA” 6861 - “ECDHE-RSA-AES256-SHA” 6862 - “AES256-GCM-SHA384” 6863 - “AES256-SHA”</p> 6864 <p>Contour recommends leaving this undefined unless you are sure you must.</p> 6865 <p>See: <a href="https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/transport_sockets/tls/v3/common.proto#extensions-transport-sockets-tls-v3-tlsparameters">https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/transport_sockets/tls/v3/common.proto#extensions-transport-sockets-tls-v3-tlsparameters</a> 6866 Note: This list is a superset of what is valid for stock Envoy builds and those using BoringSSL FIPS.</p> 6867 </td> 6868 </tr> 6869 </tbody> 6870 </table> 6871 <h3 id="projectcontour.io/v1alpha1.ExtensionProtocolVersion">ExtensionProtocolVersion 6872 (<code>string</code> alias)</p></h3> 6873 <p> 6874 (<em>Appears on:</em> 6875 <a href="#projectcontour.io/v1alpha1.ExtensionServiceSpec">ExtensionServiceSpec</a>) 6876 </p> 6877 <p> 6878 <p>ExtensionProtocolVersion is the version of the GRPC protocol used 6879 to access extension services. The only version currently supported 6880 is “v3”.</p> 6881 </p> 6882 <table> 6883 <thead> 6884 <tr> 6885 <th>Value</th> 6886 <th>Description</th> 6887 </tr> 6888 </thead> 6889 <tbody><tr><td><p>"v2"</p></td> 6890 <td><p>SupportProtocolVersion2 requests the “v2” support protocol version.</p> 6891 <p>Deprecated: this protocol version is no longer supported and the 6892 constant is retained for backwards compatibility only.</p> 6893 </td> 6894 </tr><tr><td><p>"v3"</p></td> 6895 <td><p>SupportProtocolVersion3 requests the “v3” support protocol version.</p> 6896 </td> 6897 </tr></tbody> 6898 </table> 6899 <h3 id="projectcontour.io/v1alpha1.ExtensionServiceSpec">ExtensionServiceSpec 6900 </h3> 6901 <p> 6902 (<em>Appears on:</em> 6903 <a href="#projectcontour.io/v1alpha1.ExtensionService">ExtensionService</a>) 6904 </p> 6905 <p> 6906 <p>ExtensionServiceSpec defines the desired state of an ExtensionService resource.</p> 6907 </p> 6908 <table> 6909 <thead> 6910 <tr> 6911 <th>Field</th> 6912 <th>Description</th> 6913 </tr> 6914 </thead> 6915 <tbody> 6916 <tr> 6917 <td style="white-space:nowrap"> 6918 <code>services</code> 6919 <br> 6920 <em> 6921 <a href="#projectcontour.io/v1alpha1.ExtensionServiceTarget"> 6922 []ExtensionServiceTarget 6923 </a> 6924 </em> 6925 </td> 6926 <td> 6927 <p>Services specifies the set of Kubernetes Service resources that 6928 receive GRPC extension API requests. 6929 If no weights are specified for any of the entries in 6930 this array, traffic will be spread evenly across all the 6931 services. 6932 Otherwise, traffic is balanced proportionally to the 6933 Weight field in each entry.</p> 6934 </td> 6935 </tr> 6936 <tr> 6937 <td style="white-space:nowrap"> 6938 <code>validation</code> 6939 <br> 6940 <em> 6941 <a href="#projectcontour.io/v1.UpstreamValidation"> 6942 UpstreamValidation 6943 </a> 6944 </em> 6945 </td> 6946 <td> 6947 <em>(Optional)</em> 6948 <p>UpstreamValidation defines how to verify the backend service’s certificate</p> 6949 </td> 6950 </tr> 6951 <tr> 6952 <td style="white-space:nowrap"> 6953 <code>protocol</code> 6954 <br> 6955 <em> 6956 string 6957 </em> 6958 </td> 6959 <td> 6960 <em>(Optional)</em> 6961 <p>Protocol may be used to specify (or override) the protocol used to reach this Service. 6962 Values may be h2 or h2c. If omitted, protocol-selection falls back on Service annotations.</p> 6963 </td> 6964 </tr> 6965 <tr> 6966 <td style="white-space:nowrap"> 6967 <code>loadBalancerPolicy</code> 6968 <br> 6969 <em> 6970 <a href="#projectcontour.io/v1.LoadBalancerPolicy"> 6971 LoadBalancerPolicy 6972 </a> 6973 </em> 6974 </td> 6975 <td> 6976 <em>(Optional)</em> 6977 <p>The policy for load balancing GRPC service requests. Note that the 6978 <code>Cookie</code> and <code>RequestHash</code> load balancing strategies cannot be used 6979 here.</p> 6980 </td> 6981 </tr> 6982 <tr> 6983 <td style="white-space:nowrap"> 6984 <code>timeoutPolicy</code> 6985 <br> 6986 <em> 6987 <a href="#projectcontour.io/v1.TimeoutPolicy"> 6988 TimeoutPolicy 6989 </a> 6990 </em> 6991 </td> 6992 <td> 6993 <em>(Optional)</em> 6994 <p>The timeout policy for requests to the services.</p> 6995 </td> 6996 </tr> 6997 <tr> 6998 <td style="white-space:nowrap"> 6999 <code>protocolVersion</code> 7000 <br> 7001 <em> 7002 <a href="#projectcontour.io/v1alpha1.ExtensionProtocolVersion"> 7003 ExtensionProtocolVersion 7004 </a> 7005 </em> 7006 </td> 7007 <td> 7008 <em>(Optional)</em> 7009 <p>This field sets the version of the GRPC protocol that Envoy uses to 7010 send requests to the extension service. Since Contour always uses the 7011 v3 Envoy API, this is currently fixed at “v3”. However, other 7012 protocol options will be available in future.</p> 7013 </td> 7014 </tr> 7015 </tbody> 7016 </table> 7017 <h3 id="projectcontour.io/v1alpha1.ExtensionServiceStatus">ExtensionServiceStatus 7018 </h3> 7019 <p> 7020 (<em>Appears on:</em> 7021 <a href="#projectcontour.io/v1alpha1.ExtensionService">ExtensionService</a>) 7022 </p> 7023 <p> 7024 <p>ExtensionServiceStatus defines the observed state of an 7025 ExtensionService resource.</p> 7026 </p> 7027 <table> 7028 <thead> 7029 <tr> 7030 <th>Field</th> 7031 <th>Description</th> 7032 </tr> 7033 </thead> 7034 <tbody> 7035 <tr> 7036 <td style="white-space:nowrap"> 7037 <code>conditions</code> 7038 <br> 7039 <em> 7040 <a href="#projectcontour.io/v1.DetailedCondition"> 7041 []DetailedCondition 7042 </a> 7043 </em> 7044 </td> 7045 <td> 7046 <em>(Optional)</em> 7047 <p>Conditions contains the current status of the ExtensionService resource.</p> 7048 <p>Contour will update a single condition, <code>Valid</code>, that is in normal-true polarity.</p> 7049 <p>Contour will not modify any other Conditions set in this block, 7050 in case some other controller wants to add a Condition.</p> 7051 </td> 7052 </tr> 7053 </tbody> 7054 </table> 7055 <h3 id="projectcontour.io/v1alpha1.ExtensionServiceTarget">ExtensionServiceTarget 7056 </h3> 7057 <p> 7058 (<em>Appears on:</em> 7059 <a href="#projectcontour.io/v1alpha1.ExtensionServiceSpec">ExtensionServiceSpec</a>) 7060 </p> 7061 <p> 7062 <p>ExtensionServiceTarget defines an Kubernetes Service to target with 7063 extension service traffic.</p> 7064 </p> 7065 <table> 7066 <thead> 7067 <tr> 7068 <th>Field</th> 7069 <th>Description</th> 7070 </tr> 7071 </thead> 7072 <tbody> 7073 <tr> 7074 <td style="white-space:nowrap"> 7075 <code>name</code> 7076 <br> 7077 <em> 7078 string 7079 </em> 7080 </td> 7081 <td> 7082 <p>Name is the name of Kubernetes service that will accept service 7083 traffic.</p> 7084 </td> 7085 </tr> 7086 <tr> 7087 <td style="white-space:nowrap"> 7088 <code>port</code> 7089 <br> 7090 <em> 7091 int 7092 </em> 7093 </td> 7094 <td> 7095 <p>Port (defined as Integer) to proxy traffic to since a service can have multiple defined.</p> 7096 </td> 7097 </tr> 7098 <tr> 7099 <td style="white-space:nowrap"> 7100 <code>weight</code> 7101 <br> 7102 <em> 7103 uint32 7104 </em> 7105 </td> 7106 <td> 7107 <em>(Optional)</em> 7108 <p>Weight defines proportion of traffic to balance to the Kubernetes Service.</p> 7109 </td> 7110 </tr> 7111 </tbody> 7112 </table> 7113 <h3 id="projectcontour.io/v1alpha1.GatewayConfig">GatewayConfig 7114 </h3> 7115 <p> 7116 (<em>Appears on:</em> 7117 <a href="#projectcontour.io/v1alpha1.ContourConfigurationSpec">ContourConfigurationSpec</a>) 7118 </p> 7119 <p> 7120 <p>GatewayConfig holds the config for Gateway API controllers.</p> 7121 </p> 7122 <table> 7123 <thead> 7124 <tr> 7125 <th>Field</th> 7126 <th>Description</th> 7127 </tr> 7128 </thead> 7129 <tbody> 7130 <tr> 7131 <td style="white-space:nowrap"> 7132 <code>controllerName</code> 7133 <br> 7134 <em> 7135 string 7136 </em> 7137 </td> 7138 <td> 7139 <em>(Optional)</em> 7140 <p>ControllerName is used to determine whether Contour should reconcile a 7141 GatewayClass. The string takes the form of “projectcontour.io/<namespace>/contour”. 7142 If unset, the gatewayclass controller will not be started. 7143 Exactly one of ControllerName or GatewayRef must be set.</p> 7144 </td> 7145 </tr> 7146 <tr> 7147 <td style="white-space:nowrap"> 7148 <code>gatewayRef</code> 7149 <br> 7150 <em> 7151 <a href="#projectcontour.io/v1alpha1.NamespacedName"> 7152 NamespacedName 7153 </a> 7154 </em> 7155 </td> 7156 <td> 7157 <em>(Optional)</em> 7158 <p>GatewayRef defines a specific Gateway that this Contour 7159 instance corresponds to. If set, Contour will reconcile 7160 only this gateway, and will not reconcile any gateway 7161 classes. 7162 Exactly one of ControllerName or GatewayRef must be set.</p> 7163 </td> 7164 </tr> 7165 </tbody> 7166 </table> 7167 <h3 id="projectcontour.io/v1alpha1.HTTPProxyConfig">HTTPProxyConfig 7168 </h3> 7169 <p> 7170 (<em>Appears on:</em> 7171 <a href="#projectcontour.io/v1alpha1.ContourConfigurationSpec">ContourConfigurationSpec</a>) 7172 </p> 7173 <p> 7174 <p>HTTPProxyConfig defines parameters on HTTPProxy.</p> 7175 </p> 7176 <table> 7177 <thead> 7178 <tr> 7179 <th>Field</th> 7180 <th>Description</th> 7181 </tr> 7182 </thead> 7183 <tbody> 7184 <tr> 7185 <td style="white-space:nowrap"> 7186 <code>disablePermitInsecure</code> 7187 <br> 7188 <em> 7189 bool 7190 </em> 7191 </td> 7192 <td> 7193 <em>(Optional)</em> 7194 <p>DisablePermitInsecure disables the use of the 7195 permitInsecure field in HTTPProxy.</p> 7196 <p>Contour’s default is false.</p> 7197 </td> 7198 </tr> 7199 <tr> 7200 <td style="white-space:nowrap"> 7201 <code>rootNamespaces</code> 7202 <br> 7203 <em> 7204 []string 7205 </em> 7206 </td> 7207 <td> 7208 <em>(Optional)</em> 7209 <p>Restrict Contour to searching these namespaces for root ingress routes.</p> 7210 </td> 7211 </tr> 7212 <tr> 7213 <td style="white-space:nowrap"> 7214 <code>fallbackCertificate</code> 7215 <br> 7216 <em> 7217 <a href="#projectcontour.io/v1alpha1.NamespacedName"> 7218 NamespacedName 7219 </a> 7220 </em> 7221 </td> 7222 <td> 7223 <em>(Optional)</em> 7224 <p>FallbackCertificate defines the namespace/name of the Kubernetes secret to 7225 use as fallback when a non-SNI request is received.</p> 7226 </td> 7227 </tr> 7228 </tbody> 7229 </table> 7230 <h3 id="projectcontour.io/v1alpha1.HTTPVersionType">HTTPVersionType 7231 (<code>string</code> alias)</p></h3> 7232 <p> 7233 (<em>Appears on:</em> 7234 <a href="#projectcontour.io/v1alpha1.EnvoyConfig">EnvoyConfig</a>) 7235 </p> 7236 <p> 7237 <p>HTTPVersionType is the name of a supported HTTP version.</p> 7238 </p> 7239 <table> 7240 <thead> 7241 <tr> 7242 <th>Value</th> 7243 <th>Description</th> 7244 </tr> 7245 </thead> 7246 <tbody><tr><td><p>"HTTP/1.1"</p></td> 7247 <td><p>HTTPVersion1 is the name of the HTTP/1.1 version.</p> 7248 </td> 7249 </tr><tr><td><p>"HTTP/2"</p></td> 7250 <td><p>HTTPVersion2 is the name of the HTTP/2 version.</p> 7251 </td> 7252 </tr></tbody> 7253 </table> 7254 <h3 id="projectcontour.io/v1alpha1.HeadersPolicy">HeadersPolicy 7255 </h3> 7256 <p> 7257 (<em>Appears on:</em> 7258 <a href="#projectcontour.io/v1alpha1.PolicyConfig">PolicyConfig</a>) 7259 </p> 7260 <p> 7261 </p> 7262 <table> 7263 <thead> 7264 <tr> 7265 <th>Field</th> 7266 <th>Description</th> 7267 </tr> 7268 </thead> 7269 <tbody> 7270 <tr> 7271 <td style="white-space:nowrap"> 7272 <code>set</code> 7273 <br> 7274 <em> 7275 map[string]string 7276 </em> 7277 </td> 7278 <td> 7279 <em>(Optional)</em> 7280 </td> 7281 </tr> 7282 <tr> 7283 <td style="white-space:nowrap"> 7284 <code>remove</code> 7285 <br> 7286 <em> 7287 []string 7288 </em> 7289 </td> 7290 <td> 7291 <em>(Optional)</em> 7292 </td> 7293 </tr> 7294 </tbody> 7295 </table> 7296 <h3 id="projectcontour.io/v1alpha1.HealthConfig">HealthConfig 7297 </h3> 7298 <p> 7299 (<em>Appears on:</em> 7300 <a href="#projectcontour.io/v1alpha1.ContourConfigurationSpec">ContourConfigurationSpec</a>, 7301 <a href="#projectcontour.io/v1alpha1.EnvoyConfig">EnvoyConfig</a>) 7302 </p> 7303 <p> 7304 <p>HealthConfig defines the endpoints to enable health checks.</p> 7305 </p> 7306 <table> 7307 <thead> 7308 <tr> 7309 <th>Field</th> 7310 <th>Description</th> 7311 </tr> 7312 </thead> 7313 <tbody> 7314 <tr> 7315 <td style="white-space:nowrap"> 7316 <code>address</code> 7317 <br> 7318 <em> 7319 string 7320 </em> 7321 </td> 7322 <td> 7323 <em>(Optional)</em> 7324 <p>Defines the health address interface.</p> 7325 </td> 7326 </tr> 7327 <tr> 7328 <td style="white-space:nowrap"> 7329 <code>port</code> 7330 <br> 7331 <em> 7332 int 7333 </em> 7334 </td> 7335 <td> 7336 <em>(Optional)</em> 7337 <p>Defines the health port.</p> 7338 </td> 7339 </tr> 7340 </tbody> 7341 </table> 7342 <h3 id="projectcontour.io/v1alpha1.IngressConfig">IngressConfig 7343 </h3> 7344 <p> 7345 (<em>Appears on:</em> 7346 <a href="#projectcontour.io/v1alpha1.ContourConfigurationSpec">ContourConfigurationSpec</a>) 7347 </p> 7348 <p> 7349 <p>IngressConfig defines ingress specific config items.</p> 7350 </p> 7351 <table> 7352 <thead> 7353 <tr> 7354 <th>Field</th> 7355 <th>Description</th> 7356 </tr> 7357 </thead> 7358 <tbody> 7359 <tr> 7360 <td style="white-space:nowrap"> 7361 <code>classNames</code> 7362 <br> 7363 <em> 7364 []string 7365 </em> 7366 </td> 7367 <td> 7368 <em>(Optional)</em> 7369 <p>Ingress Class Names Contour should use.</p> 7370 </td> 7371 </tr> 7372 <tr> 7373 <td style="white-space:nowrap"> 7374 <code>statusAddress</code> 7375 <br> 7376 <em> 7377 string 7378 </em> 7379 </td> 7380 <td> 7381 <em>(Optional)</em> 7382 <p>Address to set in Ingress object status.</p> 7383 </td> 7384 </tr> 7385 </tbody> 7386 </table> 7387 <h3 id="projectcontour.io/v1alpha1.LogLevel">LogLevel 7388 (<code>string</code> alias)</p></h3> 7389 <p> 7390 (<em>Appears on:</em> 7391 <a href="#projectcontour.io/v1alpha1.ContourSettings">ContourSettings</a>, 7392 <a href="#projectcontour.io/v1alpha1.EnvoySettings">EnvoySettings</a>) 7393 </p> 7394 <p> 7395 <p>LogLevel is the logging levels available.</p> 7396 </p> 7397 <table> 7398 <thead> 7399 <tr> 7400 <th>Value</th> 7401 <th>Description</th> 7402 </tr> 7403 </thead> 7404 <tbody><tr><td><p>"critical"</p></td> 7405 <td><p>CriticalLog sets the log level for Envoy to <code>critical</code>.</p> 7406 </td> 7407 </tr><tr><td><p>"debug"</p></td> 7408 <td><p>DebugLog sets the log level for Contour/Envoy to <code>debug</code>.</p> 7409 </td> 7410 </tr><tr><td><p>"error"</p></td> 7411 <td><p>ErrorLog sets the log level for Envoy to <code>error</code>.</p> 7412 </td> 7413 </tr><tr><td><p>"info"</p></td> 7414 <td><p>InfoLog sets the log level for Contour/Envoy to <code>info</code>.</p> 7415 </td> 7416 </tr><tr><td><p>"off"</p></td> 7417 <td><p>OffLog disable logging for Envoy.</p> 7418 </td> 7419 </tr><tr><td><p>"trace"</p></td> 7420 <td><p>TraceLog sets the log level for Envoy to <code>trace</code>.</p> 7421 </td> 7422 </tr><tr><td><p>"warn"</p></td> 7423 <td><p>WarnLog sets the log level for Envoy to <code>warn</code>.</p> 7424 </td> 7425 </tr></tbody> 7426 </table> 7427 <h3 id="projectcontour.io/v1alpha1.MetricsConfig">MetricsConfig 7428 </h3> 7429 <p> 7430 (<em>Appears on:</em> 7431 <a href="#projectcontour.io/v1alpha1.ContourConfigurationSpec">ContourConfigurationSpec</a>, 7432 <a href="#projectcontour.io/v1alpha1.EnvoyConfig">EnvoyConfig</a>) 7433 </p> 7434 <p> 7435 <p>MetricsConfig defines the metrics endpoint.</p> 7436 </p> 7437 <table> 7438 <thead> 7439 <tr> 7440 <th>Field</th> 7441 <th>Description</th> 7442 </tr> 7443 </thead> 7444 <tbody> 7445 <tr> 7446 <td style="white-space:nowrap"> 7447 <code>address</code> 7448 <br> 7449 <em> 7450 string 7451 </em> 7452 </td> 7453 <td> 7454 <em>(Optional)</em> 7455 <p>Defines the metrics address interface.</p> 7456 </td> 7457 </tr> 7458 <tr> 7459 <td style="white-space:nowrap"> 7460 <code>port</code> 7461 <br> 7462 <em> 7463 int 7464 </em> 7465 </td> 7466 <td> 7467 <em>(Optional)</em> 7468 <p>Defines the metrics port.</p> 7469 </td> 7470 </tr> 7471 <tr> 7472 <td style="white-space:nowrap"> 7473 <code>tls</code> 7474 <br> 7475 <em> 7476 <a href="#projectcontour.io/v1alpha1.MetricsTLS"> 7477 MetricsTLS 7478 </a> 7479 </em> 7480 </td> 7481 <td> 7482 <em>(Optional)</em> 7483 <p>TLS holds TLS file config details. 7484 Metrics and health endpoints cannot have same port number when metrics is served over HTTPS.</p> 7485 </td> 7486 </tr> 7487 </tbody> 7488 </table> 7489 <h3 id="projectcontour.io/v1alpha1.MetricsTLS">MetricsTLS 7490 </h3> 7491 <p> 7492 (<em>Appears on:</em> 7493 <a href="#projectcontour.io/v1alpha1.MetricsConfig">MetricsConfig</a>) 7494 </p> 7495 <p> 7496 <p>TLS holds TLS file config details.</p> 7497 </p> 7498 <table> 7499 <thead> 7500 <tr> 7501 <th>Field</th> 7502 <th>Description</th> 7503 </tr> 7504 </thead> 7505 <tbody> 7506 <tr> 7507 <td style="white-space:nowrap"> 7508 <code>caFile</code> 7509 <br> 7510 <em> 7511 string 7512 </em> 7513 </td> 7514 <td> 7515 <em>(Optional)</em> 7516 <p>CA filename.</p> 7517 </td> 7518 </tr> 7519 <tr> 7520 <td style="white-space:nowrap"> 7521 <code>certFile</code> 7522 <br> 7523 <em> 7524 string 7525 </em> 7526 </td> 7527 <td> 7528 <em>(Optional)</em> 7529 <p>Client certificate filename.</p> 7530 </td> 7531 </tr> 7532 <tr> 7533 <td style="white-space:nowrap"> 7534 <code>keyFile</code> 7535 <br> 7536 <em> 7537 string 7538 </em> 7539 </td> 7540 <td> 7541 <em>(Optional)</em> 7542 <p>Client key filename.</p> 7543 </td> 7544 </tr> 7545 </tbody> 7546 </table> 7547 <h3 id="projectcontour.io/v1alpha1.NamespacedName">NamespacedName 7548 </h3> 7549 <p> 7550 (<em>Appears on:</em> 7551 <a href="#projectcontour.io/v1alpha1.EnvoyConfig">EnvoyConfig</a>, 7552 <a href="#projectcontour.io/v1alpha1.GatewayConfig">GatewayConfig</a>, 7553 <a href="#projectcontour.io/v1alpha1.HTTPProxyConfig">HTTPProxyConfig</a>, 7554 <a href="#projectcontour.io/v1alpha1.RateLimitServiceConfig">RateLimitServiceConfig</a>, 7555 <a href="#projectcontour.io/v1alpha1.TracingConfig">TracingConfig</a>) 7556 </p> 7557 <p> 7558 <p>NamespacedName defines the namespace/name of the Kubernetes resource referred from the config file. 7559 Used for Contour config YAML file parsing, otherwise we could use K8s types.NamespacedName.</p> 7560 </p> 7561 <table> 7562 <thead> 7563 <tr> 7564 <th>Field</th> 7565 <th>Description</th> 7566 </tr> 7567 </thead> 7568 <tbody> 7569 <tr> 7570 <td style="white-space:nowrap"> 7571 <code>name</code> 7572 <br> 7573 <em> 7574 string 7575 </em> 7576 </td> 7577 <td> 7578 </td> 7579 </tr> 7580 <tr> 7581 <td style="white-space:nowrap"> 7582 <code>namespace</code> 7583 <br> 7584 <em> 7585 string 7586 </em> 7587 </td> 7588 <td> 7589 </td> 7590 </tr> 7591 </tbody> 7592 </table> 7593 <h3 id="projectcontour.io/v1alpha1.NetworkParameters">NetworkParameters 7594 </h3> 7595 <p> 7596 (<em>Appears on:</em> 7597 <a href="#projectcontour.io/v1alpha1.EnvoyConfig">EnvoyConfig</a>) 7598 </p> 7599 <p> 7600 <p>NetworkParameters hold various configurable network values.</p> 7601 </p> 7602 <table> 7603 <thead> 7604 <tr> 7605 <th>Field</th> 7606 <th>Description</th> 7607 </tr> 7608 </thead> 7609 <tbody> 7610 <tr> 7611 <td style="white-space:nowrap"> 7612 <code>numTrustedHops</code> 7613 <br> 7614 <em> 7615 uint32 7616 </em> 7617 </td> 7618 <td> 7619 <em>(Optional)</em> 7620 <p>XffNumTrustedHops defines the number of additional ingress proxy hops from the 7621 right side of the x-forwarded-for HTTP header to trust when determining the origin 7622 client’s IP address.</p> 7623 <p>See <a href="https://www.envoyproxy.io/docs/envoy/v1.17.0/api-v3/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto?highlight=xff_num_trusted_hops">https://www.envoyproxy.io/docs/envoy/v1.17.0/api-v3/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto?highlight=xff_num_trusted_hops</a> 7624 for more information.</p> 7625 <p>Contour’s default is 0.</p> 7626 </td> 7627 </tr> 7628 <tr> 7629 <td style="white-space:nowrap"> 7630 <code>adminPort</code> 7631 <br> 7632 <em> 7633 int 7634 </em> 7635 </td> 7636 <td> 7637 <em>(Optional)</em> 7638 <p>Configure the port used to access the Envoy Admin interface. 7639 If configured to port “0” then the admin interface is disabled.</p> 7640 <p>Contour’s default is 9001.</p> 7641 </td> 7642 </tr> 7643 </tbody> 7644 </table> 7645 <h3 id="projectcontour.io/v1alpha1.NetworkPublishing">NetworkPublishing 7646 </h3> 7647 <p> 7648 (<em>Appears on:</em> 7649 <a href="#projectcontour.io/v1alpha1.EnvoySettings">EnvoySettings</a>) 7650 </p> 7651 <p> 7652 <p>NetworkPublishing defines the schema for publishing to a network.</p> 7653 </p> 7654 <table> 7655 <thead> 7656 <tr> 7657 <th>Field</th> 7658 <th>Description</th> 7659 </tr> 7660 </thead> 7661 <tbody> 7662 <tr> 7663 <td style="white-space:nowrap"> 7664 <code>type</code> 7665 <br> 7666 <em> 7667 <a href="#projectcontour.io/v1alpha1.NetworkPublishingType"> 7668 NetworkPublishingType 7669 </a> 7670 </em> 7671 </td> 7672 <td> 7673 <em>(Optional)</em> 7674 <p>NetworkPublishingType is the type of publishing strategy to use. Valid values are:</p> 7675 <ul> 7676 <li>LoadBalancerService</li> 7677 </ul> 7678 <p>In this configuration, network endpoints for Envoy use container networking. 7679 A Kubernetes LoadBalancer Service is created to publish Envoy network 7680 endpoints.</p> 7681 <p>See: <a href="https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer">https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer</a></p> 7682 <ul> 7683 <li>NodePortService</li> 7684 </ul> 7685 <p>Publishes Envoy network endpoints using a Kubernetes NodePort Service.</p> 7686 <p>In this configuration, Envoy network endpoints use container networking. A Kubernetes 7687 NodePort Service is created to publish the network endpoints.</p> 7688 <p>See: <a href="https://kubernetes.io/docs/concepts/services-networking/service/#nodeport">https://kubernetes.io/docs/concepts/services-networking/service/#nodeport</a></p> 7689 <p>NOTE: 7690 When provisioning an Envoy <code>NodePortService</code>, use Gateway Listeners’ port numbers to populate 7691 the Service’s node port values, there’s no way to auto-allocate them.</p> 7692 <p>See: <a href="https://github.com/projectcontour/contour/issues/4499">https://github.com/projectcontour/contour/issues/4499</a></p> 7693 <ul> 7694 <li>ClusterIPService</li> 7695 </ul> 7696 <p>Publishes Envoy network endpoints using a Kubernetes ClusterIP Service.</p> 7697 <p>In this configuration, Envoy network endpoints use container networking. A Kubernetes 7698 ClusterIP Service is created to publish the network endpoints.</p> 7699 <p>See: <a href="https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types">https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types</a></p> 7700 <p>If unset, defaults to LoadBalancerService.</p> 7701 </td> 7702 </tr> 7703 <tr> 7704 <td style="white-space:nowrap"> 7705 <code>externalTrafficPolicy</code> 7706 <br> 7707 <em> 7708 <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#serviceexternaltrafficpolicytype-v1-core"> 7709 Kubernetes core/v1.ServiceExternalTrafficPolicyType 7710 </a> 7711 </em> 7712 </td> 7713 <td> 7714 <em>(Optional)</em> 7715 <p>ExternalTrafficPolicy describes how nodes distribute service traffic they 7716 receive on one of the Service’s “externally-facing” addresses (NodePorts, ExternalIPs, 7717 and LoadBalancer IPs).</p> 7718 <p>If unset, defaults to “Local”.</p> 7719 </td> 7720 </tr> 7721 <tr> 7722 <td style="white-space:nowrap"> 7723 <code>serviceAnnotations</code> 7724 <br> 7725 <em> 7726 map[string]string 7727 </em> 7728 </td> 7729 <td> 7730 <em>(Optional)</em> 7731 <p>ServiceAnnotations is the annotations to add to 7732 the provisioned Envoy service.</p> 7733 </td> 7734 </tr> 7735 </tbody> 7736 </table> 7737 <h3 id="projectcontour.io/v1alpha1.NetworkPublishingType">NetworkPublishingType 7738 (<code>string</code> alias)</p></h3> 7739 <p> 7740 (<em>Appears on:</em> 7741 <a href="#projectcontour.io/v1alpha1.NetworkPublishing">NetworkPublishing</a>) 7742 </p> 7743 <p> 7744 <p>NetworkPublishingType is a way to publish network endpoints.</p> 7745 </p> 7746 <table> 7747 <thead> 7748 <tr> 7749 <th>Value</th> 7750 <th>Description</th> 7751 </tr> 7752 </thead> 7753 <tbody><tr><td><p>"ClusterIPService"</p></td> 7754 <td><p>ClusterIPServicePublishingType publishes a network endpoint using a Kubernetes 7755 ClusterIP Service.</p> 7756 </td> 7757 </tr><tr><td><p>"LoadBalancerService"</p></td> 7758 <td><p>LoadBalancerServicePublishingType publishes a network endpoint using a Kubernetes 7759 LoadBalancer Service.</p> 7760 </td> 7761 </tr><tr><td><p>"NodePortService"</p></td> 7762 <td><p>NodePortServicePublishingType publishes a network endpoint using a Kubernetes 7763 NodePort Service.</p> 7764 </td> 7765 </tr></tbody> 7766 </table> 7767 <h3 id="projectcontour.io/v1alpha1.NodePlacement">NodePlacement 7768 </h3> 7769 <p> 7770 (<em>Appears on:</em> 7771 <a href="#projectcontour.io/v1alpha1.ContourSettings">ContourSettings</a>, 7772 <a href="#projectcontour.io/v1alpha1.EnvoySettings">EnvoySettings</a>) 7773 </p> 7774 <p> 7775 <p>NodePlacement describes node scheduling configuration for pods. 7776 If nodeSelector and tolerations are specified, the scheduler will use both to 7777 determine where to place the pod(s).</p> 7778 </p> 7779 <table> 7780 <thead> 7781 <tr> 7782 <th>Field</th> 7783 <th>Description</th> 7784 </tr> 7785 </thead> 7786 <tbody> 7787 <tr> 7788 <td style="white-space:nowrap"> 7789 <code>nodeSelector</code> 7790 <br> 7791 <em> 7792 map[string]string 7793 </em> 7794 </td> 7795 <td> 7796 <em>(Optional)</em> 7797 <p>NodeSelector is the simplest recommended form of node selection constraint 7798 and specifies a map of key-value pairs. For the pod to be eligible 7799 to run on a node, the node must have each of the indicated key-value pairs 7800 as labels (it can have additional labels as well).</p> 7801 <p>If unset, the pod(s) will be scheduled to any available node.</p> 7802 </td> 7803 </tr> 7804 <tr> 7805 <td style="white-space:nowrap"> 7806 <code>tolerations</code> 7807 <br> 7808 <em> 7809 <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#toleration-v1-core"> 7810 []Kubernetes core/v1.Toleration 7811 </a> 7812 </em> 7813 </td> 7814 <td> 7815 <em>(Optional)</em> 7816 <p>Tolerations work with taints to ensure that pods are not scheduled 7817 onto inappropriate nodes. One or more taints are applied to a node; this 7818 marks that the node should not accept any pods that do not tolerate the 7819 taints.</p> 7820 <p>The default is an empty list.</p> 7821 <p>See <a href="https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/">https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/</a> 7822 for additional details.</p> 7823 </td> 7824 </tr> 7825 </tbody> 7826 </table> 7827 <h3 id="projectcontour.io/v1alpha1.PolicyConfig">PolicyConfig 7828 </h3> 7829 <p> 7830 (<em>Appears on:</em> 7831 <a href="#projectcontour.io/v1alpha1.ContourConfigurationSpec">ContourConfigurationSpec</a>) 7832 </p> 7833 <p> 7834 <p>PolicyConfig holds default policy used if not explicitly set by the user</p> 7835 </p> 7836 <table> 7837 <thead> 7838 <tr> 7839 <th>Field</th> 7840 <th>Description</th> 7841 </tr> 7842 </thead> 7843 <tbody> 7844 <tr> 7845 <td style="white-space:nowrap"> 7846 <code>requestHeaders</code> 7847 <br> 7848 <em> 7849 <a href="#projectcontour.io/v1alpha1.HeadersPolicy"> 7850 HeadersPolicy 7851 </a> 7852 </em> 7853 </td> 7854 <td> 7855 <em>(Optional)</em> 7856 <p>RequestHeadersPolicy defines the request headers set/removed on all routes</p> 7857 </td> 7858 </tr> 7859 <tr> 7860 <td style="white-space:nowrap"> 7861 <code>responseHeaders</code> 7862 <br> 7863 <em> 7864 <a href="#projectcontour.io/v1alpha1.HeadersPolicy"> 7865 HeadersPolicy 7866 </a> 7867 </em> 7868 </td> 7869 <td> 7870 <em>(Optional)</em> 7871 <p>ResponseHeadersPolicy defines the response headers set/removed on all routes</p> 7872 </td> 7873 </tr> 7874 <tr> 7875 <td style="white-space:nowrap"> 7876 <code>applyToIngress</code> 7877 <br> 7878 <em> 7879 bool 7880 </em> 7881 </td> 7882 <td> 7883 <em>(Optional)</em> 7884 <p>ApplyToIngress determines if the Policies will apply to ingress objects</p> 7885 <p>Contour’s default is false.</p> 7886 </td> 7887 </tr> 7888 </tbody> 7889 </table> 7890 <h3 id="projectcontour.io/v1alpha1.RateLimitServiceConfig">RateLimitServiceConfig 7891 </h3> 7892 <p> 7893 (<em>Appears on:</em> 7894 <a href="#projectcontour.io/v1alpha1.ContourConfigurationSpec">ContourConfigurationSpec</a>) 7895 </p> 7896 <p> 7897 <p>RateLimitServiceConfig defines properties of a global Rate Limit Service.</p> 7898 </p> 7899 <table> 7900 <thead> 7901 <tr> 7902 <th>Field</th> 7903 <th>Description</th> 7904 </tr> 7905 </thead> 7906 <tbody> 7907 <tr> 7908 <td style="white-space:nowrap"> 7909 <code>extensionService</code> 7910 <br> 7911 <em> 7912 <a href="#projectcontour.io/v1alpha1.NamespacedName"> 7913 NamespacedName 7914 </a> 7915 </em> 7916 </td> 7917 <td> 7918 <p>ExtensionService identifies the extension service defining the RLS.</p> 7919 </td> 7920 </tr> 7921 <tr> 7922 <td style="white-space:nowrap"> 7923 <code>domain</code> 7924 <br> 7925 <em> 7926 string 7927 </em> 7928 </td> 7929 <td> 7930 <em>(Optional)</em> 7931 <p>Domain is passed to the Rate Limit Service.</p> 7932 </td> 7933 </tr> 7934 <tr> 7935 <td style="white-space:nowrap"> 7936 <code>failOpen</code> 7937 <br> 7938 <em> 7939 bool 7940 </em> 7941 </td> 7942 <td> 7943 <em>(Optional)</em> 7944 <p>FailOpen defines whether to allow requests to proceed when the 7945 Rate Limit Service fails to respond with a valid rate limit 7946 decision within the timeout defined on the extension service.</p> 7947 </td> 7948 </tr> 7949 <tr> 7950 <td style="white-space:nowrap"> 7951 <code>enableXRateLimitHeaders</code> 7952 <br> 7953 <em> 7954 bool 7955 </em> 7956 </td> 7957 <td> 7958 <em>(Optional)</em> 7959 <p>EnableXRateLimitHeaders defines whether to include the X-RateLimit 7960 headers X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset 7961 (as defined by the IETF Internet-Draft linked below), on responses 7962 to clients when the Rate Limit Service is consulted for a request.</p> 7963 <p>ref. <a href="https://tools.ietf.org/id/draft-polli-ratelimit-headers-03.html">https://tools.ietf.org/id/draft-polli-ratelimit-headers-03.html</a></p> 7964 </td> 7965 </tr> 7966 <tr> 7967 <td style="white-space:nowrap"> 7968 <code>enableResourceExhaustedCode</code> 7969 <br> 7970 <em> 7971 bool 7972 </em> 7973 </td> 7974 <td> 7975 <em>(Optional)</em> 7976 <p>EnableResourceExhaustedCode enables translating error code 429 to 7977 grpc code RESOURCE_EXHAUSTED. When disabled it’s translated to UNAVAILABLE</p> 7978 </td> 7979 </tr> 7980 </tbody> 7981 </table> 7982 <h3 id="projectcontour.io/v1alpha1.ServerHeaderTransformationType">ServerHeaderTransformationType 7983 (<code>string</code> alias)</p></h3> 7984 <p> 7985 (<em>Appears on:</em> 7986 <a href="#projectcontour.io/v1alpha1.EnvoyListenerConfig">EnvoyListenerConfig</a>) 7987 </p> 7988 <p> 7989 <p>ServerHeaderTransformation defines the action to be applied to the Server header on the response path</p> 7990 </p> 7991 <table> 7992 <thead> 7993 <tr> 7994 <th>Value</th> 7995 <th>Description</th> 7996 </tr> 7997 </thead> 7998 <tbody><tr><td><p>"append_if_absent"</p></td> 7999 <td><p>If no Server header is present, set it to “envoy”. 8000 If a Server header is present, pass it through.</p> 8001 </td> 8002 </tr><tr><td><p>"overwrite"</p></td> 8003 <td><p>Overwrite any Server header with “envoy”. 8004 This is the default value.</p> 8005 </td> 8006 </tr><tr><td><p>"pass_through"</p></td> 8007 <td><p>Pass through the value of the Server header, and do not append a header 8008 if none is present.</p> 8009 </td> 8010 </tr></tbody> 8011 </table> 8012 <h3 id="projectcontour.io/v1alpha1.TLS">TLS 8013 </h3> 8014 <p> 8015 (<em>Appears on:</em> 8016 <a href="#projectcontour.io/v1alpha1.XDSServerConfig">XDSServerConfig</a>) 8017 </p> 8018 <p> 8019 <p>TLS holds TLS file config details.</p> 8020 </p> 8021 <table> 8022 <thead> 8023 <tr> 8024 <th>Field</th> 8025 <th>Description</th> 8026 </tr> 8027 </thead> 8028 <tbody> 8029 <tr> 8030 <td style="white-space:nowrap"> 8031 <code>caFile</code> 8032 <br> 8033 <em> 8034 string 8035 </em> 8036 </td> 8037 <td> 8038 <em>(Optional)</em> 8039 <p>CA filename.</p> 8040 </td> 8041 </tr> 8042 <tr> 8043 <td style="white-space:nowrap"> 8044 <code>certFile</code> 8045 <br> 8046 <em> 8047 string 8048 </em> 8049 </td> 8050 <td> 8051 <em>(Optional)</em> 8052 <p>Client certificate filename.</p> 8053 </td> 8054 </tr> 8055 <tr> 8056 <td style="white-space:nowrap"> 8057 <code>keyFile</code> 8058 <br> 8059 <em> 8060 string 8061 </em> 8062 </td> 8063 <td> 8064 <em>(Optional)</em> 8065 <p>Client key filename.</p> 8066 </td> 8067 </tr> 8068 <tr> 8069 <td style="white-space:nowrap"> 8070 <code>insecure</code> 8071 <br> 8072 <em> 8073 bool 8074 </em> 8075 </td> 8076 <td> 8077 <em>(Optional)</em> 8078 <p>Allow serving the xDS gRPC API without TLS.</p> 8079 </td> 8080 </tr> 8081 </tbody> 8082 </table> 8083 <h3 id="projectcontour.io/v1alpha1.TimeoutParameters">TimeoutParameters 8084 </h3> 8085 <p> 8086 (<em>Appears on:</em> 8087 <a href="#projectcontour.io/v1alpha1.EnvoyConfig">EnvoyConfig</a>) 8088 </p> 8089 <p> 8090 <p>TimeoutParameters holds various configurable proxy timeout values.</p> 8091 </p> 8092 <table> 8093 <thead> 8094 <tr> 8095 <th>Field</th> 8096 <th>Description</th> 8097 </tr> 8098 </thead> 8099 <tbody> 8100 <tr> 8101 <td style="white-space:nowrap"> 8102 <code>requestTimeout</code> 8103 <br> 8104 <em> 8105 string 8106 </em> 8107 </td> 8108 <td> 8109 <em>(Optional)</em> 8110 <p>RequestTimeout sets the client request timeout globally for Contour. Note that 8111 this is a timeout for the entire request, not an idle timeout. Omit or set to 8112 “infinity” to disable the timeout entirely.</p> 8113 <p>See <a href="https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto#envoy-v3-api-field-extensions-filters-network-http-connection-manager-v3-httpconnectionmanager-request-timeout">https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto#envoy-v3-api-field-extensions-filters-network-http-connection-manager-v3-httpconnectionmanager-request-timeout</a> 8114 for more information.</p> 8115 </td> 8116 </tr> 8117 <tr> 8118 <td style="white-space:nowrap"> 8119 <code>connectionIdleTimeout</code> 8120 <br> 8121 <em> 8122 string 8123 </em> 8124 </td> 8125 <td> 8126 <em>(Optional)</em> 8127 <p>ConnectionIdleTimeout defines how long the proxy should wait while there are 8128 no active requests (for HTTP/1.1) or streams (for HTTP/2) before terminating 8129 an HTTP connection. Set to “infinity” to disable the timeout entirely.</p> 8130 <p>See <a href="https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/core/v3/protocol.proto#envoy-v3-api-field-config-core-v3-httpprotocoloptions-idle-timeout">https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/core/v3/protocol.proto#envoy-v3-api-field-config-core-v3-httpprotocoloptions-idle-timeout</a> 8131 for more information.</p> 8132 </td> 8133 </tr> 8134 <tr> 8135 <td style="white-space:nowrap"> 8136 <code>streamIdleTimeout</code> 8137 <br> 8138 <em> 8139 string 8140 </em> 8141 </td> 8142 <td> 8143 <em>(Optional)</em> 8144 <p>StreamIdleTimeout defines how long the proxy should wait while there is no 8145 request activity (for HTTP/1.1) or stream activity (for HTTP/2) before 8146 terminating the HTTP request or stream. Set to “infinity” to disable the 8147 timeout entirely.</p> 8148 <p>See <a href="https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto#envoy-v3-api-field-extensions-filters-network-http-connection-manager-v3-httpconnectionmanager-stream-idle-timeout">https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto#envoy-v3-api-field-extensions-filters-network-http-connection-manager-v3-httpconnectionmanager-stream-idle-timeout</a> 8149 for more information.</p> 8150 </td> 8151 </tr> 8152 <tr> 8153 <td style="white-space:nowrap"> 8154 <code>maxConnectionDuration</code> 8155 <br> 8156 <em> 8157 string 8158 </em> 8159 </td> 8160 <td> 8161 <em>(Optional)</em> 8162 <p>MaxConnectionDuration defines the maximum period of time after an HTTP connection 8163 has been established from the client to the proxy before it is closed by the proxy, 8164 regardless of whether there has been activity or not. Omit or set to “infinity” for 8165 no max duration.</p> 8166 <p>See <a href="https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/core/v3/protocol.proto#envoy-v3-api-field-config-core-v3-httpprotocoloptions-max-connection-duration">https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/core/v3/protocol.proto#envoy-v3-api-field-config-core-v3-httpprotocoloptions-max-connection-duration</a> 8167 for more information.</p> 8168 </td> 8169 </tr> 8170 <tr> 8171 <td style="white-space:nowrap"> 8172 <code>delayedCloseTimeout</code> 8173 <br> 8174 <em> 8175 string 8176 </em> 8177 </td> 8178 <td> 8179 <em>(Optional)</em> 8180 <p>DelayedCloseTimeout defines how long envoy will wait, once connection 8181 close processing has been initiated, for the downstream peer to close 8182 the connection before Envoy closes the socket associated with the connection.</p> 8183 <p>Setting this timeout to ‘infinity’ will disable it, equivalent to setting it to ‘0’ 8184 in Envoy. Leaving it unset will result in the Envoy default value being used.</p> 8185 <p>See <a href="https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto#envoy-v3-api-field-extensions-filters-network-http-connection-manager-v3-httpconnectionmanager-delayed-close-timeout">https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto#envoy-v3-api-field-extensions-filters-network-http-connection-manager-v3-httpconnectionmanager-delayed-close-timeout</a> 8186 for more information.</p> 8187 </td> 8188 </tr> 8189 <tr> 8190 <td style="white-space:nowrap"> 8191 <code>connectionShutdownGracePeriod</code> 8192 <br> 8193 <em> 8194 string 8195 </em> 8196 </td> 8197 <td> 8198 <em>(Optional)</em> 8199 <p>ConnectionShutdownGracePeriod defines how long the proxy will wait between sending an 8200 initial GOAWAY frame and a second, final GOAWAY frame when terminating an HTTP/2 connection. 8201 During this grace period, the proxy will continue to respond to new streams. After the final 8202 GOAWAY frame has been sent, the proxy will refuse new streams.</p> 8203 <p>See <a href="https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto#envoy-v3-api-field-extensions-filters-network-http-connection-manager-v3-httpconnectionmanager-drain-timeout">https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto#envoy-v3-api-field-extensions-filters-network-http-connection-manager-v3-httpconnectionmanager-drain-timeout</a> 8204 for more information.</p> 8205 </td> 8206 </tr> 8207 <tr> 8208 <td style="white-space:nowrap"> 8209 <code>connectTimeout</code> 8210 <br> 8211 <em> 8212 string 8213 </em> 8214 </td> 8215 <td> 8216 <em>(Optional)</em> 8217 <p>ConnectTimeout defines how long the proxy should wait when establishing connection to upstream service. 8218 If not set, a default value of 2 seconds will be used.</p> 8219 <p>See <a href="https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/cluster/v3/cluster.proto#envoy-v3-api-field-config-cluster-v3-cluster-connect-timeout">https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/cluster/v3/cluster.proto#envoy-v3-api-field-config-cluster-v3-cluster-connect-timeout</a> 8220 for more information.</p> 8221 </td> 8222 </tr> 8223 </tbody> 8224 </table> 8225 <h3 id="projectcontour.io/v1alpha1.TracingConfig">TracingConfig 8226 </h3> 8227 <p> 8228 (<em>Appears on:</em> 8229 <a href="#projectcontour.io/v1alpha1.ContourConfigurationSpec">ContourConfigurationSpec</a>) 8230 </p> 8231 <p> 8232 <p>TracingConfig defines properties for exporting trace data to OpenTelemetry.</p> 8233 </p> 8234 <table> 8235 <thead> 8236 <tr> 8237 <th>Field</th> 8238 <th>Description</th> 8239 </tr> 8240 </thead> 8241 <tbody> 8242 <tr> 8243 <td style="white-space:nowrap"> 8244 <code>includePodDetail</code> 8245 <br> 8246 <em> 8247 bool 8248 </em> 8249 </td> 8250 <td> 8251 <em>(Optional)</em> 8252 <p>IncludePodDetail defines a flag. 8253 If it is true, contour will add the pod name and namespace to the span of the trace. 8254 the default is true. 8255 Note: The Envoy pods MUST have the HOSTNAME and CONTOUR_NAMESPACE environment variables set for this to work properly.</p> 8256 </td> 8257 </tr> 8258 <tr> 8259 <td style="white-space:nowrap"> 8260 <code>serviceName</code> 8261 <br> 8262 <em> 8263 string 8264 </em> 8265 </td> 8266 <td> 8267 <p>ServiceName defines the name for the service. 8268 contour’s default is contour.</p> 8269 </td> 8270 </tr> 8271 <tr> 8272 <td style="white-space:nowrap"> 8273 <code>overallSampling</code> 8274 <br> 8275 <em> 8276 string 8277 </em> 8278 </td> 8279 <td> 8280 <em>(Optional)</em> 8281 <p>OverallSampling defines the sampling rate of trace data. 8282 contour’s default is 100.</p> 8283 </td> 8284 </tr> 8285 <tr> 8286 <td style="white-space:nowrap"> 8287 <code>maxPathTagLength</code> 8288 <br> 8289 <em> 8290 uint32 8291 </em> 8292 </td> 8293 <td> 8294 <em>(Optional)</em> 8295 <p>MaxPathTagLength defines maximum length of the request path 8296 to extract and include in the HttpUrl tag. 8297 contour’s default is 256.</p> 8298 </td> 8299 </tr> 8300 <tr> 8301 <td style="white-space:nowrap"> 8302 <code>customTags</code> 8303 <br> 8304 <em> 8305 <a href="#projectcontour.io/v1alpha1.*github.com/projectcontour/contour/apis/projectcontour/v1alpha1.CustomTag"> 8306 []*github.com/projectcontour/contour/apis/projectcontour/v1alpha1.CustomTag 8307 </a> 8308 </em> 8309 </td> 8310 <td> 8311 <em>(Optional)</em> 8312 <p>CustomTags defines a list of custom tags with unique tag name.</p> 8313 </td> 8314 </tr> 8315 <tr> 8316 <td style="white-space:nowrap"> 8317 <code>extensionService</code> 8318 <br> 8319 <em> 8320 <a href="#projectcontour.io/v1alpha1.NamespacedName"> 8321 NamespacedName 8322 </a> 8323 </em> 8324 </td> 8325 <td> 8326 <p>ExtensionService identifies the extension service defining the otel-collector.</p> 8327 </td> 8328 </tr> 8329 </tbody> 8330 </table> 8331 <h3 id="projectcontour.io/v1alpha1.WorkloadType">WorkloadType 8332 (<code>string</code> alias)</p></h3> 8333 <p> 8334 (<em>Appears on:</em> 8335 <a href="#projectcontour.io/v1alpha1.EnvoySettings">EnvoySettings</a>) 8336 </p> 8337 <p> 8338 <p>WorkloadType is the type of Kubernetes workload to use for a component.</p> 8339 </p> 8340 <h3 id="projectcontour.io/v1alpha1.XDSServerConfig">XDSServerConfig 8341 </h3> 8342 <p> 8343 (<em>Appears on:</em> 8344 <a href="#projectcontour.io/v1alpha1.ContourConfigurationSpec">ContourConfigurationSpec</a>) 8345 </p> 8346 <p> 8347 <p>XDSServerConfig holds the config for the Contour xDS server.</p> 8348 </p> 8349 <table> 8350 <thead> 8351 <tr> 8352 <th>Field</th> 8353 <th>Description</th> 8354 </tr> 8355 </thead> 8356 <tbody> 8357 <tr> 8358 <td style="white-space:nowrap"> 8359 <code>type</code> 8360 <br> 8361 <em> 8362 <a href="#projectcontour.io/v1alpha1.XDSServerType"> 8363 XDSServerType 8364 </a> 8365 </em> 8366 </td> 8367 <td> 8368 <em>(Optional)</em> 8369 <p>Defines the XDSServer to use for <code>contour serve</code>.</p> 8370 <p>Values: <code>contour</code> (default), <code>envoy</code>.</p> 8371 <p>Other values will produce an error.</p> 8372 </td> 8373 </tr> 8374 <tr> 8375 <td style="white-space:nowrap"> 8376 <code>address</code> 8377 <br> 8378 <em> 8379 string 8380 </em> 8381 </td> 8382 <td> 8383 <em>(Optional)</em> 8384 <p>Defines the xDS gRPC API address which Contour will serve.</p> 8385 <p>Contour’s default is “0.0.0.0”.</p> 8386 </td> 8387 </tr> 8388 <tr> 8389 <td style="white-space:nowrap"> 8390 <code>port</code> 8391 <br> 8392 <em> 8393 int 8394 </em> 8395 </td> 8396 <td> 8397 <em>(Optional)</em> 8398 <p>Defines the xDS gRPC API port which Contour will serve.</p> 8399 <p>Contour’s default is 8001.</p> 8400 </td> 8401 </tr> 8402 <tr> 8403 <td style="white-space:nowrap"> 8404 <code>tls</code> 8405 <br> 8406 <em> 8407 <a href="#projectcontour.io/v1alpha1.TLS"> 8408 TLS 8409 </a> 8410 </em> 8411 </td> 8412 <td> 8413 <em>(Optional)</em> 8414 <p>TLS holds TLS file config details.</p> 8415 <p>Contour’s default is { caFile: “/certs/ca.crt”, certFile: “/certs/tls.cert”, keyFile: “/certs/tls.key”, insecure: false }.</p> 8416 </td> 8417 </tr> 8418 </tbody> 8419 </table> 8420 <h3 id="projectcontour.io/v1alpha1.XDSServerType">XDSServerType 8421 (<code>string</code> alias)</p></h3> 8422 <p> 8423 (<em>Appears on:</em> 8424 <a href="#projectcontour.io/v1alpha1.XDSServerConfig">XDSServerConfig</a>) 8425 </p> 8426 <p> 8427 <p>XDSServerType is the type of xDS server implementation.</p> 8428 </p> 8429 <table> 8430 <thead> 8431 <tr> 8432 <th>Value</th> 8433 <th>Description</th> 8434 </tr> 8435 </thead> 8436 <tbody><tr><td><p>"contour"</p></td> 8437 <td><p>Use Contour’s xDS server.</p> 8438 </td> 8439 </tr><tr><td><p>"envoy"</p></td> 8440 <td><p>Use the upstream <code>go-control-plane</code>-based xDS server.</p> 8441 </td> 8442 </tr></tbody> 8443 </table> 8444 <hr/> 8445 <p><em> 8446 Generated with <code>gen-crd-api-reference-docs</code>. 8447 </em></p>