|
| 1 | + |
| 2 | +--- |
| 3 | +apiVersion: apiextensions.k8s.io/v1 |
| 4 | +kind: CustomResourceDefinition |
| 5 | +metadata: |
| 6 | + annotations: |
| 7 | + controller-gen.kubebuilder.io/version: v0.6.2 |
| 8 | + creationTimestamp: null |
| 9 | + name: ingressroutes.traefik.containo.us |
| 10 | +spec: |
| 11 | + group: traefik.containo.us |
| 12 | + names: |
| 13 | + kind: IngressRoute |
| 14 | + listKind: IngressRouteList |
| 15 | + plural: ingressroutes |
| 16 | + singular: ingressroute |
| 17 | + scope: Namespaced |
| 18 | + versions: |
| 19 | + - name: v1alpha1 |
| 20 | + schema: |
| 21 | + openAPIV3Schema: |
| 22 | + description: IngressRoute is the CRD implementation of a Traefik HTTP Router. |
| 23 | + properties: |
| 24 | + apiVersion: |
| 25 | + description: 'APIVersion defines the versioned schema of this representation |
| 26 | + of an object. Servers should convert recognized schemas to the latest |
| 27 | + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' |
| 28 | + type: string |
| 29 | + kind: |
| 30 | + description: 'Kind is a string value representing the REST resource this |
| 31 | + object represents. Servers may infer this from the endpoint the client |
| 32 | + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' |
| 33 | + type: string |
| 34 | + metadata: |
| 35 | + type: object |
| 36 | + spec: |
| 37 | + description: IngressRouteSpec defines the desired state of IngressRoute. |
| 38 | + properties: |
| 39 | + entryPoints: |
| 40 | + description: 'EntryPoints defines the list of entry point names to |
| 41 | + bind to. Entry points have to be configured in the static configuration. |
| 42 | + More info: https://doc.traefik.io/traefik/v2.10/routing/entrypoints/ |
| 43 | + Default: all.' |
| 44 | + items: |
| 45 | + type: string |
| 46 | + type: array |
| 47 | + routes: |
| 48 | + description: Routes defines the list of routes. |
| 49 | + items: |
| 50 | + description: Route holds the HTTP route configuration. |
| 51 | + properties: |
| 52 | + kind: |
| 53 | + description: Kind defines the kind of the route. Rule is the |
| 54 | + only supported kind. |
| 55 | + enum: |
| 56 | + - Rule |
| 57 | + type: string |
| 58 | + match: |
| 59 | + description: 'Match defines the router''s rule. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#rule' |
| 60 | + type: string |
| 61 | + middlewares: |
| 62 | + description: 'Middlewares defines the list of references to |
| 63 | + Middleware resources. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-middleware' |
| 64 | + items: |
| 65 | + description: MiddlewareRef is a reference to a Middleware |
| 66 | + resource. |
| 67 | + properties: |
| 68 | + name: |
| 69 | + description: Name defines the name of the referenced Middleware |
| 70 | + resource. |
| 71 | + type: string |
| 72 | + namespace: |
| 73 | + description: Namespace defines the namespace of the referenced |
| 74 | + Middleware resource. |
| 75 | + type: string |
| 76 | + required: |
| 77 | + - name |
| 78 | + type: object |
| 79 | + type: array |
| 80 | + priority: |
| 81 | + description: 'Priority defines the router''s priority. More |
| 82 | + info: https://doc.traefik.io/traefik/v2.10/routing/routers/#priority' |
| 83 | + type: integer |
| 84 | + services: |
| 85 | + description: Services defines the list of Service. It can contain |
| 86 | + any combination of TraefikService and/or reference to a Kubernetes |
| 87 | + Service. |
| 88 | + items: |
| 89 | + description: Service defines an upstream HTTP service to proxy |
| 90 | + traffic to. |
| 91 | + properties: |
| 92 | + kind: |
| 93 | + description: Kind defines the kind of the Service. |
| 94 | + enum: |
| 95 | + - Service |
| 96 | + - TraefikService |
| 97 | + type: string |
| 98 | + name: |
| 99 | + description: Name defines the name of the referenced Kubernetes |
| 100 | + Service or TraefikService. The differentiation between |
| 101 | + the two is specified in the Kind field. |
| 102 | + type: string |
| 103 | + namespace: |
| 104 | + description: Namespace defines the namespace of the referenced |
| 105 | + Kubernetes Service or TraefikService. |
| 106 | + type: string |
| 107 | + nativeLB: |
| 108 | + description: NativeLB controls, when creating the load-balancer, |
| 109 | + whether the LB's children are directly the pods IPs |
| 110 | + or if the only child is the Kubernetes Service clusterIP. |
| 111 | + The Kubernetes Service itself does load-balance to the |
| 112 | + pods. By default, NativeLB is false. |
| 113 | + type: boolean |
| 114 | + passHostHeader: |
| 115 | + description: PassHostHeader defines whether the client |
| 116 | + Host header is forwarded to the upstream Kubernetes |
| 117 | + Service. By default, passHostHeader is true. |
| 118 | + type: boolean |
| 119 | + port: |
| 120 | + anyOf: |
| 121 | + - type: integer |
| 122 | + - type: string |
| 123 | + description: Port defines the port of a Kubernetes Service. |
| 124 | + This can be a reference to a named port. |
| 125 | + x-kubernetes-int-or-string: true |
| 126 | + responseForwarding: |
| 127 | + description: ResponseForwarding defines how Traefik forwards |
| 128 | + the response from the upstream Kubernetes Service to |
| 129 | + the client. |
| 130 | + properties: |
| 131 | + flushInterval: |
| 132 | + description: 'FlushInterval defines the interval, |
| 133 | + in milliseconds, in between flushes to the client |
| 134 | + while copying the response body. A negative value |
| 135 | + means to flush immediately after each write to the |
| 136 | + client. This configuration is ignored when ReverseProxy |
| 137 | + recognizes a response as a streaming response; for |
| 138 | + such responses, writes are flushed to the client |
| 139 | + immediately. Default: 100ms' |
| 140 | + type: string |
| 141 | + type: object |
| 142 | + scheme: |
| 143 | + description: Scheme defines the scheme to use for the |
| 144 | + request to the upstream Kubernetes Service. It defaults |
| 145 | + to https when Kubernetes Service port is 443, http otherwise. |
| 146 | + type: string |
| 147 | + serversTransport: |
| 148 | + description: ServersTransport defines the name of ServersTransport |
| 149 | + resource to use. It allows to configure the transport |
| 150 | + between Traefik and your servers. Can only be used on |
| 151 | + a Kubernetes Service. |
| 152 | + type: string |
| 153 | + sticky: |
| 154 | + description: 'Sticky defines the sticky sessions configuration. |
| 155 | + More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions' |
| 156 | + properties: |
| 157 | + cookie: |
| 158 | + description: Cookie defines the sticky cookie configuration. |
| 159 | + properties: |
| 160 | + httpOnly: |
| 161 | + description: HTTPOnly defines whether the cookie |
| 162 | + can be accessed by client-side APIs, such as |
| 163 | + JavaScript. |
| 164 | + type: boolean |
| 165 | + name: |
| 166 | + description: Name defines the Cookie name. |
| 167 | + type: string |
| 168 | + sameSite: |
| 169 | + description: 'SameSite defines the same site policy. |
| 170 | + More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite' |
| 171 | + type: string |
| 172 | + secure: |
| 173 | + description: Secure defines whether the cookie |
| 174 | + can only be transmitted over an encrypted connection |
| 175 | + (i.e. HTTPS). |
| 176 | + type: boolean |
| 177 | + type: object |
| 178 | + type: object |
| 179 | + strategy: |
| 180 | + description: Strategy defines the load balancing strategy |
| 181 | + between the servers. RoundRobin is the only supported |
| 182 | + value at the moment. |
| 183 | + type: string |
| 184 | + weight: |
| 185 | + description: Weight defines the weight and should only |
| 186 | + be specified when Name references a TraefikService object |
| 187 | + (and to be precise, one that embeds a Weighted Round |
| 188 | + Robin). |
| 189 | + type: integer |
| 190 | + required: |
| 191 | + - name |
| 192 | + type: object |
| 193 | + type: array |
| 194 | + required: |
| 195 | + - kind |
| 196 | + - match |
| 197 | + type: object |
| 198 | + type: array |
| 199 | + tls: |
| 200 | + description: 'TLS defines the TLS configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#tls' |
| 201 | + properties: |
| 202 | + certResolver: |
| 203 | + description: 'CertResolver defines the name of the certificate |
| 204 | + resolver to use. Cert resolvers have to be configured in the |
| 205 | + static configuration. More info: https://doc.traefik.io/traefik/v2.10/https/acme/#certificate-resolvers' |
| 206 | + type: string |
| 207 | + domains: |
| 208 | + description: 'Domains defines the list of domains that will be |
| 209 | + used to issue certificates. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#domains' |
| 210 | + items: |
| 211 | + description: Domain holds a domain name with SANs. |
| 212 | + properties: |
| 213 | + main: |
| 214 | + description: Main defines the main domain name. |
| 215 | + type: string |
| 216 | + sans: |
| 217 | + description: SANs defines the subject alternative domain |
| 218 | + names. |
| 219 | + items: |
| 220 | + type: string |
| 221 | + type: array |
| 222 | + type: object |
| 223 | + type: array |
| 224 | + options: |
| 225 | + description: 'Options defines the reference to a TLSOption, that |
| 226 | + specifies the parameters of the TLS connection. If not defined, |
| 227 | + the `default` TLSOption is used. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#tls-options' |
| 228 | + properties: |
| 229 | + name: |
| 230 | + description: 'Name defines the name of the referenced TLSOption. |
| 231 | + More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsoption' |
| 232 | + type: string |
| 233 | + namespace: |
| 234 | + description: 'Namespace defines the namespace of the referenced |
| 235 | + TLSOption. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsoption' |
| 236 | + type: string |
| 237 | + required: |
| 238 | + - name |
| 239 | + type: object |
| 240 | + secretName: |
| 241 | + description: SecretName is the name of the referenced Kubernetes |
| 242 | + Secret to specify the certificate details. |
| 243 | + type: string |
| 244 | + store: |
| 245 | + description: Store defines the reference to the TLSStore, that |
| 246 | + will be used to store certificates. Please note that only `default` |
| 247 | + TLSStore can be used. |
| 248 | + properties: |
| 249 | + name: |
| 250 | + description: 'Name defines the name of the referenced TLSStore. |
| 251 | + More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsstore' |
| 252 | + type: string |
| 253 | + namespace: |
| 254 | + description: 'Namespace defines the namespace of the referenced |
| 255 | + TLSStore. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsstore' |
| 256 | + type: string |
| 257 | + required: |
| 258 | + - name |
| 259 | + type: object |
| 260 | + type: object |
| 261 | + required: |
| 262 | + - routes |
| 263 | + type: object |
| 264 | + required: |
| 265 | + - metadata |
| 266 | + - spec |
| 267 | + type: object |
| 268 | + served: true |
| 269 | + storage: true |
| 270 | +status: |
| 271 | + acceptedNames: |
| 272 | + kind: "" |
| 273 | + plural: "" |
| 274 | + conditions: [] |
| 275 | + storedVersions: [] |
0 commit comments