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