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