github.com/projectcontour/contour@v1.28.2/site/content/docs/v1.17.1/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 class="table table-striped table-borderless" style="border:none"> 33 <thead class="border-bottom"> 34 <tr> 35 <th>Field</th> 36 <th>Description</th> 37 </tr> 38 </thead> 39 <tbody class="border-top"> 40 <tr> 41 <td> 42 <code>apiVersion</code> 43 <br> 44 string</td> 45 <td> 46 <code> 47 projectcontour.io/v1 48 </code> 49 </td> 50 </tr> 51 <tr> 52 <td> 53 <code>kind</code> 54 <br> 55 string 56 </td> 57 <td><code>HTTPProxy</code></td> 58 </tr> 59 <tr> 60 <td style="white-space:nowrap"> 61 <code>metadata</code> 62 <br> 63 <em> 64 <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#objectmeta-v1-meta"> 65 Kubernetes meta/v1.ObjectMeta 66 </a> 67 </em> 68 </td> 69 <td> 70 Refer to the Kubernetes API documentation for the fields of the 71 <code>metadata</code> field. 72 </td> 73 </tr> 74 <tr> 75 <td style="white-space:nowrap"> 76 <code>spec</code> 77 <br> 78 <em> 79 <a href="#projectcontour.io/v1.HTTPProxySpec"> 80 HTTPProxySpec 81 </a> 82 </em> 83 </td> 84 <td> 85 <br> 86 <br> 87 <table style="border:none"> 88 <tr> 89 <td style="white-space:nowrap"> 90 <code>virtualhost</code> 91 <br> 92 <em> 93 <a href="#projectcontour.io/v1.VirtualHost"> 94 VirtualHost 95 </a> 96 </em> 97 </td> 98 <td> 99 <em>(Optional)</em> 100 <p>Virtualhost appears at most once. If it is present, the object is considered 101 to be a “root” HTTPProxy.</p> 102 </td> 103 </tr> 104 <tr> 105 <td style="white-space:nowrap"> 106 <code>routes</code> 107 <br> 108 <em> 109 <a href="#projectcontour.io/v1.Route"> 110 []Route 111 </a> 112 </em> 113 </td> 114 <td> 115 <em>(Optional)</em> 116 <p>Routes are the ingress routes. If TCPProxy is present, Routes is ignored.</p> 117 </td> 118 </tr> 119 <tr> 120 <td style="white-space:nowrap"> 121 <code>tcpproxy</code> 122 <br> 123 <em> 124 <a href="#projectcontour.io/v1.TCPProxy"> 125 TCPProxy 126 </a> 127 </em> 128 </td> 129 <td> 130 <em>(Optional)</em> 131 <p>TCPProxy holds TCP proxy information.</p> 132 </td> 133 </tr> 134 <tr> 135 <td style="white-space:nowrap"> 136 <code>includes</code> 137 <br> 138 <em> 139 <a href="#projectcontour.io/v1.Include"> 140 []Include 141 </a> 142 </em> 143 </td> 144 <td> 145 <em>(Optional)</em> 146 <p>Includes allow for specific routing configuration to be included from another HTTPProxy, 147 possibly in another namespace.</p> 148 </td> 149 </tr> 150 </table> 151 </td> 152 </tr> 153 <tr> 154 <td style="white-space:nowrap"> 155 <code>status</code> 156 <br> 157 <em> 158 <a href="#projectcontour.io/v1.HTTPProxyStatus"> 159 HTTPProxyStatus 160 </a> 161 </em> 162 </td> 163 <td> 164 <em>(Optional)</em> 165 <p>Status is a container for computed information about the HTTPProxy.</p> 166 </td> 167 </tr> 168 </tbody> 169 </table> 170 <h3 id="projectcontour.io/v1.TLSCertificateDelegation">TLSCertificateDelegation 171 </h3> 172 <p> 173 <p>TLSCertificateDelegation is an TLS Certificate Delegation CRD specification. 174 See design/tls-certificate-delegation.md for details.</p> 175 </p> 176 <table class="table table-striped table-borderless" style="border:none"> 177 <thead class="border-bottom"> 178 <tr> 179 <th>Field</th> 180 <th>Description</th> 181 </tr> 182 </thead> 183 <tbody class="border-top"> 184 <tr> 185 <td> 186 <code>apiVersion</code> 187 <br> 188 string</td> 189 <td> 190 <code> 191 projectcontour.io/v1 192 </code> 193 </td> 194 </tr> 195 <tr> 196 <td> 197 <code>kind</code> 198 <br> 199 string 200 </td> 201 <td><code>TLSCertificateDelegation</code></td> 202 </tr> 203 <tr> 204 <td style="white-space:nowrap"> 205 <code>metadata</code> 206 <br> 207 <em> 208 <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#objectmeta-v1-meta"> 209 Kubernetes meta/v1.ObjectMeta 210 </a> 211 </em> 212 </td> 213 <td> 214 Refer to the Kubernetes API documentation for the fields of the 215 <code>metadata</code> field. 216 </td> 217 </tr> 218 <tr> 219 <td style="white-space:nowrap"> 220 <code>spec</code> 221 <br> 222 <em> 223 <a href="#projectcontour.io/v1.TLSCertificateDelegationSpec"> 224 TLSCertificateDelegationSpec 225 </a> 226 </em> 227 </td> 228 <td> 229 <br> 230 <br> 231 <table style="border:none"> 232 <tr> 233 <td style="white-space:nowrap"> 234 <code>delegations</code> 235 <br> 236 <em> 237 <a href="#projectcontour.io/v1.CertificateDelegation"> 238 []CertificateDelegation 239 </a> 240 </em> 241 </td> 242 <td> 243 </td> 244 </tr> 245 </table> 246 </td> 247 </tr> 248 <tr> 249 <td style="white-space:nowrap"> 250 <code>status</code> 251 <br> 252 <em> 253 <a href="#projectcontour.io/v1.TLSCertificateDelegationStatus"> 254 TLSCertificateDelegationStatus 255 </a> 256 </em> 257 </td> 258 <td> 259 <em>(Optional)</em> 260 </td> 261 </tr> 262 </tbody> 263 </table> 264 <h3 id="projectcontour.io/v1.AuthorizationPolicy">AuthorizationPolicy 265 </h3> 266 <p> 267 (<em>Appears on:</em> 268 <a href="#projectcontour.io/v1.AuthorizationServer">AuthorizationServer</a>, 269 <a href="#projectcontour.io/v1.Route">Route</a>) 270 </p> 271 <p> 272 <p>AuthorizationPolicy modifies how client requests are authenticated.</p> 273 </p> 274 <table class="table table-striped table-borderless" style="border:none"> 275 <thead class="border-bottom"> 276 <tr> 277 <th>Field</th> 278 <th>Description</th> 279 </tr> 280 </thead> 281 <tbody class="border-top"> 282 <tr> 283 <td style="white-space:nowrap"> 284 <code>disabled</code> 285 <br> 286 <em> 287 bool 288 </em> 289 </td> 290 <td> 291 <em>(Optional)</em> 292 <p>When true, this field disables client request authentication 293 for the scope of the policy.</p> 294 </td> 295 </tr> 296 <tr> 297 <td style="white-space:nowrap"> 298 <code>context</code> 299 <br> 300 <em> 301 map[string]string 302 </em> 303 </td> 304 <td> 305 <em>(Optional)</em> 306 <p>Context is a set of key/value pairs that are sent to the 307 authentication server in the check request. If a context 308 is provided at an enclosing scope, the entries are merged 309 such that the inner scope overrides matching keys from the 310 outer scope.</p> 311 </td> 312 </tr> 313 </tbody> 314 </table> 315 <h3 id="projectcontour.io/v1.AuthorizationServer">AuthorizationServer 316 </h3> 317 <p> 318 (<em>Appears on:</em> 319 <a href="#projectcontour.io/v1.VirtualHost">VirtualHost</a>) 320 </p> 321 <p> 322 <p>AuthorizationServer configures an external server to authenticate 323 client requests. The external server must implement the v3 Envoy 324 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> 325 </p> 326 <table class="table table-striped table-borderless" style="border:none"> 327 <thead class="border-bottom"> 328 <tr> 329 <th>Field</th> 330 <th>Description</th> 331 </tr> 332 </thead> 333 <tbody class="border-top"> 334 <tr> 335 <td style="white-space:nowrap"> 336 <code>extensionRef</code> 337 <br> 338 <em> 339 <a href="#projectcontour.io/v1.ExtensionServiceReference"> 340 ExtensionServiceReference 341 </a> 342 </em> 343 </td> 344 <td> 345 <p>ExtensionServiceRef specifies the extension resource that will authorize client requests.</p> 346 </td> 347 </tr> 348 <tr> 349 <td style="white-space:nowrap"> 350 <code>authPolicy</code> 351 <br> 352 <em> 353 <a href="#projectcontour.io/v1.AuthorizationPolicy"> 354 AuthorizationPolicy 355 </a> 356 </em> 357 </td> 358 <td> 359 <em>(Optional)</em> 360 <p>AuthPolicy sets a default authorization policy for client requests. 361 This policy will be used unless overridden by individual routes.</p> 362 </td> 363 </tr> 364 <tr> 365 <td style="white-space:nowrap"> 366 <code>responseTimeout</code> 367 <br> 368 <em> 369 string 370 </em> 371 </td> 372 <td> 373 <em>(Optional)</em> 374 <p>ResponseTimeout configures maximum time to wait for a check response from the authorization server. 375 Timeout durations are expressed in the Go <a href="https://godoc.org/time#ParseDuration">Duration format</a>. 376 Valid time units are “ns”, “us” (or “µs”), “ms”, “s”, “m”, “h”. 377 The string “infinity” is also a valid input and specifies no timeout.</p> 378 </td> 379 </tr> 380 <tr> 381 <td style="white-space:nowrap"> 382 <code>failOpen</code> 383 <br> 384 <em> 385 bool 386 </em> 387 </td> 388 <td> 389 <em>(Optional)</em> 390 <p>If FailOpen is true, the client request is forwarded to the upstream service 391 even if the authorization server fails to respond. This field should not be 392 set in most cases. It is intended for use only while migrating applications 393 from internal authorization to Contour external authorization.</p> 394 </td> 395 </tr> 396 </tbody> 397 </table> 398 <h3 id="projectcontour.io/v1.CORSHeaderValue">CORSHeaderValue 399 (<code>string</code> alias)</h3> 400 <p> 401 (<em>Appears on:</em> 402 <a href="#projectcontour.io/v1.CORSPolicy">CORSPolicy</a>) 403 </p> 404 <p> 405 <p>CORSHeaderValue specifies the value of the string headers returned by a cross-domain request.</p> 406 </p> 407 <h3 id="projectcontour.io/v1.CORSPolicy">CORSPolicy 408 </h3> 409 <p> 410 (<em>Appears on:</em> 411 <a href="#projectcontour.io/v1.VirtualHost">VirtualHost</a>) 412 </p> 413 <p> 414 <p>CORSPolicy allows setting the CORS policy</p> 415 </p> 416 <table class="table table-striped table-borderless" style="border:none"> 417 <thead class="border-bottom"> 418 <tr> 419 <th>Field</th> 420 <th>Description</th> 421 </tr> 422 </thead> 423 <tbody class="border-top"> 424 <tr> 425 <td style="white-space:nowrap"> 426 <code>allowCredentials</code> 427 <br> 428 <em> 429 bool 430 </em> 431 </td> 432 <td> 433 <em>(Optional)</em> 434 <p>Specifies whether the resource allows credentials.</p> 435 </td> 436 </tr> 437 <tr> 438 <td style="white-space:nowrap"> 439 <code>allowOrigin</code> 440 <br> 441 <em> 442 []string 443 </em> 444 </td> 445 <td> 446 <p>AllowOrigin specifies the origins that will be allowed to do CORS requests. “*” means 447 allow any origin.</p> 448 </td> 449 </tr> 450 <tr> 451 <td style="white-space:nowrap"> 452 <code>allowMethods</code> 453 <br> 454 <em> 455 <a href="#projectcontour.io/v1.CORSHeaderValue"> 456 []CORSHeaderValue 457 </a> 458 </em> 459 </td> 460 <td> 461 <p>AllowMethods specifies the content for the <em>access-control-allow-methods</em> header.</p> 462 </td> 463 </tr> 464 <tr> 465 <td style="white-space:nowrap"> 466 <code>allowHeaders</code> 467 <br> 468 <em> 469 <a href="#projectcontour.io/v1.CORSHeaderValue"> 470 []CORSHeaderValue 471 </a> 472 </em> 473 </td> 474 <td> 475 <em>(Optional)</em> 476 <p>AllowHeaders specifies the content for the <em>access-control-allow-headers</em> header.</p> 477 </td> 478 </tr> 479 <tr> 480 <td style="white-space:nowrap"> 481 <code>exposeHeaders</code> 482 <br> 483 <em> 484 <a href="#projectcontour.io/v1.CORSHeaderValue"> 485 []CORSHeaderValue 486 </a> 487 </em> 488 </td> 489 <td> 490 <em>(Optional)</em> 491 <p>ExposeHeaders Specifies the content for the <em>access-control-expose-headers</em> header.</p> 492 </td> 493 </tr> 494 <tr> 495 <td style="white-space:nowrap"> 496 <code>maxAge</code> 497 <br> 498 <em> 499 string 500 </em> 501 </td> 502 <td> 503 <em>(Optional)</em> 504 <p>MaxAge indicates for how long the results of a preflight request can be cached. 505 MaxAge durations are expressed in the Go <a href="https://godoc.org/time#ParseDuration">Duration format</a>. 506 Valid time units are “ns”, “us” (or “µs”), “ms”, “s”, “m”, “h”. 507 Only positive values are allowed while 0 disables the cache requiring a preflight OPTIONS 508 check for all cross-origin requests.</p> 509 </td> 510 </tr> 511 </tbody> 512 </table> 513 <h3 id="projectcontour.io/v1.CertificateDelegation">CertificateDelegation 514 </h3> 515 <p> 516 (<em>Appears on:</em> 517 <a href="#projectcontour.io/v1.TLSCertificateDelegationSpec">TLSCertificateDelegationSpec</a>) 518 </p> 519 <p> 520 <p>CertificateDelegation maps the authority to reference a secret 521 in the current namespace to a set of namespaces.</p> 522 </p> 523 <table class="table table-striped table-borderless" style="border:none"> 524 <thead class="border-bottom"> 525 <tr> 526 <th>Field</th> 527 <th>Description</th> 528 </tr> 529 </thead> 530 <tbody class="border-top"> 531 <tr> 532 <td style="white-space:nowrap"> 533 <code>secretName</code> 534 <br> 535 <em> 536 string 537 </em> 538 </td> 539 <td> 540 <p>required, the name of a secret in the current namespace.</p> 541 </td> 542 </tr> 543 <tr> 544 <td style="white-space:nowrap"> 545 <code>targetNamespaces</code> 546 <br> 547 <em> 548 []string 549 </em> 550 </td> 551 <td> 552 <p>required, the namespaces the authority to reference the 553 the secret will be delegated to. 554 If TargetNamespaces is nil or empty, the CertificateDelegation’ 555 is ignored. If the TargetNamespace list contains the character, “*” 556 the secret will be delegated to all namespaces.</p> 557 </td> 558 </tr> 559 </tbody> 560 </table> 561 <h3 id="projectcontour.io/v1.DetailedCondition">DetailedCondition 562 </h3> 563 <p> 564 (<em>Appears on:</em> 565 <a href="#projectcontour.io/v1.HTTPProxyStatus">HTTPProxyStatus</a>, 566 <a href="#projectcontour.io/v1.TLSCertificateDelegationStatus">TLSCertificateDelegationStatus</a>, 567 <a href="#projectcontour.io/v1alpha1.ExtensionServiceStatus">ExtensionServiceStatus</a>) 568 </p> 569 <p> 570 <p>DetailedCondition is an extension of the normal Kubernetes conditions, with two extra 571 fields to hold sub-conditions, which provide more detailed reasons for the state (True or False) 572 of the condition.</p> 573 <p><code>errors</code> holds information about sub-conditions which are fatal to that condition and render its state False.</p> 574 <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> 575 <p>Remember that Conditions have a type, a status, and a reason.</p> 576 <p>The type is the type of the condition, the most important one in this CRD set is <code>Valid</code>. 577 <code>Valid</code> is a positive-polarity condition: when it is <code>status: true</code> there are no problems.</p> 578 <p>In more detail, <code>status: true</code> means that the object is has been ingested into Contour with no errors. 579 <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> 580 slice in this case.</p> 581 <p><code>Valid</code>, <code>status: false</code> means that the object has had one or more fatal errors during processing into Contour. 582 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> 583 slice if <code>status</code> is <code>false</code>.</p> 584 <p>For DetailedConditions of types other than <code>Valid</code>, the Condition must be in the negative polarity. 585 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. 586 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. 587 In either case, there may be entries in the <code>warnings</code> slice.</p> 588 <p>Regardless of the polarity, the <code>reason</code> and <code>message</code> fields must be updated with either the detail of the reason 589 (if there is one and only one entry in total across both the <code>errors</code> and <code>warnings</code> slices), or 590 <code>MultipleReasons</code> if there is more than one entry.</p> 591 </p> 592 <table class="table table-striped table-borderless" style="border:none"> 593 <thead class="border-bottom"> 594 <tr> 595 <th>Field</th> 596 <th>Description</th> 597 </tr> 598 </thead> 599 <tbody class="border-top"> 600 <tr> 601 <td style="white-space:nowrap"> 602 <code>Condition</code> 603 <br> 604 <em> 605 <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#condition-v1-meta"> 606 Kubernetes meta/v1.Condition 607 </a> 608 </em> 609 </td> 610 <td> 611 <p> 612 (Members of <code>Condition</code> are embedded into this type.) 613 </p> 614 </td> 615 </tr> 616 <tr> 617 <td style="white-space:nowrap"> 618 <code>errors</code> 619 <br> 620 <em> 621 <a href="#projectcontour.io/v1.SubCondition"> 622 []SubCondition 623 </a> 624 </em> 625 </td> 626 <td> 627 <em>(Optional)</em> 628 <p>Errors contains a slice of relevant error subconditions for this object.</p> 629 <p>Subconditions are expected to appear when relevant (when there is a error), and disappear when not relevant. 630 An empty slice here indicates no errors.</p> 631 </td> 632 </tr> 633 <tr> 634 <td style="white-space:nowrap"> 635 <code>warnings</code> 636 <br> 637 <em> 638 <a href="#projectcontour.io/v1.SubCondition"> 639 []SubCondition 640 </a> 641 </em> 642 </td> 643 <td> 644 <em>(Optional)</em> 645 <p>Warnings contains a slice of relevant warning subconditions for this object.</p> 646 <p>Subconditions are expected to appear when relevant (when there is a warning), and disappear when not relevant. 647 An empty slice here indicates no warnings.</p> 648 </td> 649 </tr> 650 </tbody> 651 </table> 652 <h3 id="projectcontour.io/v1.DownstreamValidation">DownstreamValidation 653 </h3> 654 <p> 655 (<em>Appears on:</em> 656 <a href="#projectcontour.io/v1.TLS">TLS</a>) 657 </p> 658 <p> 659 <p>DownstreamValidation defines how to verify the client certificate.</p> 660 </p> 661 <table class="table table-striped table-borderless" style="border:none"> 662 <thead class="border-bottom"> 663 <tr> 664 <th>Field</th> 665 <th>Description</th> 666 </tr> 667 </thead> 668 <tbody class="border-top"> 669 <tr> 670 <td style="white-space:nowrap"> 671 <code>caSecret</code> 672 <br> 673 <em> 674 string 675 </em> 676 </td> 677 <td> 678 <em>(Optional)</em> 679 <p>Name of a Kubernetes secret that contains a CA certificate bundle. 680 The client certificate must validate against the certificates in the bundle. 681 If specified and SkipClientCertValidation is true, client certificates will 682 be required on requests.</p> 683 </td> 684 </tr> 685 <tr> 686 <td style="white-space:nowrap"> 687 <code>skipClientCertValidation</code> 688 <br> 689 <em> 690 bool 691 </em> 692 </td> 693 <td> 694 <em>(Optional)</em> 695 <p>SkipClientCertValidation disables downstream client certificate 696 validation. Defaults to false. This field is intended to be used in 697 conjunction with external authorization in order to enable the external 698 authorization server to validate client certificates. When this field 699 is set to true, client certificates are requested but not verified by 700 Envoy. If CACertificate is specified, client certificates are required on 701 requests, but not verified. If external authorization is in use, they are 702 presented to the external authorization server.</p> 703 </td> 704 </tr> 705 </tbody> 706 </table> 707 <h3 id="projectcontour.io/v1.ExtensionServiceReference">ExtensionServiceReference 708 </h3> 709 <p> 710 (<em>Appears on:</em> 711 <a href="#projectcontour.io/v1.AuthorizationServer">AuthorizationServer</a>) 712 </p> 713 <p> 714 <p>ExtensionServiceReference names an ExtensionService resource.</p> 715 </p> 716 <table class="table table-striped table-borderless" style="border:none"> 717 <thead class="border-bottom"> 718 <tr> 719 <th>Field</th> 720 <th>Description</th> 721 </tr> 722 </thead> 723 <tbody class="border-top"> 724 <tr> 725 <td style="white-space:nowrap"> 726 <code>apiVersion</code> 727 <br> 728 <em> 729 string 730 </em> 731 </td> 732 <td> 733 <em>(Optional)</em> 734 <p>API version of the referent. 735 If this field is not specified, the default “projectcontour.io/v1alpha1” will be used</p> 736 </td> 737 </tr> 738 <tr> 739 <td style="white-space:nowrap"> 740 <code>namespace</code> 741 <br> 742 <em> 743 string 744 </em> 745 </td> 746 <td> 747 <em>(Optional)</em> 748 <p>Namespace of the referent. 749 If this field is not specifies, the namespace of the resource that targets the referent will be used.</p> 750 <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> 751 </td> 752 </tr> 753 <tr> 754 <td style="white-space:nowrap"> 755 <code>name</code> 756 <br> 757 <em> 758 string 759 </em> 760 </td> 761 <td> 762 <p>Name of the referent.</p> 763 <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> 764 </td> 765 </tr> 766 </tbody> 767 </table> 768 <h3 id="projectcontour.io/v1.GenericKeyDescriptor">GenericKeyDescriptor 769 </h3> 770 <p> 771 (<em>Appears on:</em> 772 <a href="#projectcontour.io/v1.RateLimitDescriptorEntry">RateLimitDescriptorEntry</a>) 773 </p> 774 <p> 775 <p>GenericKeyDescriptor defines a descriptor entry with a static key and 776 value.</p> 777 </p> 778 <table class="table table-striped table-borderless" style="border:none"> 779 <thead class="border-bottom"> 780 <tr> 781 <th>Field</th> 782 <th>Description</th> 783 </tr> 784 </thead> 785 <tbody class="border-top"> 786 <tr> 787 <td style="white-space:nowrap"> 788 <code>key</code> 789 <br> 790 <em> 791 string 792 </em> 793 </td> 794 <td> 795 <em>(Optional)</em> 796 <p>Key defines the key of the descriptor entry. If not set, the 797 key is set to “generic_key”.</p> 798 </td> 799 </tr> 800 <tr> 801 <td style="white-space:nowrap"> 802 <code>value</code> 803 <br> 804 <em> 805 string 806 </em> 807 </td> 808 <td> 809 <p>Value defines the value of the descriptor entry.</p> 810 </td> 811 </tr> 812 </tbody> 813 </table> 814 <h3 id="projectcontour.io/v1.GlobalRateLimitPolicy">GlobalRateLimitPolicy 815 </h3> 816 <p> 817 (<em>Appears on:</em> 818 <a href="#projectcontour.io/v1.RateLimitPolicy">RateLimitPolicy</a>) 819 </p> 820 <p> 821 <p>GlobalRateLimitPolicy defines global rate limiting parameters.</p> 822 </p> 823 <table class="table table-striped table-borderless" style="border:none"> 824 <thead class="border-bottom"> 825 <tr> 826 <th>Field</th> 827 <th>Description</th> 828 </tr> 829 </thead> 830 <tbody class="border-top"> 831 <tr> 832 <td style="white-space:nowrap"> 833 <code>descriptors</code> 834 <br> 835 <em> 836 <a href="#projectcontour.io/v1.RateLimitDescriptor"> 837 []RateLimitDescriptor 838 </a> 839 </em> 840 </td> 841 <td> 842 <p>Descriptors defines the list of descriptors that will 843 be generated and sent to the rate limit service. Each 844 descriptor contains 1+ key-value pair entries.</p> 845 </td> 846 </tr> 847 </tbody> 848 </table> 849 <h3 id="projectcontour.io/v1.HTTPHealthCheckPolicy">HTTPHealthCheckPolicy 850 </h3> 851 <p> 852 (<em>Appears on:</em> 853 <a href="#projectcontour.io/v1.Route">Route</a>) 854 </p> 855 <p> 856 <p>HTTPHealthCheckPolicy defines health checks on the upstream service.</p> 857 </p> 858 <table class="table table-striped table-borderless" style="border:none"> 859 <thead class="border-bottom"> 860 <tr> 861 <th>Field</th> 862 <th>Description</th> 863 </tr> 864 </thead> 865 <tbody class="border-top"> 866 <tr> 867 <td style="white-space:nowrap"> 868 <code>path</code> 869 <br> 870 <em> 871 string 872 </em> 873 </td> 874 <td> 875 <p>HTTP endpoint used to perform health checks on upstream service</p> 876 </td> 877 </tr> 878 <tr> 879 <td style="white-space:nowrap"> 880 <code>host</code> 881 <br> 882 <em> 883 string 884 </em> 885 </td> 886 <td> 887 <p>The value of the host header in the HTTP health check request. 888 If left empty (default value), the name “contour-envoy-healthcheck” 889 will be used.</p> 890 </td> 891 </tr> 892 <tr> 893 <td style="white-space:nowrap"> 894 <code>intervalSeconds</code> 895 <br> 896 <em> 897 int64 898 </em> 899 </td> 900 <td> 901 <em>(Optional)</em> 902 <p>The interval (seconds) between health checks</p> 903 </td> 904 </tr> 905 <tr> 906 <td style="white-space:nowrap"> 907 <code>timeoutSeconds</code> 908 <br> 909 <em> 910 int64 911 </em> 912 </td> 913 <td> 914 <em>(Optional)</em> 915 <p>The time to wait (seconds) for a health check response</p> 916 </td> 917 </tr> 918 <tr> 919 <td style="white-space:nowrap"> 920 <code>unhealthyThresholdCount</code> 921 <br> 922 <em> 923 int64 924 </em> 925 </td> 926 <td> 927 <em>(Optional)</em> 928 <p>The number of unhealthy health checks required before a host is marked unhealthy</p> 929 </td> 930 </tr> 931 <tr> 932 <td style="white-space:nowrap"> 933 <code>healthyThresholdCount</code> 934 <br> 935 <em> 936 int64 937 </em> 938 </td> 939 <td> 940 <em>(Optional)</em> 941 <p>The number of healthy health checks required before a host is marked healthy</p> 942 </td> 943 </tr> 944 </tbody> 945 </table> 946 <h3 id="projectcontour.io/v1.HTTPProxySpec">HTTPProxySpec 947 </h3> 948 <p> 949 (<em>Appears on:</em> 950 <a href="#projectcontour.io/v1.HTTPProxy">HTTPProxy</a>) 951 </p> 952 <p> 953 <p>HTTPProxySpec defines the spec of the CRD.</p> 954 </p> 955 <table class="table table-striped table-borderless" style="border:none"> 956 <thead class="border-bottom"> 957 <tr> 958 <th>Field</th> 959 <th>Description</th> 960 </tr> 961 </thead> 962 <tbody class="border-top"> 963 <tr> 964 <td style="white-space:nowrap"> 965 <code>virtualhost</code> 966 <br> 967 <em> 968 <a href="#projectcontour.io/v1.VirtualHost"> 969 VirtualHost 970 </a> 971 </em> 972 </td> 973 <td> 974 <em>(Optional)</em> 975 <p>Virtualhost appears at most once. If it is present, the object is considered 976 to be a “root” HTTPProxy.</p> 977 </td> 978 </tr> 979 <tr> 980 <td style="white-space:nowrap"> 981 <code>routes</code> 982 <br> 983 <em> 984 <a href="#projectcontour.io/v1.Route"> 985 []Route 986 </a> 987 </em> 988 </td> 989 <td> 990 <em>(Optional)</em> 991 <p>Routes are the ingress routes. If TCPProxy is present, Routes is ignored.</p> 992 </td> 993 </tr> 994 <tr> 995 <td style="white-space:nowrap"> 996 <code>tcpproxy</code> 997 <br> 998 <em> 999 <a href="#projectcontour.io/v1.TCPProxy"> 1000 TCPProxy 1001 </a> 1002 </em> 1003 </td> 1004 <td> 1005 <em>(Optional)</em> 1006 <p>TCPProxy holds TCP proxy information.</p> 1007 </td> 1008 </tr> 1009 <tr> 1010 <td style="white-space:nowrap"> 1011 <code>includes</code> 1012 <br> 1013 <em> 1014 <a href="#projectcontour.io/v1.Include"> 1015 []Include 1016 </a> 1017 </em> 1018 </td> 1019 <td> 1020 <em>(Optional)</em> 1021 <p>Includes allow for specific routing configuration to be included from another HTTPProxy, 1022 possibly in another namespace.</p> 1023 </td> 1024 </tr> 1025 </tbody> 1026 </table> 1027 <h3 id="projectcontour.io/v1.HTTPProxyStatus">HTTPProxyStatus 1028 </h3> 1029 <p> 1030 (<em>Appears on:</em> 1031 <a href="#projectcontour.io/v1.HTTPProxy">HTTPProxy</a>) 1032 </p> 1033 <p> 1034 <p>HTTPProxyStatus reports the current state of the HTTPProxy.</p> 1035 </p> 1036 <table class="table table-striped table-borderless" style="border:none"> 1037 <thead class="border-bottom"> 1038 <tr> 1039 <th>Field</th> 1040 <th>Description</th> 1041 </tr> 1042 </thead> 1043 <tbody class="border-top"> 1044 <tr> 1045 <td style="white-space:nowrap"> 1046 <code>currentStatus</code> 1047 <br> 1048 <em> 1049 string 1050 </em> 1051 </td> 1052 <td> 1053 <em>(Optional)</em> 1054 </td> 1055 </tr> 1056 <tr> 1057 <td style="white-space:nowrap"> 1058 <code>description</code> 1059 <br> 1060 <em> 1061 string 1062 </em> 1063 </td> 1064 <td> 1065 <em>(Optional)</em> 1066 </td> 1067 </tr> 1068 <tr> 1069 <td style="white-space:nowrap"> 1070 <code>loadBalancer</code> 1071 <br> 1072 <em> 1073 <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#loadbalancerstatus-v1-core"> 1074 Kubernetes core/v1.LoadBalancerStatus 1075 </a> 1076 </em> 1077 </td> 1078 <td> 1079 <em>(Optional)</em> 1080 <p>LoadBalancer contains the current status of the load balancer.</p> 1081 </td> 1082 </tr> 1083 <tr> 1084 <td style="white-space:nowrap"> 1085 <code>conditions</code> 1086 <br> 1087 <em> 1088 <a href="#projectcontour.io/v1.DetailedCondition"> 1089 []DetailedCondition 1090 </a> 1091 </em> 1092 </td> 1093 <td> 1094 <em>(Optional)</em> 1095 <p>Conditions contains information about the current status of the HTTPProxy, 1096 in an upstream-friendly container.</p> 1097 <p>Contour will update a single condition, <code>Valid</code>, that is in normal-true polarity. 1098 That is, when <code>currentStatus</code> is <code>valid</code>, the <code>Valid</code> condition will be <code>status: true</code>, 1099 and vice versa.</p> 1100 <p>Contour will leave untouched any other Conditions set in this block, 1101 in case some other controller wants to add a Condition.</p> 1102 <p>If you are another controller owner and wish to add a condition, you <em>should</em> 1103 namespace your condition with a label, like <code>controller.domain.com/ConditionName</code>.</p> 1104 </td> 1105 </tr> 1106 </tbody> 1107 </table> 1108 <h3 id="projectcontour.io/v1.HeaderHashOptions">HeaderHashOptions 1109 </h3> 1110 <p> 1111 (<em>Appears on:</em> 1112 <a href="#projectcontour.io/v1.RequestHashPolicy">RequestHashPolicy</a>) 1113 </p> 1114 <p> 1115 <p>HeaderHashOptions contains options to configure a HTTP request header hash 1116 policy, used in request attribute hash based load balancing.</p> 1117 </p> 1118 <table class="table table-striped table-borderless" style="border:none"> 1119 <thead class="border-bottom"> 1120 <tr> 1121 <th>Field</th> 1122 <th>Description</th> 1123 </tr> 1124 </thead> 1125 <tbody class="border-top"> 1126 <tr> 1127 <td style="white-space:nowrap"> 1128 <code>headerName</code> 1129 <br> 1130 <em> 1131 string 1132 </em> 1133 </td> 1134 <td> 1135 <p>HeaderName is the name of the HTTP request header that will be used to 1136 calculate the hash key. If the header specified is not present on a 1137 request, no hash will be produced.</p> 1138 </td> 1139 </tr> 1140 </tbody> 1141 </table> 1142 <h3 id="projectcontour.io/v1.HeaderMatchCondition">HeaderMatchCondition 1143 </h3> 1144 <p> 1145 (<em>Appears on:</em> 1146 <a href="#projectcontour.io/v1.MatchCondition">MatchCondition</a>, 1147 <a href="#projectcontour.io/v1.RequestHeaderValueMatchDescriptor">RequestHeaderValueMatchDescriptor</a>) 1148 </p> 1149 <p> 1150 <p>HeaderMatchCondition specifies how to conditionally match against HTTP 1151 headers. The Name field is required, but only one of the remaining 1152 fields should be be provided.</p> 1153 </p> 1154 <table class="table table-striped table-borderless" style="border:none"> 1155 <thead class="border-bottom"> 1156 <tr> 1157 <th>Field</th> 1158 <th>Description</th> 1159 </tr> 1160 </thead> 1161 <tbody class="border-top"> 1162 <tr> 1163 <td style="white-space:nowrap"> 1164 <code>name</code> 1165 <br> 1166 <em> 1167 string 1168 </em> 1169 </td> 1170 <td> 1171 <p>Name is the name of the header to match against. Name is required. 1172 Header names are case insensitive.</p> 1173 </td> 1174 </tr> 1175 <tr> 1176 <td style="white-space:nowrap"> 1177 <code>present</code> 1178 <br> 1179 <em> 1180 bool 1181 </em> 1182 </td> 1183 <td> 1184 <em>(Optional)</em> 1185 <p>Present specifies that condition is true when the named header 1186 is present, regardless of its value. Note that setting Present 1187 to false does not make the condition true if the named header 1188 is absent.</p> 1189 </td> 1190 </tr> 1191 <tr> 1192 <td style="white-space:nowrap"> 1193 <code>notpresent</code> 1194 <br> 1195 <em> 1196 bool 1197 </em> 1198 </td> 1199 <td> 1200 <em>(Optional)</em> 1201 <p>NotPresent specifies that condition is true when the named header 1202 is not present. Note that setting NotPresent to false does not 1203 make the condition true if the named header is present.</p> 1204 </td> 1205 </tr> 1206 <tr> 1207 <td style="white-space:nowrap"> 1208 <code>contains</code> 1209 <br> 1210 <em> 1211 string 1212 </em> 1213 </td> 1214 <td> 1215 <em>(Optional)</em> 1216 <p>Contains specifies a substring that must be present in 1217 the header value.</p> 1218 </td> 1219 </tr> 1220 <tr> 1221 <td style="white-space:nowrap"> 1222 <code>notcontains</code> 1223 <br> 1224 <em> 1225 string 1226 </em> 1227 </td> 1228 <td> 1229 <em>(Optional)</em> 1230 <p>NotContains specifies a substring that must not be present 1231 in the header value.</p> 1232 </td> 1233 </tr> 1234 <tr> 1235 <td style="white-space:nowrap"> 1236 <code>exact</code> 1237 <br> 1238 <em> 1239 string 1240 </em> 1241 </td> 1242 <td> 1243 <em>(Optional)</em> 1244 <p>Exact specifies a string that the header value must be equal to.</p> 1245 </td> 1246 </tr> 1247 <tr> 1248 <td style="white-space:nowrap"> 1249 <code>notexact</code> 1250 <br> 1251 <em> 1252 string 1253 </em> 1254 </td> 1255 <td> 1256 <em>(Optional)</em> 1257 <p>NoExact specifies a string that the header value must not be 1258 equal to. The condition is true if the header has any other value.</p> 1259 </td> 1260 </tr> 1261 </tbody> 1262 </table> 1263 <h3 id="projectcontour.io/v1.HeaderValue">HeaderValue 1264 </h3> 1265 <p> 1266 (<em>Appears on:</em> 1267 <a href="#projectcontour.io/v1.HeadersPolicy">HeadersPolicy</a>, 1268 <a href="#projectcontour.io/v1.LocalRateLimitPolicy">LocalRateLimitPolicy</a>) 1269 </p> 1270 <p> 1271 <p>HeaderValue represents a header name/value pair</p> 1272 </p> 1273 <table class="table table-striped table-borderless" style="border:none"> 1274 <thead class="border-bottom"> 1275 <tr> 1276 <th>Field</th> 1277 <th>Description</th> 1278 </tr> 1279 </thead> 1280 <tbody class="border-top"> 1281 <tr> 1282 <td style="white-space:nowrap"> 1283 <code>name</code> 1284 <br> 1285 <em> 1286 string 1287 </em> 1288 </td> 1289 <td> 1290 <p>Name represents a key of a header</p> 1291 </td> 1292 </tr> 1293 <tr> 1294 <td style="white-space:nowrap"> 1295 <code>value</code> 1296 <br> 1297 <em> 1298 string 1299 </em> 1300 </td> 1301 <td> 1302 <p>Value represents the value of a header specified by a key</p> 1303 </td> 1304 </tr> 1305 </tbody> 1306 </table> 1307 <h3 id="projectcontour.io/v1.HeadersPolicy">HeadersPolicy 1308 </h3> 1309 <p> 1310 (<em>Appears on:</em> 1311 <a href="#projectcontour.io/v1.Route">Route</a>, 1312 <a href="#projectcontour.io/v1.Service">Service</a>) 1313 </p> 1314 <p> 1315 <p>HeadersPolicy defines how headers are managed during forwarding. 1316 The <code>Host</code> header is treated specially and if set in a HTTP response 1317 will be used as the SNI server name when forwarding over TLS. It is an 1318 error to attempt to set the <code>Host</code> header in a HTTP response.</p> 1319 </p> 1320 <table class="table table-striped table-borderless" style="border:none"> 1321 <thead class="border-bottom"> 1322 <tr> 1323 <th>Field</th> 1324 <th>Description</th> 1325 </tr> 1326 </thead> 1327 <tbody class="border-top"> 1328 <tr> 1329 <td style="white-space:nowrap"> 1330 <code>set</code> 1331 <br> 1332 <em> 1333 <a href="#projectcontour.io/v1.HeaderValue"> 1334 []HeaderValue 1335 </a> 1336 </em> 1337 </td> 1338 <td> 1339 <em>(Optional)</em> 1340 <p>Set specifies a list of HTTP header values that will be set in the HTTP header. 1341 If the header does not exist it will be added, otherwise it will be overwritten with the new value.</p> 1342 </td> 1343 </tr> 1344 <tr> 1345 <td style="white-space:nowrap"> 1346 <code>remove</code> 1347 <br> 1348 <em> 1349 []string 1350 </em> 1351 </td> 1352 <td> 1353 <em>(Optional)</em> 1354 <p>Remove specifies a list of HTTP header names to remove.</p> 1355 </td> 1356 </tr> 1357 </tbody> 1358 </table> 1359 <h3 id="projectcontour.io/v1.Include">Include 1360 </h3> 1361 <p> 1362 (<em>Appears on:</em> 1363 <a href="#projectcontour.io/v1.HTTPProxySpec">HTTPProxySpec</a>) 1364 </p> 1365 <p> 1366 <p>Include describes a set of policies that can be applied to an HTTPProxy in a namespace.</p> 1367 </p> 1368 <table class="table table-striped table-borderless" style="border:none"> 1369 <thead class="border-bottom"> 1370 <tr> 1371 <th>Field</th> 1372 <th>Description</th> 1373 </tr> 1374 </thead> 1375 <tbody class="border-top"> 1376 <tr> 1377 <td style="white-space:nowrap"> 1378 <code>name</code> 1379 <br> 1380 <em> 1381 string 1382 </em> 1383 </td> 1384 <td> 1385 <p>Name of the HTTPProxy</p> 1386 </td> 1387 </tr> 1388 <tr> 1389 <td style="white-space:nowrap"> 1390 <code>namespace</code> 1391 <br> 1392 <em> 1393 string 1394 </em> 1395 </td> 1396 <td> 1397 <em>(Optional)</em> 1398 <p>Namespace of the HTTPProxy to include. Defaults to the current namespace if not supplied.</p> 1399 </td> 1400 </tr> 1401 <tr> 1402 <td style="white-space:nowrap"> 1403 <code>conditions</code> 1404 <br> 1405 <em> 1406 <a href="#projectcontour.io/v1.MatchCondition"> 1407 []MatchCondition 1408 </a> 1409 </em> 1410 </td> 1411 <td> 1412 <em>(Optional)</em> 1413 <p>Conditions are a set of rules that are applied to included HTTPProxies. 1414 In effect, they are added onto the Conditions of included HTTPProxy Route 1415 structs. 1416 When applied, they are merged using AND, with one exception: 1417 There can be only one Prefix MatchCondition per Conditions slice. 1418 More than one Prefix, or contradictory Conditions, will make the 1419 include invalid.</p> 1420 </td> 1421 </tr> 1422 </tbody> 1423 </table> 1424 <h3 id="projectcontour.io/v1.LoadBalancerPolicy">LoadBalancerPolicy 1425 </h3> 1426 <p> 1427 (<em>Appears on:</em> 1428 <a href="#projectcontour.io/v1.Route">Route</a>, 1429 <a href="#projectcontour.io/v1.TCPProxy">TCPProxy</a>, 1430 <a href="#projectcontour.io/v1alpha1.ExtensionServiceSpec">ExtensionServiceSpec</a>) 1431 </p> 1432 <p> 1433 <p>LoadBalancerPolicy defines the load balancing policy.</p> 1434 </p> 1435 <table class="table table-striped table-borderless" style="border:none"> 1436 <thead class="border-bottom"> 1437 <tr> 1438 <th>Field</th> 1439 <th>Description</th> 1440 </tr> 1441 </thead> 1442 <tbody class="border-top"> 1443 <tr> 1444 <td style="white-space:nowrap"> 1445 <code>strategy</code> 1446 <br> 1447 <em> 1448 string 1449 </em> 1450 </td> 1451 <td> 1452 <p>Strategy specifies the policy used to balance requests 1453 across the pool of backend pods. Valid policy names are 1454 <code>Random</code>, <code>RoundRobin</code>, <code>WeightedLeastRequest</code>, <code>Cookie</code>, 1455 and <code>RequestHash</code>. If an unknown strategy name is specified 1456 or no policy is supplied, the default <code>RoundRobin</code> policy 1457 is used.</p> 1458 </td> 1459 </tr> 1460 <tr> 1461 <td style="white-space:nowrap"> 1462 <code>requestHashPolicies</code> 1463 <br> 1464 <em> 1465 <a href="#projectcontour.io/v1.RequestHashPolicy"> 1466 []RequestHashPolicy 1467 </a> 1468 </em> 1469 </td> 1470 <td> 1471 <p>RequestHashPolicies contains a list of hash policies to apply when the 1472 <code>RequestHash</code> load balancing strategy is chosen. If an element of the 1473 supplied list of hash policies is invalid, it will be ignored. If the 1474 list of hash policies is empty after validation, the load balancing 1475 strategy will fall back to the default <code>RoundRobin</code>.</p> 1476 </td> 1477 </tr> 1478 </tbody> 1479 </table> 1480 <h3 id="projectcontour.io/v1.LocalRateLimitPolicy">LocalRateLimitPolicy 1481 </h3> 1482 <p> 1483 (<em>Appears on:</em> 1484 <a href="#projectcontour.io/v1.RateLimitPolicy">RateLimitPolicy</a>) 1485 </p> 1486 <p> 1487 <p>LocalRateLimitPolicy defines local rate limiting parameters.</p> 1488 </p> 1489 <table class="table table-striped table-borderless" style="border:none"> 1490 <thead class="border-bottom"> 1491 <tr> 1492 <th>Field</th> 1493 <th>Description</th> 1494 </tr> 1495 </thead> 1496 <tbody class="border-top"> 1497 <tr> 1498 <td style="white-space:nowrap"> 1499 <code>requests</code> 1500 <br> 1501 <em> 1502 uint32 1503 </em> 1504 </td> 1505 <td> 1506 <p>Requests defines how many requests per unit of time should 1507 be allowed before rate limiting occurs.</p> 1508 </td> 1509 </tr> 1510 <tr> 1511 <td style="white-space:nowrap"> 1512 <code>unit</code> 1513 <br> 1514 <em> 1515 string 1516 </em> 1517 </td> 1518 <td> 1519 <p>Unit defines the period of time within which requests 1520 over the limit will be rate limited. Valid values are 1521 “second”, “minute” and “hour”.</p> 1522 </td> 1523 </tr> 1524 <tr> 1525 <td style="white-space:nowrap"> 1526 <code>burst</code> 1527 <br> 1528 <em> 1529 uint32 1530 </em> 1531 </td> 1532 <td> 1533 <em>(Optional)</em> 1534 <p>Burst defines the number of requests above the requests per 1535 unit that should be allowed within a short period of time.</p> 1536 </td> 1537 </tr> 1538 <tr> 1539 <td style="white-space:nowrap"> 1540 <code>responseStatusCode</code> 1541 <br> 1542 <em> 1543 uint32 1544 </em> 1545 </td> 1546 <td> 1547 <em>(Optional)</em> 1548 <p>ResponseStatusCode is the HTTP status code to use for responses 1549 to rate-limited requests. Codes must be in the 400-599 range 1550 (inclusive). If not specified, the Envoy default of 429 (Too 1551 Many Requests) is used.</p> 1552 </td> 1553 </tr> 1554 <tr> 1555 <td style="white-space:nowrap"> 1556 <code>responseHeadersToAdd</code> 1557 <br> 1558 <em> 1559 <a href="#projectcontour.io/v1.HeaderValue"> 1560 []HeaderValue 1561 </a> 1562 </em> 1563 </td> 1564 <td> 1565 <em>(Optional)</em> 1566 <p>ResponseHeadersToAdd is an optional list of response headers to 1567 set when a request is rate-limited.</p> 1568 </td> 1569 </tr> 1570 </tbody> 1571 </table> 1572 <h3 id="projectcontour.io/v1.MatchCondition">MatchCondition 1573 </h3> 1574 <p> 1575 (<em>Appears on:</em> 1576 <a href="#projectcontour.io/v1.Include">Include</a>, 1577 <a href="#projectcontour.io/v1.Route">Route</a>) 1578 </p> 1579 <p> 1580 <p>MatchCondition are a general holder for matching rules for HTTPProxies. 1581 One of Prefix or Header must be provided.</p> 1582 </p> 1583 <table class="table table-striped table-borderless" style="border:none"> 1584 <thead class="border-bottom"> 1585 <tr> 1586 <th>Field</th> 1587 <th>Description</th> 1588 </tr> 1589 </thead> 1590 <tbody class="border-top"> 1591 <tr> 1592 <td style="white-space:nowrap"> 1593 <code>prefix</code> 1594 <br> 1595 <em> 1596 string 1597 </em> 1598 </td> 1599 <td> 1600 <em>(Optional)</em> 1601 <p>Prefix defines a prefix match for a request.</p> 1602 </td> 1603 </tr> 1604 <tr> 1605 <td style="white-space:nowrap"> 1606 <code>header</code> 1607 <br> 1608 <em> 1609 <a href="#projectcontour.io/v1.HeaderMatchCondition"> 1610 HeaderMatchCondition 1611 </a> 1612 </em> 1613 </td> 1614 <td> 1615 <em>(Optional)</em> 1616 <p>Header specifies the header condition to match.</p> 1617 </td> 1618 </tr> 1619 </tbody> 1620 </table> 1621 <h3 id="projectcontour.io/v1.PathRewritePolicy">PathRewritePolicy 1622 </h3> 1623 <p> 1624 (<em>Appears on:</em> 1625 <a href="#projectcontour.io/v1.Route">Route</a>) 1626 </p> 1627 <p> 1628 <p>PathRewritePolicy specifies how a request URL path should be 1629 rewritten. This rewriting takes place after a request is routed 1630 and has no subsequent effects on the proxy’s routing decision. 1631 No HTTP headers or body content is rewritten.</p> 1632 <p>Exactly one field in this struct may be specified.</p> 1633 </p> 1634 <table class="table table-striped table-borderless" style="border:none"> 1635 <thead class="border-bottom"> 1636 <tr> 1637 <th>Field</th> 1638 <th>Description</th> 1639 </tr> 1640 </thead> 1641 <tbody class="border-top"> 1642 <tr> 1643 <td style="white-space:nowrap"> 1644 <code>replacePrefix</code> 1645 <br> 1646 <em> 1647 <a href="#projectcontour.io/v1.ReplacePrefix"> 1648 []ReplacePrefix 1649 </a> 1650 </em> 1651 </td> 1652 <td> 1653 <em>(Optional)</em> 1654 <p>ReplacePrefix describes how the path prefix should be replaced.</p> 1655 </td> 1656 </tr> 1657 </tbody> 1658 </table> 1659 <h3 id="projectcontour.io/v1.RateLimitDescriptor">RateLimitDescriptor 1660 </h3> 1661 <p> 1662 (<em>Appears on:</em> 1663 <a href="#projectcontour.io/v1.GlobalRateLimitPolicy">GlobalRateLimitPolicy</a>) 1664 </p> 1665 <p> 1666 <p>RateLimitDescriptor defines a list of key-value pair generators.</p> 1667 </p> 1668 <table class="table table-striped table-borderless" style="border:none"> 1669 <thead class="border-bottom"> 1670 <tr> 1671 <th>Field</th> 1672 <th>Description</th> 1673 </tr> 1674 </thead> 1675 <tbody class="border-top"> 1676 <tr> 1677 <td style="white-space:nowrap"> 1678 <code>entries</code> 1679 <br> 1680 <em> 1681 <a href="#projectcontour.io/v1.RateLimitDescriptorEntry"> 1682 []RateLimitDescriptorEntry 1683 </a> 1684 </em> 1685 </td> 1686 <td> 1687 <p>Entries is the list of key-value pair generators.</p> 1688 </td> 1689 </tr> 1690 </tbody> 1691 </table> 1692 <h3 id="projectcontour.io/v1.RateLimitDescriptorEntry">RateLimitDescriptorEntry 1693 </h3> 1694 <p> 1695 (<em>Appears on:</em> 1696 <a href="#projectcontour.io/v1.RateLimitDescriptor">RateLimitDescriptor</a>) 1697 </p> 1698 <p> 1699 <p>RateLimitDescriptorEntry is a key-value pair generator. Exactly 1700 one field on this struct must be non-nil.</p> 1701 </p> 1702 <table class="table table-striped table-borderless" style="border:none"> 1703 <thead class="border-bottom"> 1704 <tr> 1705 <th>Field</th> 1706 <th>Description</th> 1707 </tr> 1708 </thead> 1709 <tbody class="border-top"> 1710 <tr> 1711 <td style="white-space:nowrap"> 1712 <code>genericKey</code> 1713 <br> 1714 <em> 1715 <a href="#projectcontour.io/v1.GenericKeyDescriptor"> 1716 GenericKeyDescriptor 1717 </a> 1718 </em> 1719 </td> 1720 <td> 1721 <em>(Optional)</em> 1722 <p>GenericKey defines a descriptor entry with a static key and value.</p> 1723 </td> 1724 </tr> 1725 <tr> 1726 <td style="white-space:nowrap"> 1727 <code>requestHeader</code> 1728 <br> 1729 <em> 1730 <a href="#projectcontour.io/v1.RequestHeaderDescriptor"> 1731 RequestHeaderDescriptor 1732 </a> 1733 </em> 1734 </td> 1735 <td> 1736 <em>(Optional)</em> 1737 <p>RequestHeader defines a descriptor entry that’s populated only if 1738 a given header is present on the request. The descriptor key is static, 1739 and the descriptor value is equal to the value of the header.</p> 1740 </td> 1741 </tr> 1742 <tr> 1743 <td style="white-space:nowrap"> 1744 <code>requestHeaderValueMatch</code> 1745 <br> 1746 <em> 1747 <a href="#projectcontour.io/v1.RequestHeaderValueMatchDescriptor"> 1748 RequestHeaderValueMatchDescriptor 1749 </a> 1750 </em> 1751 </td> 1752 <td> 1753 <em>(Optional)</em> 1754 <p>RequestHeaderValueMatch defines a descriptor entry that’s populated 1755 if the request’s headers match a set of 1+ match criteria. The 1756 descriptor key is “header_match”, and the descriptor value is static.</p> 1757 </td> 1758 </tr> 1759 <tr> 1760 <td style="white-space:nowrap"> 1761 <code>remoteAddress</code> 1762 <br> 1763 <em> 1764 <a href="#projectcontour.io/v1.RemoteAddressDescriptor"> 1765 RemoteAddressDescriptor 1766 </a> 1767 </em> 1768 </td> 1769 <td> 1770 <em>(Optional)</em> 1771 <p>RemoteAddress defines a descriptor entry with a key of “remote_address” 1772 and a value equal to the client’s IP address (from x-forwarded-for).</p> 1773 </td> 1774 </tr> 1775 </tbody> 1776 </table> 1777 <h3 id="projectcontour.io/v1.RateLimitPolicy">RateLimitPolicy 1778 </h3> 1779 <p> 1780 (<em>Appears on:</em> 1781 <a href="#projectcontour.io/v1.Route">Route</a>, 1782 <a href="#projectcontour.io/v1.VirtualHost">VirtualHost</a>) 1783 </p> 1784 <p> 1785 <p>RateLimitPolicy defines rate limiting parameters.</p> 1786 </p> 1787 <table class="table table-striped table-borderless" style="border:none"> 1788 <thead class="border-bottom"> 1789 <tr> 1790 <th>Field</th> 1791 <th>Description</th> 1792 </tr> 1793 </thead> 1794 <tbody class="border-top"> 1795 <tr> 1796 <td style="white-space:nowrap"> 1797 <code>local</code> 1798 <br> 1799 <em> 1800 <a href="#projectcontour.io/v1.LocalRateLimitPolicy"> 1801 LocalRateLimitPolicy 1802 </a> 1803 </em> 1804 </td> 1805 <td> 1806 <em>(Optional)</em> 1807 <p>Local defines local rate limiting parameters, i.e. parameters 1808 for rate limiting that occurs within each Envoy pod as requests 1809 are handled.</p> 1810 </td> 1811 </tr> 1812 <tr> 1813 <td style="white-space:nowrap"> 1814 <code>global</code> 1815 <br> 1816 <em> 1817 <a href="#projectcontour.io/v1.GlobalRateLimitPolicy"> 1818 GlobalRateLimitPolicy 1819 </a> 1820 </em> 1821 </td> 1822 <td> 1823 <em>(Optional)</em> 1824 <p>Global defines global rate limiting parameters, i.e. parameters 1825 defining descriptors that are sent to an external rate limit 1826 service (RLS) for a rate limit decision on each request.</p> 1827 </td> 1828 </tr> 1829 </tbody> 1830 </table> 1831 <h3 id="projectcontour.io/v1.RemoteAddressDescriptor">RemoteAddressDescriptor 1832 </h3> 1833 <p> 1834 (<em>Appears on:</em> 1835 <a href="#projectcontour.io/v1.RateLimitDescriptorEntry">RateLimitDescriptorEntry</a>) 1836 </p> 1837 <p> 1838 <p>RemoteAddressDescriptor defines a descriptor entry with a key of 1839 “remote_address” and a value equal to the client’s IP address 1840 (from x-forwarded-for).</p> 1841 </p> 1842 <h3 id="projectcontour.io/v1.ReplacePrefix">ReplacePrefix 1843 </h3> 1844 <p> 1845 (<em>Appears on:</em> 1846 <a href="#projectcontour.io/v1.PathRewritePolicy">PathRewritePolicy</a>) 1847 </p> 1848 <p> 1849 <p>ReplacePrefix describes a path prefix replacement.</p> 1850 </p> 1851 <table class="table table-striped table-borderless" style="border:none"> 1852 <thead class="border-bottom"> 1853 <tr> 1854 <th>Field</th> 1855 <th>Description</th> 1856 </tr> 1857 </thead> 1858 <tbody class="border-top"> 1859 <tr> 1860 <td style="white-space:nowrap"> 1861 <code>prefix</code> 1862 <br> 1863 <em> 1864 string 1865 </em> 1866 </td> 1867 <td> 1868 <em>(Optional)</em> 1869 <p>Prefix specifies the URL path prefix to be replaced.</p> 1870 <p>If Prefix is specified, it must exactly match the MatchCondition 1871 prefix that is rendered by the chain of including HTTPProxies 1872 and only that path prefix will be replaced by Replacement. 1873 This allows HTTPProxies that are included through multiple 1874 roots to only replace specific path prefixes, leaving others 1875 unmodified.</p> 1876 <p>If Prefix is not specified, all routing prefixes rendered 1877 by the include chain will be replaced.</p> 1878 </td> 1879 </tr> 1880 <tr> 1881 <td style="white-space:nowrap"> 1882 <code>replacement</code> 1883 <br> 1884 <em> 1885 string 1886 </em> 1887 </td> 1888 <td> 1889 <p>Replacement is the string that the routing path prefix 1890 will be replaced with. This must not be empty.</p> 1891 </td> 1892 </tr> 1893 </tbody> 1894 </table> 1895 <h3 id="projectcontour.io/v1.RequestHashPolicy">RequestHashPolicy 1896 </h3> 1897 <p> 1898 (<em>Appears on:</em> 1899 <a href="#projectcontour.io/v1.LoadBalancerPolicy">LoadBalancerPolicy</a>) 1900 </p> 1901 <p> 1902 <p>RequestHashPolicy contains configuration for an individual hash policy 1903 on a request attribute.</p> 1904 </p> 1905 <table class="table table-striped table-borderless" style="border:none"> 1906 <thead class="border-bottom"> 1907 <tr> 1908 <th>Field</th> 1909 <th>Description</th> 1910 </tr> 1911 </thead> 1912 <tbody class="border-top"> 1913 <tr> 1914 <td style="white-space:nowrap"> 1915 <code>terminal</code> 1916 <br> 1917 <em> 1918 bool 1919 </em> 1920 </td> 1921 <td> 1922 <p>Terminal is a flag that allows for short-circuiting computing of a hash 1923 for a given request. If set to true, and the request attribute specified 1924 in the attribute hash options is present, no further hash policies will 1925 be used to calculate a hash for the request.</p> 1926 </td> 1927 </tr> 1928 <tr> 1929 <td style="white-space:nowrap"> 1930 <code>headerHashOptions</code> 1931 <br> 1932 <em> 1933 <a href="#projectcontour.io/v1.HeaderHashOptions"> 1934 HeaderHashOptions 1935 </a> 1936 </em> 1937 </td> 1938 <td> 1939 <p>HeaderHashOptions should be set when request header hash based load 1940 balancing is desired. It must be the only hash option field set, 1941 otherwise this request hash policy object will be ignored.</p> 1942 </td> 1943 </tr> 1944 </tbody> 1945 </table> 1946 <h3 id="projectcontour.io/v1.RequestHeaderDescriptor">RequestHeaderDescriptor 1947 </h3> 1948 <p> 1949 (<em>Appears on:</em> 1950 <a href="#projectcontour.io/v1.RateLimitDescriptorEntry">RateLimitDescriptorEntry</a>) 1951 </p> 1952 <p> 1953 <p>RequestHeaderDescriptor defines a descriptor entry that’s populated only 1954 if a given header is present on the request. The value of the descriptor 1955 entry is equal to the value of the header (if present).</p> 1956 </p> 1957 <table class="table table-striped table-borderless" style="border:none"> 1958 <thead class="border-bottom"> 1959 <tr> 1960 <th>Field</th> 1961 <th>Description</th> 1962 </tr> 1963 </thead> 1964 <tbody class="border-top"> 1965 <tr> 1966 <td style="white-space:nowrap"> 1967 <code>headerName</code> 1968 <br> 1969 <em> 1970 string 1971 </em> 1972 </td> 1973 <td> 1974 <p>HeaderName defines the name of the header to look for on the request.</p> 1975 </td> 1976 </tr> 1977 <tr> 1978 <td style="white-space:nowrap"> 1979 <code>descriptorKey</code> 1980 <br> 1981 <em> 1982 string 1983 </em> 1984 </td> 1985 <td> 1986 <p>DescriptorKey defines the key to use on the descriptor entry.</p> 1987 </td> 1988 </tr> 1989 </tbody> 1990 </table> 1991 <h3 id="projectcontour.io/v1.RequestHeaderValueMatchDescriptor">RequestHeaderValueMatchDescriptor 1992 </h3> 1993 <p> 1994 (<em>Appears on:</em> 1995 <a href="#projectcontour.io/v1.RateLimitDescriptorEntry">RateLimitDescriptorEntry</a>) 1996 </p> 1997 <p> 1998 <p>RequestHeaderValueMatchDescriptor defines a descriptor entry that’s populated 1999 if the request’s headers match a set of 1+ match criteria. The descriptor key 2000 is “header_match”, and the descriptor value is statically defined.</p> 2001 </p> 2002 <table class="table table-striped table-borderless" style="border:none"> 2003 <thead class="border-bottom"> 2004 <tr> 2005 <th>Field</th> 2006 <th>Description</th> 2007 </tr> 2008 </thead> 2009 <tbody class="border-top"> 2010 <tr> 2011 <td style="white-space:nowrap"> 2012 <code>headers</code> 2013 <br> 2014 <em> 2015 <a href="#projectcontour.io/v1.HeaderMatchCondition"> 2016 []HeaderMatchCondition 2017 </a> 2018 </em> 2019 </td> 2020 <td> 2021 <p>Headers is a list of 1+ match criteria to apply against the request 2022 to determine whether to populate the descriptor entry or not.</p> 2023 </td> 2024 </tr> 2025 <tr> 2026 <td style="white-space:nowrap"> 2027 <code>expectMatch</code> 2028 <br> 2029 <em> 2030 bool 2031 </em> 2032 </td> 2033 <td> 2034 <p>ExpectMatch defines whether the request must positively match the match 2035 criteria in order to generate a descriptor entry (i.e. true), or not 2036 match the match criteria in order to generate a descriptor entry (i.e. false). 2037 The default is true.</p> 2038 </td> 2039 </tr> 2040 <tr> 2041 <td style="white-space:nowrap"> 2042 <code>value</code> 2043 <br> 2044 <em> 2045 string 2046 </em> 2047 </td> 2048 <td> 2049 <p>Value defines the value of the descriptor entry.</p> 2050 </td> 2051 </tr> 2052 </tbody> 2053 </table> 2054 <h3 id="projectcontour.io/v1.RetryOn">RetryOn 2055 (<code>string</code> alias)</h3> 2056 <p> 2057 (<em>Appears on:</em> 2058 <a href="#projectcontour.io/v1.RetryPolicy">RetryPolicy</a>) 2059 </p> 2060 <p> 2061 <p>RetryOn is a string type alias with validation to ensure that the value is valid.</p> 2062 </p> 2063 <h3 id="projectcontour.io/v1.RetryPolicy">RetryPolicy 2064 </h3> 2065 <p> 2066 (<em>Appears on:</em> 2067 <a href="#projectcontour.io/v1.Route">Route</a>) 2068 </p> 2069 <p> 2070 <p>RetryPolicy defines the attributes associated with retrying policy.</p> 2071 </p> 2072 <table class="table table-striped table-borderless" style="border:none"> 2073 <thead class="border-bottom"> 2074 <tr> 2075 <th>Field</th> 2076 <th>Description</th> 2077 </tr> 2078 </thead> 2079 <tbody class="border-top"> 2080 <tr> 2081 <td style="white-space:nowrap"> 2082 <code>count</code> 2083 <br> 2084 <em> 2085 int64 2086 </em> 2087 </td> 2088 <td> 2089 <em>(Optional)</em> 2090 <p>NumRetries is maximum allowed number of retries. 2091 If not supplied, the number of retries is one.</p> 2092 </td> 2093 </tr> 2094 <tr> 2095 <td style="white-space:nowrap"> 2096 <code>perTryTimeout</code> 2097 <br> 2098 <em> 2099 string 2100 </em> 2101 </td> 2102 <td> 2103 <em>(Optional)</em> 2104 <p>PerTryTimeout specifies the timeout per retry attempt. 2105 Ignored if NumRetries is not supplied.</p> 2106 </td> 2107 </tr> 2108 <tr> 2109 <td style="white-space:nowrap"> 2110 <code>retryOn</code> 2111 <br> 2112 <em> 2113 <a href="#projectcontour.io/v1.RetryOn"> 2114 []RetryOn 2115 </a> 2116 </em> 2117 </td> 2118 <td> 2119 <em>(Optional)</em> 2120 <p>RetryOn specifies the conditions on which to retry a request.</p> 2121 <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> 2122 <ul> 2123 <li><code>5xx</code></li> 2124 <li><code>gateway-error</code></li> 2125 <li><code>reset</code></li> 2126 <li><code>connect-failure</code></li> 2127 <li><code>retriable-4xx</code></li> 2128 <li><code>refused-stream</code></li> 2129 <li><code>retriable-status-codes</code></li> 2130 <li><code>retriable-headers</code></li> 2131 </ul> 2132 <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> 2133 <ul> 2134 <li><code>cancelled</code></li> 2135 <li><code>deadline-exceeded</code></li> 2136 <li><code>internal</code></li> 2137 <li><code>resource-exhausted</code></li> 2138 <li><code>unavailable</code></li> 2139 </ul> 2140 </td> 2141 </tr> 2142 <tr> 2143 <td style="white-space:nowrap"> 2144 <code>retriableStatusCodes</code> 2145 <br> 2146 <em> 2147 []uint32 2148 </em> 2149 </td> 2150 <td> 2151 <em>(Optional)</em> 2152 <p>RetriableStatusCodes specifies the HTTP status codes that should be retried.</p> 2153 <p>This field is only respected when you include <code>retriable-status-codes</code> in the <code>RetryOn</code> field.</p> 2154 </td> 2155 </tr> 2156 </tbody> 2157 </table> 2158 <h3 id="projectcontour.io/v1.Route">Route 2159 </h3> 2160 <p> 2161 (<em>Appears on:</em> 2162 <a href="#projectcontour.io/v1.HTTPProxySpec">HTTPProxySpec</a>) 2163 </p> 2164 <p> 2165 <p>Route contains the set of routes for a virtual host.</p> 2166 </p> 2167 <table class="table table-striped table-borderless" style="border:none"> 2168 <thead class="border-bottom"> 2169 <tr> 2170 <th>Field</th> 2171 <th>Description</th> 2172 </tr> 2173 </thead> 2174 <tbody class="border-top"> 2175 <tr> 2176 <td style="white-space:nowrap"> 2177 <code>conditions</code> 2178 <br> 2179 <em> 2180 <a href="#projectcontour.io/v1.MatchCondition"> 2181 []MatchCondition 2182 </a> 2183 </em> 2184 </td> 2185 <td> 2186 <em>(Optional)</em> 2187 <p>Conditions are a set of rules that are applied to a Route. 2188 When applied, they are merged using AND, with one exception: 2189 There can be only one Prefix MatchCondition per Conditions slice. 2190 More than one Prefix, or contradictory Conditions, will make the 2191 route invalid.</p> 2192 </td> 2193 </tr> 2194 <tr> 2195 <td style="white-space:nowrap"> 2196 <code>services</code> 2197 <br> 2198 <em> 2199 <a href="#projectcontour.io/v1.Service"> 2200 []Service 2201 </a> 2202 </em> 2203 </td> 2204 <td> 2205 <p>Services are the services to proxy traffic.</p> 2206 </td> 2207 </tr> 2208 <tr> 2209 <td style="white-space:nowrap"> 2210 <code>enableWebsockets</code> 2211 <br> 2212 <em> 2213 bool 2214 </em> 2215 </td> 2216 <td> 2217 <em>(Optional)</em> 2218 <p>Enables websocket support for the route.</p> 2219 </td> 2220 </tr> 2221 <tr> 2222 <td style="white-space:nowrap"> 2223 <code>permitInsecure</code> 2224 <br> 2225 <em> 2226 bool 2227 </em> 2228 </td> 2229 <td> 2230 <em>(Optional)</em> 2231 <p>Allow this path to respond to insecure requests over HTTP which are normally 2232 not permitted when a <code>virtualhost.tls</code> block is present.</p> 2233 </td> 2234 </tr> 2235 <tr> 2236 <td style="white-space:nowrap"> 2237 <code>authPolicy</code> 2238 <br> 2239 <em> 2240 <a href="#projectcontour.io/v1.AuthorizationPolicy"> 2241 AuthorizationPolicy 2242 </a> 2243 </em> 2244 </td> 2245 <td> 2246 <em>(Optional)</em> 2247 <p>AuthPolicy updates the authorization policy that was set 2248 on the root HTTPProxy object for client requests that 2249 match this route.</p> 2250 </td> 2251 </tr> 2252 <tr> 2253 <td style="white-space:nowrap"> 2254 <code>timeoutPolicy</code> 2255 <br> 2256 <em> 2257 <a href="#projectcontour.io/v1.TimeoutPolicy"> 2258 TimeoutPolicy 2259 </a> 2260 </em> 2261 </td> 2262 <td> 2263 <em>(Optional)</em> 2264 <p>The timeout policy for this route.</p> 2265 </td> 2266 </tr> 2267 <tr> 2268 <td style="white-space:nowrap"> 2269 <code>retryPolicy</code> 2270 <br> 2271 <em> 2272 <a href="#projectcontour.io/v1.RetryPolicy"> 2273 RetryPolicy 2274 </a> 2275 </em> 2276 </td> 2277 <td> 2278 <em>(Optional)</em> 2279 <p>The retry policy for this route.</p> 2280 </td> 2281 </tr> 2282 <tr> 2283 <td style="white-space:nowrap"> 2284 <code>healthCheckPolicy</code> 2285 <br> 2286 <em> 2287 <a href="#projectcontour.io/v1.HTTPHealthCheckPolicy"> 2288 HTTPHealthCheckPolicy 2289 </a> 2290 </em> 2291 </td> 2292 <td> 2293 <em>(Optional)</em> 2294 <p>The health check policy for this route.</p> 2295 </td> 2296 </tr> 2297 <tr> 2298 <td style="white-space:nowrap"> 2299 <code>loadBalancerPolicy</code> 2300 <br> 2301 <em> 2302 <a href="#projectcontour.io/v1.LoadBalancerPolicy"> 2303 LoadBalancerPolicy 2304 </a> 2305 </em> 2306 </td> 2307 <td> 2308 <em>(Optional)</em> 2309 <p>The load balancing policy for this route.</p> 2310 </td> 2311 </tr> 2312 <tr> 2313 <td style="white-space:nowrap"> 2314 <code>pathRewritePolicy</code> 2315 <br> 2316 <em> 2317 <a href="#projectcontour.io/v1.PathRewritePolicy"> 2318 PathRewritePolicy 2319 </a> 2320 </em> 2321 </td> 2322 <td> 2323 <em>(Optional)</em> 2324 <p>The policy for rewriting the path of the request URL 2325 after the request has been routed to a Service.</p> 2326 </td> 2327 </tr> 2328 <tr> 2329 <td style="white-space:nowrap"> 2330 <code>requestHeadersPolicy</code> 2331 <br> 2332 <em> 2333 <a href="#projectcontour.io/v1.HeadersPolicy"> 2334 HeadersPolicy 2335 </a> 2336 </em> 2337 </td> 2338 <td> 2339 <em>(Optional)</em> 2340 <p>The policy for managing request headers during proxying.</p> 2341 </td> 2342 </tr> 2343 <tr> 2344 <td style="white-space:nowrap"> 2345 <code>responseHeadersPolicy</code> 2346 <br> 2347 <em> 2348 <a href="#projectcontour.io/v1.HeadersPolicy"> 2349 HeadersPolicy 2350 </a> 2351 </em> 2352 </td> 2353 <td> 2354 <em>(Optional)</em> 2355 <p>The policy for managing response headers during proxying. 2356 Rewriting the ‘Host’ header is not supported.</p> 2357 </td> 2358 </tr> 2359 <tr> 2360 <td style="white-space:nowrap"> 2361 <code>rateLimitPolicy</code> 2362 <br> 2363 <em> 2364 <a href="#projectcontour.io/v1.RateLimitPolicy"> 2365 RateLimitPolicy 2366 </a> 2367 </em> 2368 </td> 2369 <td> 2370 <em>(Optional)</em> 2371 <p>The policy for rate limiting on the route.</p> 2372 </td> 2373 </tr> 2374 </tbody> 2375 </table> 2376 <h3 id="projectcontour.io/v1.Service">Service 2377 </h3> 2378 <p> 2379 (<em>Appears on:</em> 2380 <a href="#projectcontour.io/v1.Route">Route</a>, 2381 <a href="#projectcontour.io/v1.TCPProxy">TCPProxy</a>) 2382 </p> 2383 <p> 2384 <p>Service defines an Kubernetes Service to proxy traffic.</p> 2385 </p> 2386 <table class="table table-striped table-borderless" style="border:none"> 2387 <thead class="border-bottom"> 2388 <tr> 2389 <th>Field</th> 2390 <th>Description</th> 2391 </tr> 2392 </thead> 2393 <tbody class="border-top"> 2394 <tr> 2395 <td style="white-space:nowrap"> 2396 <code>name</code> 2397 <br> 2398 <em> 2399 string 2400 </em> 2401 </td> 2402 <td> 2403 <p>Name is the name of Kubernetes service to proxy traffic. 2404 Names defined here will be used to look up corresponding endpoints which contain the ips to route.</p> 2405 </td> 2406 </tr> 2407 <tr> 2408 <td style="white-space:nowrap"> 2409 <code>port</code> 2410 <br> 2411 <em> 2412 int 2413 </em> 2414 </td> 2415 <td> 2416 <p>Port (defined as Integer) to proxy traffic to since a service can have multiple defined.</p> 2417 </td> 2418 </tr> 2419 <tr> 2420 <td style="white-space:nowrap"> 2421 <code>protocol</code> 2422 <br> 2423 <em> 2424 string 2425 </em> 2426 </td> 2427 <td> 2428 <em>(Optional)</em> 2429 <p>Protocol may be used to specify (or override) the protocol used to reach this Service. 2430 Values may be tls, h2, h2c. If omitted, protocol-selection falls back on Service annotations.</p> 2431 </td> 2432 </tr> 2433 <tr> 2434 <td style="white-space:nowrap"> 2435 <code>weight</code> 2436 <br> 2437 <em> 2438 int64 2439 </em> 2440 </td> 2441 <td> 2442 <em>(Optional)</em> 2443 <p>Weight defines percentage of traffic to balance traffic</p> 2444 </td> 2445 </tr> 2446 <tr> 2447 <td style="white-space:nowrap"> 2448 <code>validation</code> 2449 <br> 2450 <em> 2451 <a href="#projectcontour.io/v1.UpstreamValidation"> 2452 UpstreamValidation 2453 </a> 2454 </em> 2455 </td> 2456 <td> 2457 <em>(Optional)</em> 2458 <p>UpstreamValidation defines how to verify the backend service’s certificate</p> 2459 </td> 2460 </tr> 2461 <tr> 2462 <td style="white-space:nowrap"> 2463 <code>mirror</code> 2464 <br> 2465 <em> 2466 bool 2467 </em> 2468 </td> 2469 <td> 2470 <p>If Mirror is true the Service will receive a read only mirror of the traffic for this route.</p> 2471 </td> 2472 </tr> 2473 <tr> 2474 <td style="white-space:nowrap"> 2475 <code>requestHeadersPolicy</code> 2476 <br> 2477 <em> 2478 <a href="#projectcontour.io/v1.HeadersPolicy"> 2479 HeadersPolicy 2480 </a> 2481 </em> 2482 </td> 2483 <td> 2484 <em>(Optional)</em> 2485 <p>The policy for managing request headers during proxying. 2486 Rewriting the ‘Host’ header is not supported.</p> 2487 </td> 2488 </tr> 2489 <tr> 2490 <td style="white-space:nowrap"> 2491 <code>responseHeadersPolicy</code> 2492 <br> 2493 <em> 2494 <a href="#projectcontour.io/v1.HeadersPolicy"> 2495 HeadersPolicy 2496 </a> 2497 </em> 2498 </td> 2499 <td> 2500 <em>(Optional)</em> 2501 <p>The policy for managing response headers during proxying. 2502 Rewriting the ‘Host’ header is not supported.</p> 2503 </td> 2504 </tr> 2505 </tbody> 2506 </table> 2507 <h3 id="projectcontour.io/v1.SubCondition">SubCondition 2508 </h3> 2509 <p> 2510 (<em>Appears on:</em> 2511 <a href="#projectcontour.io/v1.DetailedCondition">DetailedCondition</a>) 2512 </p> 2513 <p> 2514 <p>SubCondition is a Condition-like type intended for use as a subcondition inside a DetailedCondition.</p> 2515 <p>It contains a subset of the Condition fields.</p> 2516 <p>It is intended for warnings and errors, so <code>type</code> names should use abnormal-true polarity, 2517 that is, they should be of the form “ErrorPresent: true”.</p> 2518 <p>The expected lifecycle for these errors is that they should only be present when the error or warning is, 2519 and should be removed when they are not relevant.</p> 2520 </p> 2521 <table class="table table-striped table-borderless" style="border:none"> 2522 <thead class="border-bottom"> 2523 <tr> 2524 <th>Field</th> 2525 <th>Description</th> 2526 </tr> 2527 </thead> 2528 <tbody class="border-top"> 2529 <tr> 2530 <td style="white-space:nowrap"> 2531 <code>type</code> 2532 <br> 2533 <em> 2534 string 2535 </em> 2536 </td> 2537 <td> 2538 <p>Type of condition in <code>CamelCase</code> or in <code>foo.example.com/CamelCase</code>.</p> 2539 <p>This must be in abnormal-true polarity, that is, <code>ErrorFound</code> or <code>controller.io/ErrorFound</code>.</p> 2540 <p>The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)</p> 2541 </td> 2542 </tr> 2543 <tr> 2544 <td style="white-space:nowrap"> 2545 <code>status</code> 2546 <br> 2547 <em> 2548 <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#conditionstatus-v1-meta"> 2549 Kubernetes meta/v1.ConditionStatus 2550 </a> 2551 </em> 2552 </td> 2553 <td> 2554 <p>Status of the condition, one of True, False, Unknown.</p> 2555 </td> 2556 </tr> 2557 <tr> 2558 <td style="white-space:nowrap"> 2559 <code>reason</code> 2560 <br> 2561 <em> 2562 string 2563 </em> 2564 </td> 2565 <td> 2566 <p>Reason contains a programmatic identifier indicating the reason for the condition’s last transition. 2567 Producers of specific condition types may define expected values and meanings for this field, 2568 and whether the values are considered a guaranteed API.</p> 2569 <p>The value should be a CamelCase string.</p> 2570 <p>This field may not be empty.</p> 2571 </td> 2572 </tr> 2573 <tr> 2574 <td style="white-space:nowrap"> 2575 <code>message</code> 2576 <br> 2577 <em> 2578 string 2579 </em> 2580 </td> 2581 <td> 2582 <p>Message is a human readable message indicating details about the transition.</p> 2583 <p>This may be an empty string.</p> 2584 </td> 2585 </tr> 2586 </tbody> 2587 </table> 2588 <h3 id="projectcontour.io/v1.TCPHealthCheckPolicy">TCPHealthCheckPolicy 2589 </h3> 2590 <p> 2591 (<em>Appears on:</em> 2592 <a href="#projectcontour.io/v1.TCPProxy">TCPProxy</a>) 2593 </p> 2594 <p> 2595 <p>TCPHealthCheckPolicy defines health checks on the upstream service.</p> 2596 </p> 2597 <table class="table table-striped table-borderless" style="border:none"> 2598 <thead class="border-bottom"> 2599 <tr> 2600 <th>Field</th> 2601 <th>Description</th> 2602 </tr> 2603 </thead> 2604 <tbody class="border-top"> 2605 <tr> 2606 <td style="white-space:nowrap"> 2607 <code>intervalSeconds</code> 2608 <br> 2609 <em> 2610 int64 2611 </em> 2612 </td> 2613 <td> 2614 <em>(Optional)</em> 2615 <p>The interval (seconds) between health checks</p> 2616 </td> 2617 </tr> 2618 <tr> 2619 <td style="white-space:nowrap"> 2620 <code>timeoutSeconds</code> 2621 <br> 2622 <em> 2623 int64 2624 </em> 2625 </td> 2626 <td> 2627 <em>(Optional)</em> 2628 <p>The time to wait (seconds) for a health check response</p> 2629 </td> 2630 </tr> 2631 <tr> 2632 <td style="white-space:nowrap"> 2633 <code>unhealthyThresholdCount</code> 2634 <br> 2635 <em> 2636 uint32 2637 </em> 2638 </td> 2639 <td> 2640 <em>(Optional)</em> 2641 <p>The number of unhealthy health checks required before a host is marked unhealthy</p> 2642 </td> 2643 </tr> 2644 <tr> 2645 <td style="white-space:nowrap"> 2646 <code>healthyThresholdCount</code> 2647 <br> 2648 <em> 2649 uint32 2650 </em> 2651 </td> 2652 <td> 2653 <em>(Optional)</em> 2654 <p>The number of healthy health checks required before a host is marked healthy</p> 2655 </td> 2656 </tr> 2657 </tbody> 2658 </table> 2659 <h3 id="projectcontour.io/v1.TCPProxy">TCPProxy 2660 </h3> 2661 <p> 2662 (<em>Appears on:</em> 2663 <a href="#projectcontour.io/v1.HTTPProxySpec">HTTPProxySpec</a>) 2664 </p> 2665 <p> 2666 <p>TCPProxy contains the set of services to proxy TCP connections.</p> 2667 </p> 2668 <table class="table table-striped table-borderless" style="border:none"> 2669 <thead class="border-bottom"> 2670 <tr> 2671 <th>Field</th> 2672 <th>Description</th> 2673 </tr> 2674 </thead> 2675 <tbody class="border-top"> 2676 <tr> 2677 <td style="white-space:nowrap"> 2678 <code>loadBalancerPolicy</code> 2679 <br> 2680 <em> 2681 <a href="#projectcontour.io/v1.LoadBalancerPolicy"> 2682 LoadBalancerPolicy 2683 </a> 2684 </em> 2685 </td> 2686 <td> 2687 <em>(Optional)</em> 2688 <p>The load balancing policy for the backend services. Note that the 2689 <code>Cookie</code> and <code>RequestHash</code> load balancing strategies cannot be used 2690 here.</p> 2691 </td> 2692 </tr> 2693 <tr> 2694 <td style="white-space:nowrap"> 2695 <code>services</code> 2696 <br> 2697 <em> 2698 <a href="#projectcontour.io/v1.Service"> 2699 []Service 2700 </a> 2701 </em> 2702 </td> 2703 <td> 2704 <em>(Optional)</em> 2705 <p>Services are the services to proxy traffic</p> 2706 </td> 2707 </tr> 2708 <tr> 2709 <td style="white-space:nowrap"> 2710 <code>include</code> 2711 <br> 2712 <em> 2713 <a href="#projectcontour.io/v1.TCPProxyInclude"> 2714 TCPProxyInclude 2715 </a> 2716 </em> 2717 </td> 2718 <td> 2719 <em>(Optional)</em> 2720 <p>Include specifies that this tcpproxy should be delegated to another HTTPProxy.</p> 2721 </td> 2722 </tr> 2723 <tr> 2724 <td style="white-space:nowrap"> 2725 <code>includes</code> 2726 <br> 2727 <em> 2728 <a href="#projectcontour.io/v1.TCPProxyInclude"> 2729 TCPProxyInclude 2730 </a> 2731 </em> 2732 </td> 2733 <td> 2734 <em>(Optional)</em> 2735 <p>IncludesDeprecated allow for specific routing configuration to be appended to another HTTPProxy in another namespace.</p> 2736 <p>Exists due to a mistake when developing HTTPProxy and the field was marked plural 2737 when it should have been singular. This field should stay to not break backwards compatibility to v1 users.</p> 2738 </td> 2739 </tr> 2740 <tr> 2741 <td style="white-space:nowrap"> 2742 <code>healthCheckPolicy</code> 2743 <br> 2744 <em> 2745 <a href="#projectcontour.io/v1.TCPHealthCheckPolicy"> 2746 TCPHealthCheckPolicy 2747 </a> 2748 </em> 2749 </td> 2750 <td> 2751 <em>(Optional)</em> 2752 <p>The health check policy for this tcp proxy</p> 2753 </td> 2754 </tr> 2755 </tbody> 2756 </table> 2757 <h3 id="projectcontour.io/v1.TCPProxyInclude">TCPProxyInclude 2758 </h3> 2759 <p> 2760 (<em>Appears on:</em> 2761 <a href="#projectcontour.io/v1.TCPProxy">TCPProxy</a>) 2762 </p> 2763 <p> 2764 <p>TCPProxyInclude describes a target HTTPProxy document which contains the TCPProxy details.</p> 2765 </p> 2766 <table class="table table-striped table-borderless" style="border:none"> 2767 <thead class="border-bottom"> 2768 <tr> 2769 <th>Field</th> 2770 <th>Description</th> 2771 </tr> 2772 </thead> 2773 <tbody class="border-top"> 2774 <tr> 2775 <td style="white-space:nowrap"> 2776 <code>name</code> 2777 <br> 2778 <em> 2779 string 2780 </em> 2781 </td> 2782 <td> 2783 <p>Name of the child HTTPProxy</p> 2784 </td> 2785 </tr> 2786 <tr> 2787 <td style="white-space:nowrap"> 2788 <code>namespace</code> 2789 <br> 2790 <em> 2791 string 2792 </em> 2793 </td> 2794 <td> 2795 <em>(Optional)</em> 2796 <p>Namespace of the HTTPProxy to include. Defaults to the current namespace if not supplied.</p> 2797 </td> 2798 </tr> 2799 </tbody> 2800 </table> 2801 <h3 id="projectcontour.io/v1.TLS">TLS 2802 </h3> 2803 <p> 2804 (<em>Appears on:</em> 2805 <a href="#projectcontour.io/v1.VirtualHost">VirtualHost</a>) 2806 </p> 2807 <p> 2808 <p>TLS describes tls properties. The SNI names that will be matched on 2809 are described in the HTTPProxy’s Spec.VirtualHost.Fqdn field.</p> 2810 </p> 2811 <table class="table table-striped table-borderless" style="border:none"> 2812 <thead class="border-bottom"> 2813 <tr> 2814 <th>Field</th> 2815 <th>Description</th> 2816 </tr> 2817 </thead> 2818 <tbody class="border-top"> 2819 <tr> 2820 <td style="white-space:nowrap"> 2821 <code>secretName</code> 2822 <br> 2823 <em> 2824 string 2825 </em> 2826 </td> 2827 <td> 2828 <p>SecretName is the name of a TLS secret in the current namespace. 2829 Either SecretName or Passthrough must be specified, but not both. 2830 If specified, the named secret must contain a matching certificate 2831 for the virtual host’s FQDN.</p> 2832 </td> 2833 </tr> 2834 <tr> 2835 <td style="white-space:nowrap"> 2836 <code>minimumProtocolVersion</code> 2837 <br> 2838 <em> 2839 string 2840 </em> 2841 </td> 2842 <td> 2843 <em>(Optional)</em> 2844 <p>MinimumProtocolVersion is the minimum TLS version this vhost should 2845 negotiate. Valid options are <code>1.2</code> (default) and <code>1.3</code>. Any other value 2846 defaults to TLS 1.2.</p> 2847 </td> 2848 </tr> 2849 <tr> 2850 <td style="white-space:nowrap"> 2851 <code>passthrough</code> 2852 <br> 2853 <em> 2854 bool 2855 </em> 2856 </td> 2857 <td> 2858 <em>(Optional)</em> 2859 <p>Passthrough defines whether the encrypted TLS handshake will be 2860 passed through to the backing cluster. Either Passthrough or 2861 SecretName must be specified, but not both.</p> 2862 </td> 2863 </tr> 2864 <tr> 2865 <td style="white-space:nowrap"> 2866 <code>clientValidation</code> 2867 <br> 2868 <em> 2869 <a href="#projectcontour.io/v1.DownstreamValidation"> 2870 DownstreamValidation 2871 </a> 2872 </em> 2873 </td> 2874 <td> 2875 <em>(Optional)</em> 2876 <p>ClientValidation defines how to verify the client certificate 2877 when an external client establishes a TLS connection to Envoy.</p> 2878 <p>This setting:</p> 2879 <ol> 2880 <li>Enables TLS client certificate validation.</li> 2881 <li>Specifies how the client certificate will be validated (i.e. 2882 validation required or skipped).</li> 2883 </ol> 2884 <p>Note: Setting client certificate validation to be skipped should 2885 be only used in conjunction with an external authorization server that 2886 performs client validation as Contour will ensure client certificates 2887 are passed along.</p> 2888 </td> 2889 </tr> 2890 <tr> 2891 <td style="white-space:nowrap"> 2892 <code>enableFallbackCertificate</code> 2893 <br> 2894 <em> 2895 bool 2896 </em> 2897 </td> 2898 <td> 2899 <p>EnableFallbackCertificate defines if the vhost should allow a default certificate to 2900 be applied which handles all requests which don’t match the SNI defined in this vhost.</p> 2901 </td> 2902 </tr> 2903 </tbody> 2904 </table> 2905 <h3 id="projectcontour.io/v1.TLSCertificateDelegationSpec">TLSCertificateDelegationSpec 2906 </h3> 2907 <p> 2908 (<em>Appears on:</em> 2909 <a href="#projectcontour.io/v1.TLSCertificateDelegation">TLSCertificateDelegation</a>) 2910 </p> 2911 <p> 2912 <p>TLSCertificateDelegationSpec defines the spec of the CRD</p> 2913 </p> 2914 <table class="table table-striped table-borderless" style="border:none"> 2915 <thead class="border-bottom"> 2916 <tr> 2917 <th>Field</th> 2918 <th>Description</th> 2919 </tr> 2920 </thead> 2921 <tbody class="border-top"> 2922 <tr> 2923 <td style="white-space:nowrap"> 2924 <code>delegations</code> 2925 <br> 2926 <em> 2927 <a href="#projectcontour.io/v1.CertificateDelegation"> 2928 []CertificateDelegation 2929 </a> 2930 </em> 2931 </td> 2932 <td> 2933 </td> 2934 </tr> 2935 </tbody> 2936 </table> 2937 <h3 id="projectcontour.io/v1.TLSCertificateDelegationStatus">TLSCertificateDelegationStatus 2938 </h3> 2939 <p> 2940 (<em>Appears on:</em> 2941 <a href="#projectcontour.io/v1.TLSCertificateDelegation">TLSCertificateDelegation</a>) 2942 </p> 2943 <p> 2944 <p>TLSCertificateDelegationStatus allows for the status of the delegation 2945 to be presented to the user.</p> 2946 </p> 2947 <table class="table table-striped table-borderless" style="border:none"> 2948 <thead class="border-bottom"> 2949 <tr> 2950 <th>Field</th> 2951 <th>Description</th> 2952 </tr> 2953 </thead> 2954 <tbody class="border-top"> 2955 <tr> 2956 <td style="white-space:nowrap"> 2957 <code>conditions</code> 2958 <br> 2959 <em> 2960 <a href="#projectcontour.io/v1.DetailedCondition"> 2961 []DetailedCondition 2962 </a> 2963 </em> 2964 </td> 2965 <td> 2966 <em>(Optional)</em> 2967 <p>Conditions contains information about the current status of the HTTPProxy, 2968 in an upstream-friendly container.</p> 2969 <p>Contour will update a single condition, <code>Valid</code>, that is in normal-true polarity. 2970 That is, when <code>currentStatus</code> is <code>valid</code>, the <code>Valid</code> condition will be <code>status: true</code>, 2971 and vice versa.</p> 2972 <p>Contour will leave untouched any other Conditions set in this block, 2973 in case some other controller wants to add a Condition.</p> 2974 <p>If you are another controller owner and wish to add a condition, you <em>should</em> 2975 namespace your condition with a label, like <code>controller.domain.com\ConditionName</code>.</p> 2976 </td> 2977 </tr> 2978 </tbody> 2979 </table> 2980 <h3 id="projectcontour.io/v1.TimeoutPolicy">TimeoutPolicy 2981 </h3> 2982 <p> 2983 (<em>Appears on:</em> 2984 <a href="#projectcontour.io/v1.Route">Route</a>, 2985 <a href="#projectcontour.io/v1alpha1.ExtensionServiceSpec">ExtensionServiceSpec</a>) 2986 </p> 2987 <p> 2988 <p>TimeoutPolicy configures timeouts that are used for handling network requests.</p> 2989 <p>TimeoutPolicy durations are expressed in the Go <a href="https://godoc.org/time#ParseDuration">Duration format</a>. 2990 Valid time units are “ns”, “us” (or “µs”), “ms”, “s”, “m”, “h”. 2991 The string “infinity” is also a valid input and specifies no timeout. 2992 A value of “0s” will be treated as if the field were not set, i.e. by using Envoy’s default behavior.</p> 2993 <p>Example input values: “300ms”, “5s”, “1m”.</p> 2994 </p> 2995 <table class="table table-striped table-borderless" style="border:none"> 2996 <thead class="border-bottom"> 2997 <tr> 2998 <th>Field</th> 2999 <th>Description</th> 3000 </tr> 3001 </thead> 3002 <tbody class="border-top"> 3003 <tr> 3004 <td style="white-space:nowrap"> 3005 <code>response</code> 3006 <br> 3007 <em> 3008 string 3009 </em> 3010 </td> 3011 <td> 3012 <em>(Optional)</em> 3013 <p>Timeout for receiving a response from the server after processing a request from client. 3014 If not supplied, Envoy’s default value of 15s applies.</p> 3015 </td> 3016 </tr> 3017 <tr> 3018 <td style="white-space:nowrap"> 3019 <code>idle</code> 3020 <br> 3021 <em> 3022 string 3023 </em> 3024 </td> 3025 <td> 3026 <em>(Optional)</em> 3027 <p>Timeout after which, if there are no active requests for this route, the connection between 3028 Envoy and the backend or Envoy and the external client will be closed. 3029 If not specified, there is no per-route idle timeout, though a connection manager-wide 3030 stream_idle_timeout default of 5m still applies.</p> 3031 </td> 3032 </tr> 3033 </tbody> 3034 </table> 3035 <h3 id="projectcontour.io/v1.UpstreamValidation">UpstreamValidation 3036 </h3> 3037 <p> 3038 (<em>Appears on:</em> 3039 <a href="#projectcontour.io/v1.Service">Service</a>, 3040 <a href="#projectcontour.io/v1alpha1.ExtensionServiceSpec">ExtensionServiceSpec</a>) 3041 </p> 3042 <p> 3043 <p>UpstreamValidation defines how to verify the backend service’s certificate</p> 3044 </p> 3045 <table class="table table-striped table-borderless" style="border:none"> 3046 <thead class="border-bottom"> 3047 <tr> 3048 <th>Field</th> 3049 <th>Description</th> 3050 </tr> 3051 </thead> 3052 <tbody class="border-top"> 3053 <tr> 3054 <td style="white-space:nowrap"> 3055 <code>caSecret</code> 3056 <br> 3057 <em> 3058 string 3059 </em> 3060 </td> 3061 <td> 3062 <p>Name of the Kubernetes secret be used to validate the certificate presented by the backend</p> 3063 </td> 3064 </tr> 3065 <tr> 3066 <td style="white-space:nowrap"> 3067 <code>subjectName</code> 3068 <br> 3069 <em> 3070 string 3071 </em> 3072 </td> 3073 <td> 3074 <p>Key which is expected to be present in the ‘subjectAltName’ of the presented certificate</p> 3075 </td> 3076 </tr> 3077 </tbody> 3078 </table> 3079 <h3 id="projectcontour.io/v1.VirtualHost">VirtualHost 3080 </h3> 3081 <p> 3082 (<em>Appears on:</em> 3083 <a href="#projectcontour.io/v1.HTTPProxySpec">HTTPProxySpec</a>) 3084 </p> 3085 <p> 3086 <p>VirtualHost appears at most once. If it is present, the object is considered 3087 to be a “root”.</p> 3088 </p> 3089 <table class="table table-striped table-borderless" style="border:none"> 3090 <thead class="border-bottom"> 3091 <tr> 3092 <th>Field</th> 3093 <th>Description</th> 3094 </tr> 3095 </thead> 3096 <tbody class="border-top"> 3097 <tr> 3098 <td style="white-space:nowrap"> 3099 <code>fqdn</code> 3100 <br> 3101 <em> 3102 string 3103 </em> 3104 </td> 3105 <td> 3106 <p>The fully qualified domain name of the root of the ingress tree 3107 all leaves of the DAG rooted at this object relate to the fqdn.</p> 3108 </td> 3109 </tr> 3110 <tr> 3111 <td style="white-space:nowrap"> 3112 <code>tls</code> 3113 <br> 3114 <em> 3115 <a href="#projectcontour.io/v1.TLS"> 3116 TLS 3117 </a> 3118 </em> 3119 </td> 3120 <td> 3121 <em>(Optional)</em> 3122 <p>If present the fields describes TLS properties of the virtual 3123 host. The SNI names that will be matched on are described in fqdn, 3124 the tls.secretName secret must contain a certificate that itself 3125 contains a name that matches the FQDN.</p> 3126 </td> 3127 </tr> 3128 <tr> 3129 <td style="white-space:nowrap"> 3130 <code>authorization</code> 3131 <br> 3132 <em> 3133 <a href="#projectcontour.io/v1.AuthorizationServer"> 3134 AuthorizationServer 3135 </a> 3136 </em> 3137 </td> 3138 <td> 3139 <em>(Optional)</em> 3140 <p>This field configures an extension service to perform 3141 authorization for this virtual host. Authorization can 3142 only be configured on virtual hosts that have TLS enabled. 3143 If the TLS configuration requires client certificate 3144 validation, the client certificate is always included in the 3145 authentication check request.</p> 3146 </td> 3147 </tr> 3148 <tr> 3149 <td style="white-space:nowrap"> 3150 <code>corsPolicy</code> 3151 <br> 3152 <em> 3153 <a href="#projectcontour.io/v1.CORSPolicy"> 3154 CORSPolicy 3155 </a> 3156 </em> 3157 </td> 3158 <td> 3159 <em>(Optional)</em> 3160 <p>Specifies the cross-origin policy to apply to the VirtualHost.</p> 3161 </td> 3162 </tr> 3163 <tr> 3164 <td style="white-space:nowrap"> 3165 <code>rateLimitPolicy</code> 3166 <br> 3167 <em> 3168 <a href="#projectcontour.io/v1.RateLimitPolicy"> 3169 RateLimitPolicy 3170 </a> 3171 </em> 3172 </td> 3173 <td> 3174 <em>(Optional)</em> 3175 <p>The policy for rate limiting on the virtual host.</p> 3176 </td> 3177 </tr> 3178 </tbody> 3179 </table> 3180 <hr/> 3181 <h2 id="projectcontour.io/v1alpha1">projectcontour.io/v1alpha1</h2> 3182 <p> 3183 <p>Package v1alpha1 contains API Schema definitions for the projectcontour.io v1alpha1 API group</p> 3184 </p> 3185 Resource Types: 3186 <ul><li> 3187 <a href="#projectcontour.io/v1alpha1.ExtensionService">ExtensionService</a> 3188 </li></ul> 3189 <h3 id="projectcontour.io/v1alpha1.ExtensionService">ExtensionService 3190 </h3> 3191 <p> 3192 <p>ExtensionService is the schema for the Contour extension services API. 3193 An ExtensionService resource binds a network service to the Contour 3194 API so that Contour API features can be implemented by collaborating 3195 components.</p> 3196 </p> 3197 <table class="table table-striped table-borderless" style="border:none"> 3198 <thead class="border-bottom"> 3199 <tr> 3200 <th>Field</th> 3201 <th>Description</th> 3202 </tr> 3203 </thead> 3204 <tbody class="border-top"> 3205 <tr> 3206 <td> 3207 <code>apiVersion</code> 3208 <br> 3209 string</td> 3210 <td> 3211 <code> 3212 projectcontour.io/v1alpha1 3213 </code> 3214 </td> 3215 </tr> 3216 <tr> 3217 <td> 3218 <code>kind</code> 3219 <br> 3220 string 3221 </td> 3222 <td><code>ExtensionService</code></td> 3223 </tr> 3224 <tr> 3225 <td style="white-space:nowrap"> 3226 <code>metadata</code> 3227 <br> 3228 <em> 3229 <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#objectmeta-v1-meta"> 3230 Kubernetes meta/v1.ObjectMeta 3231 </a> 3232 </em> 3233 </td> 3234 <td> 3235 Refer to the Kubernetes API documentation for the fields of the 3236 <code>metadata</code> field. 3237 </td> 3238 </tr> 3239 <tr> 3240 <td style="white-space:nowrap"> 3241 <code>spec</code> 3242 <br> 3243 <em> 3244 <a href="#projectcontour.io/v1alpha1.ExtensionServiceSpec"> 3245 ExtensionServiceSpec 3246 </a> 3247 </em> 3248 </td> 3249 <td> 3250 <br> 3251 <br> 3252 <table style="border:none"> 3253 <tr> 3254 <td style="white-space:nowrap"> 3255 <code>services</code> 3256 <br> 3257 <em> 3258 <a href="#projectcontour.io/v1alpha1.ExtensionServiceTarget"> 3259 []ExtensionServiceTarget 3260 </a> 3261 </em> 3262 </td> 3263 <td> 3264 <p>Services specifies the set of Kubernetes Service resources that 3265 receive GRPC extension API requests. 3266 If no weights are specified for any of the entries in 3267 this array, traffic will be spread evenly across all the 3268 services. 3269 Otherwise, traffic is balanced proportionally to the 3270 Weight field in each entry.</p> 3271 </td> 3272 </tr> 3273 <tr> 3274 <td style="white-space:nowrap"> 3275 <code>validation</code> 3276 <br> 3277 <em> 3278 <a href="#projectcontour.io/v1.UpstreamValidation"> 3279 UpstreamValidation 3280 </a> 3281 </em> 3282 </td> 3283 <td> 3284 <em>(Optional)</em> 3285 <p>UpstreamValidation defines how to verify the backend service’s certificate</p> 3286 </td> 3287 </tr> 3288 <tr> 3289 <td style="white-space:nowrap"> 3290 <code>protocol</code> 3291 <br> 3292 <em> 3293 string 3294 </em> 3295 </td> 3296 <td> 3297 <em>(Optional)</em> 3298 <p>Protocol may be used to specify (or override) the protocol used to reach this Service. 3299 Values may be h2 or h2c. If omitted, protocol-selection falls back on Service annotations.</p> 3300 </td> 3301 </tr> 3302 <tr> 3303 <td style="white-space:nowrap"> 3304 <code>loadBalancerPolicy</code> 3305 <br> 3306 <em> 3307 <a href="#projectcontour.io/v1.LoadBalancerPolicy"> 3308 LoadBalancerPolicy 3309 </a> 3310 </em> 3311 </td> 3312 <td> 3313 <em>(Optional)</em> 3314 <p>The policy for load balancing GRPC service requests. Note that the 3315 <code>Cookie</code> and <code>RequestHash</code> load balancing strategies cannot be used 3316 here.</p> 3317 </td> 3318 </tr> 3319 <tr> 3320 <td style="white-space:nowrap"> 3321 <code>timeoutPolicy</code> 3322 <br> 3323 <em> 3324 <a href="#projectcontour.io/v1.TimeoutPolicy"> 3325 TimeoutPolicy 3326 </a> 3327 </em> 3328 </td> 3329 <td> 3330 <em>(Optional)</em> 3331 <p>The timeout policy for requests to the services.</p> 3332 </td> 3333 </tr> 3334 <tr> 3335 <td style="white-space:nowrap"> 3336 <code>protocolVersion</code> 3337 <br> 3338 <em> 3339 <a href="#projectcontour.io/v1alpha1.ExtensionProtocolVersion"> 3340 ExtensionProtocolVersion 3341 </a> 3342 </em> 3343 </td> 3344 <td> 3345 <em>(Optional)</em> 3346 <p>This field sets the version of the GRPC protocol that Envoy uses to 3347 send requests to the extension service. Since Contour always uses the 3348 v3 Envoy API, this is currently fixed at “v3”. However, other 3349 protocol options will be available in future.</p> 3350 </td> 3351 </tr> 3352 </table> 3353 </td> 3354 </tr> 3355 <tr> 3356 <td style="white-space:nowrap"> 3357 <code>status</code> 3358 <br> 3359 <em> 3360 <a href="#projectcontour.io/v1alpha1.ExtensionServiceStatus"> 3361 ExtensionServiceStatus 3362 </a> 3363 </em> 3364 </td> 3365 <td> 3366 </td> 3367 </tr> 3368 </tbody> 3369 </table> 3370 <h3 id="projectcontour.io/v1alpha1.ExtensionProtocolVersion">ExtensionProtocolVersion 3371 (<code>string</code> alias)</h3> 3372 <p> 3373 (<em>Appears on:</em> 3374 <a href="#projectcontour.io/v1alpha1.ExtensionServiceSpec">ExtensionServiceSpec</a>) 3375 </p> 3376 <p> 3377 <p>ExtensionProtocolVersion is the version of the GRPC protocol used 3378 to access extension services. The only version currently supported 3379 is “v3”.</p> 3380 </p> 3381 <h3 id="projectcontour.io/v1alpha1.ExtensionServiceSpec">ExtensionServiceSpec 3382 </h3> 3383 <p> 3384 (<em>Appears on:</em> 3385 <a href="#projectcontour.io/v1alpha1.ExtensionService">ExtensionService</a>) 3386 </p> 3387 <p> 3388 <p>ExtensionServiceSpec defines the desired state of an ExtensionService resource.</p> 3389 </p> 3390 <table class="table table-striped table-borderless" style="border:none"> 3391 <thead class="border-bottom"> 3392 <tr> 3393 <th>Field</th> 3394 <th>Description</th> 3395 </tr> 3396 </thead> 3397 <tbody class="border-top"> 3398 <tr> 3399 <td style="white-space:nowrap"> 3400 <code>services</code> 3401 <br> 3402 <em> 3403 <a href="#projectcontour.io/v1alpha1.ExtensionServiceTarget"> 3404 []ExtensionServiceTarget 3405 </a> 3406 </em> 3407 </td> 3408 <td> 3409 <p>Services specifies the set of Kubernetes Service resources that 3410 receive GRPC extension API requests. 3411 If no weights are specified for any of the entries in 3412 this array, traffic will be spread evenly across all the 3413 services. 3414 Otherwise, traffic is balanced proportionally to the 3415 Weight field in each entry.</p> 3416 </td> 3417 </tr> 3418 <tr> 3419 <td style="white-space:nowrap"> 3420 <code>validation</code> 3421 <br> 3422 <em> 3423 <a href="#projectcontour.io/v1.UpstreamValidation"> 3424 UpstreamValidation 3425 </a> 3426 </em> 3427 </td> 3428 <td> 3429 <em>(Optional)</em> 3430 <p>UpstreamValidation defines how to verify the backend service’s certificate</p> 3431 </td> 3432 </tr> 3433 <tr> 3434 <td style="white-space:nowrap"> 3435 <code>protocol</code> 3436 <br> 3437 <em> 3438 string 3439 </em> 3440 </td> 3441 <td> 3442 <em>(Optional)</em> 3443 <p>Protocol may be used to specify (or override) the protocol used to reach this Service. 3444 Values may be h2 or h2c. If omitted, protocol-selection falls back on Service annotations.</p> 3445 </td> 3446 </tr> 3447 <tr> 3448 <td style="white-space:nowrap"> 3449 <code>loadBalancerPolicy</code> 3450 <br> 3451 <em> 3452 <a href="#projectcontour.io/v1.LoadBalancerPolicy"> 3453 LoadBalancerPolicy 3454 </a> 3455 </em> 3456 </td> 3457 <td> 3458 <em>(Optional)</em> 3459 <p>The policy for load balancing GRPC service requests. Note that the 3460 <code>Cookie</code> and <code>RequestHash</code> load balancing strategies cannot be used 3461 here.</p> 3462 </td> 3463 </tr> 3464 <tr> 3465 <td style="white-space:nowrap"> 3466 <code>timeoutPolicy</code> 3467 <br> 3468 <em> 3469 <a href="#projectcontour.io/v1.TimeoutPolicy"> 3470 TimeoutPolicy 3471 </a> 3472 </em> 3473 </td> 3474 <td> 3475 <em>(Optional)</em> 3476 <p>The timeout policy for requests to the services.</p> 3477 </td> 3478 </tr> 3479 <tr> 3480 <td style="white-space:nowrap"> 3481 <code>protocolVersion</code> 3482 <br> 3483 <em> 3484 <a href="#projectcontour.io/v1alpha1.ExtensionProtocolVersion"> 3485 ExtensionProtocolVersion 3486 </a> 3487 </em> 3488 </td> 3489 <td> 3490 <em>(Optional)</em> 3491 <p>This field sets the version of the GRPC protocol that Envoy uses to 3492 send requests to the extension service. Since Contour always uses the 3493 v3 Envoy API, this is currently fixed at “v3”. However, other 3494 protocol options will be available in future.</p> 3495 </td> 3496 </tr> 3497 </tbody> 3498 </table> 3499 <h3 id="projectcontour.io/v1alpha1.ExtensionServiceStatus">ExtensionServiceStatus 3500 </h3> 3501 <p> 3502 (<em>Appears on:</em> 3503 <a href="#projectcontour.io/v1alpha1.ExtensionService">ExtensionService</a>) 3504 </p> 3505 <p> 3506 <p>ExtensionServiceStatus defines the observed state of an 3507 ExtensionService resource.</p> 3508 </p> 3509 <table class="table table-striped table-borderless" style="border:none"> 3510 <thead class="border-bottom"> 3511 <tr> 3512 <th>Field</th> 3513 <th>Description</th> 3514 </tr> 3515 </thead> 3516 <tbody class="border-top"> 3517 <tr> 3518 <td style="white-space:nowrap"> 3519 <code>conditions</code> 3520 <br> 3521 <em> 3522 <a href="#projectcontour.io/v1.DetailedCondition"> 3523 []DetailedCondition 3524 </a> 3525 </em> 3526 </td> 3527 <td> 3528 <em>(Optional)</em> 3529 <p>Conditions contains the current status of the ExtensionService resource.</p> 3530 <p>Contour will update a single condition, <code>Valid</code>, that is in normal-true polarity.</p> 3531 <p>Contour will not modify any other Conditions set in this block, 3532 in case some other controller wants to add a Condition.</p> 3533 </td> 3534 </tr> 3535 </tbody> 3536 </table> 3537 <h3 id="projectcontour.io/v1alpha1.ExtensionServiceTarget">ExtensionServiceTarget 3538 </h3> 3539 <p> 3540 (<em>Appears on:</em> 3541 <a href="#projectcontour.io/v1alpha1.ExtensionServiceSpec">ExtensionServiceSpec</a>) 3542 </p> 3543 <p> 3544 <p>ExtensionServiceTarget defines an Kubernetes Service to target with 3545 extension service traffic.</p> 3546 </p> 3547 <table class="table table-striped table-borderless" style="border:none"> 3548 <thead class="border-bottom"> 3549 <tr> 3550 <th>Field</th> 3551 <th>Description</th> 3552 </tr> 3553 </thead> 3554 <tbody class="border-top"> 3555 <tr> 3556 <td style="white-space:nowrap"> 3557 <code>name</code> 3558 <br> 3559 <em> 3560 string 3561 </em> 3562 </td> 3563 <td> 3564 <p>Name is the name of Kubernetes service that will accept service 3565 traffic.</p> 3566 </td> 3567 </tr> 3568 <tr> 3569 <td style="white-space:nowrap"> 3570 <code>port</code> 3571 <br> 3572 <em> 3573 int 3574 </em> 3575 </td> 3576 <td> 3577 <p>Port (defined as Integer) to proxy traffic to since a service can have multiple defined.</p> 3578 </td> 3579 </tr> 3580 <tr> 3581 <td style="white-space:nowrap"> 3582 <code>weight</code> 3583 <br> 3584 <em> 3585 uint32 3586 </em> 3587 </td> 3588 <td> 3589 <em>(Optional)</em> 3590 <p>Weight defines proportion of traffic to balance to the Kubernetes Service.</p> 3591 </td> 3592 </tr> 3593 </tbody> 3594 </table> 3595 <hr/> 3596 <p><em> 3597 Generated with <code>gen-crd-api-reference-docs</code>. 3598 </em></p>