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