mirror of
https://github.com/containous/traefik.git
synced 2025-02-02 09:47:10 +03:00
remove UniqueItems: it's not supported
This commit is contained in:
parent
25ee537b01
commit
4e30109595
@ -49,8 +49,8 @@ spec:
|
||||
- web
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
routes:
|
||||
description: Routes defines the list of routes.
|
||||
items:
|
||||
@ -281,6 +281,7 @@ spec:
|
||||
- b.example.net
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
type: object
|
||||
type: array
|
||||
@ -394,8 +395,8 @@ spec:
|
||||
- footcp
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
routes:
|
||||
description: Routes defines the list of routes.
|
||||
items:
|
||||
@ -501,8 +502,8 @@ spec:
|
||||
- name
|
||||
- port
|
||||
type: object
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
required:
|
||||
- match
|
||||
type: object
|
||||
@ -538,6 +539,7 @@ spec:
|
||||
- b.example.net
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
type: object
|
||||
type: array
|
||||
@ -653,8 +655,8 @@ spec:
|
||||
- fooudp
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
routes:
|
||||
description: Routes defines the list of routes.
|
||||
items:
|
||||
@ -933,8 +935,8 @@ spec:
|
||||
- text/event-stream
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
minResponseBodyBytes:
|
||||
default: 1024
|
||||
description: |-
|
||||
@ -1159,6 +1161,7 @@ spec:
|
||||
- 505-599
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
type: object
|
||||
forwardAuth:
|
||||
@ -1180,8 +1183,8 @@ spec:
|
||||
- X-CustomHeader
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
authResponseHeaders:
|
||||
description: AuthResponseHeaders defines the list of headers to
|
||||
copy from the authentication server response and set on forwarded
|
||||
@ -1191,8 +1194,8 @@ spec:
|
||||
- X-Secret
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
authResponseHeadersRegex:
|
||||
description: |-
|
||||
AuthResponseHeadersRegex defines the regex to match headers to copy from the authentication server response and set on forwarded request, after stripping all headers that match the regex.
|
||||
@ -1252,8 +1255,8 @@ spec:
|
||||
- '*'
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
accessControlAllowMethods:
|
||||
description: AccessControlAllowMethods defines the Access-Control-Request-Method
|
||||
values sent in preflight response.
|
||||
@ -1263,8 +1266,8 @@ spec:
|
||||
- PUT
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
accessControlAllowOriginList:
|
||||
description: AccessControlAllowOriginList is a list of allowable
|
||||
origins. Can also be a wildcard origin "*".
|
||||
@ -1273,8 +1276,8 @@ spec:
|
||||
- https://example.org
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
accessControlAllowOriginListRegex:
|
||||
description: AccessControlAllowOriginListRegex is a list of allowable
|
||||
origins written following the Regular Expression syntax (https://golang.org/pkg/regexp/).
|
||||
@ -1282,15 +1285,15 @@ spec:
|
||||
- https://example\.org/(foo|bar)
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
accessControlExposeHeaders:
|
||||
description: AccessControlExposeHeaders defines the Access-Control-Expose-Headers
|
||||
values sent in preflight response.
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
accessControlMaxAge:
|
||||
description: AccessControlMaxAge defines the time that a preflight
|
||||
request may be cached.
|
||||
@ -1308,8 +1311,8 @@ spec:
|
||||
allowed domain names.
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
browserXssFilter:
|
||||
default: false
|
||||
description: BrowserXSSFilter defines whether to add the X-XSS-Protection
|
||||
@ -1372,8 +1375,8 @@ spec:
|
||||
hold a proxied hostname value for the request.
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
isDevelopment:
|
||||
default: false
|
||||
description: |-
|
||||
@ -1490,8 +1493,8 @@ spec:
|
||||
- 13.0.0.1
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
requestHeaderName:
|
||||
description: RequestHeaderName defines the name of the header
|
||||
@ -1532,8 +1535,8 @@ spec:
|
||||
- 13.0.0.1
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
sourceRange:
|
||||
description: SourceRange defines the set of allowed IPs (or ranges
|
||||
@ -1543,8 +1546,8 @@ spec:
|
||||
- 192.168.1.7
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
ipWhiteList:
|
||||
description: |-
|
||||
@ -1573,8 +1576,8 @@ spec:
|
||||
- 13.0.0.1
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
sourceRange:
|
||||
description: SourceRange defines the set of allowed IPs (or ranges
|
||||
@ -1584,8 +1587,8 @@ spec:
|
||||
- 192.168.1.7
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
passTLSClientCert:
|
||||
description: |-
|
||||
@ -1799,8 +1802,8 @@ spec:
|
||||
- 13.0.0.1
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
requestHeaderName:
|
||||
description: RequestHeaderName defines the name of the header
|
||||
@ -2030,8 +2033,8 @@ spec:
|
||||
- 192.168.1.7
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
ipWhiteList:
|
||||
description: |-
|
||||
@ -2048,8 +2051,8 @@ spec:
|
||||
- 192.168.1.7
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
type: object
|
||||
required:
|
||||
@ -2430,6 +2433,7 @@ spec:
|
||||
- b.example.net
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
type: object
|
||||
resolver:
|
||||
@ -3208,6 +3212,7 @@ spec:
|
||||
- b.example.net
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
type: object
|
||||
type: array
|
||||
@ -3438,6 +3443,7 @@ spec:
|
||||
- b.example.net
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
type: object
|
||||
type: array
|
||||
@ -3800,8 +3806,8 @@ spec:
|
||||
- text/event-stream
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
minResponseBodyBytes:
|
||||
default: 1024
|
||||
description: |-
|
||||
@ -4064,8 +4070,8 @@ spec:
|
||||
- '*'
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
accessControlAllowMethods:
|
||||
description: AccessControlAllowMethods defines the Access-Control-Request-Method
|
||||
values sent in preflight response.
|
||||
@ -4075,8 +4081,8 @@ spec:
|
||||
- PUT
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
accessControlAllowOriginList:
|
||||
description: AccessControlAllowOriginList is a list of allowable
|
||||
origins. Can also be a wildcard origin "*".
|
||||
@ -4085,8 +4091,8 @@ spec:
|
||||
- https://example.org
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
accessControlAllowOriginListRegex:
|
||||
description: AccessControlAllowOriginListRegex is a list of allowable
|
||||
origins written following the Regular Expression syntax (https://golang.org/pkg/regexp/).
|
||||
@ -4094,15 +4100,15 @@ spec:
|
||||
- https://example\.org/(foo|bar)
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
accessControlExposeHeaders:
|
||||
description: AccessControlExposeHeaders defines the Access-Control-Expose-Headers
|
||||
values sent in preflight response.
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
accessControlMaxAge:
|
||||
description: AccessControlMaxAge defines the time that a preflight
|
||||
request may be cached.
|
||||
@ -4120,8 +4126,8 @@ spec:
|
||||
allowed domain names.
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
browserXssFilter:
|
||||
default: false
|
||||
description: BrowserXSSFilter defines whether to add the X-XSS-Protection
|
||||
@ -4184,8 +4190,8 @@ spec:
|
||||
hold a proxied hostname value for the request.
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
isDevelopment:
|
||||
default: false
|
||||
description: |-
|
||||
@ -4302,8 +4308,8 @@ spec:
|
||||
- 13.0.0.1
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
requestHeaderName:
|
||||
description: RequestHeaderName defines the name of the header
|
||||
@ -4344,8 +4350,8 @@ spec:
|
||||
- 13.0.0.1
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
sourceRange:
|
||||
description: SourceRange defines the set of allowed IPs (or ranges
|
||||
@ -4355,8 +4361,8 @@ spec:
|
||||
- 192.168.1.7
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
ipWhiteList:
|
||||
description: |-
|
||||
@ -4385,8 +4391,8 @@ spec:
|
||||
- 13.0.0.1
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
sourceRange:
|
||||
description: SourceRange defines the set of allowed IPs (or ranges
|
||||
@ -4396,8 +4402,8 @@ spec:
|
||||
- 192.168.1.7
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
passTLSClientCert:
|
||||
description: |-
|
||||
@ -4603,8 +4609,8 @@ spec:
|
||||
- 13.0.0.1
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
requestHeaderName:
|
||||
description: RequestHeaderName defines the name of the header
|
||||
@ -4829,8 +4835,8 @@ spec:
|
||||
- 192.168.1.7
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
ipWhiteList:
|
||||
description: |-
|
||||
@ -4847,8 +4853,8 @@ spec:
|
||||
- 192.168.1.7
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
type: object
|
||||
required:
|
||||
@ -5184,6 +5190,7 @@ spec:
|
||||
- b.example.net
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
type: object
|
||||
resolver:
|
||||
|
@ -247,6 +247,7 @@ spec:
|
||||
- b.example.net
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
type: object
|
||||
type: array
|
||||
|
@ -174,6 +174,7 @@ spec:
|
||||
- b.example.net
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
type: object
|
||||
type: array
|
||||
|
@ -202,8 +202,8 @@ spec:
|
||||
- text/event-stream
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
minResponseBodyBytes:
|
||||
default: 1024
|
||||
description: |-
|
||||
@ -466,8 +466,8 @@ spec:
|
||||
- '*'
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
accessControlAllowMethods:
|
||||
description: AccessControlAllowMethods defines the Access-Control-Request-Method
|
||||
values sent in preflight response.
|
||||
@ -477,8 +477,8 @@ spec:
|
||||
- PUT
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
accessControlAllowOriginList:
|
||||
description: AccessControlAllowOriginList is a list of allowable
|
||||
origins. Can also be a wildcard origin "*".
|
||||
@ -487,8 +487,8 @@ spec:
|
||||
- https://example.org
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
accessControlAllowOriginListRegex:
|
||||
description: AccessControlAllowOriginListRegex is a list of allowable
|
||||
origins written following the Regular Expression syntax (https://golang.org/pkg/regexp/).
|
||||
@ -496,15 +496,15 @@ spec:
|
||||
- https://example\.org/(foo|bar)
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
accessControlExposeHeaders:
|
||||
description: AccessControlExposeHeaders defines the Access-Control-Expose-Headers
|
||||
values sent in preflight response.
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
accessControlMaxAge:
|
||||
description: AccessControlMaxAge defines the time that a preflight
|
||||
request may be cached.
|
||||
@ -522,8 +522,8 @@ spec:
|
||||
allowed domain names.
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
browserXssFilter:
|
||||
default: false
|
||||
description: BrowserXSSFilter defines whether to add the X-XSS-Protection
|
||||
@ -586,8 +586,8 @@ spec:
|
||||
hold a proxied hostname value for the request.
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
isDevelopment:
|
||||
default: false
|
||||
description: |-
|
||||
@ -704,8 +704,8 @@ spec:
|
||||
- 13.0.0.1
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
requestHeaderName:
|
||||
description: RequestHeaderName defines the name of the header
|
||||
@ -746,8 +746,8 @@ spec:
|
||||
- 13.0.0.1
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
sourceRange:
|
||||
description: SourceRange defines the set of allowed IPs (or ranges
|
||||
@ -757,8 +757,8 @@ spec:
|
||||
- 192.168.1.7
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
ipWhiteList:
|
||||
description: |-
|
||||
@ -787,8 +787,8 @@ spec:
|
||||
- 13.0.0.1
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
sourceRange:
|
||||
description: SourceRange defines the set of allowed IPs (or ranges
|
||||
@ -798,8 +798,8 @@ spec:
|
||||
- 192.168.1.7
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
passTLSClientCert:
|
||||
description: |-
|
||||
@ -1005,8 +1005,8 @@ spec:
|
||||
- 13.0.0.1
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
requestHeaderName:
|
||||
description: RequestHeaderName defines the name of the header
|
||||
|
@ -67,8 +67,8 @@ spec:
|
||||
- 192.168.1.7
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
ipWhiteList:
|
||||
description: |-
|
||||
@ -85,8 +85,8 @@ spec:
|
||||
- 192.168.1.7
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
type: object
|
||||
required:
|
||||
|
@ -85,6 +85,7 @@ spec:
|
||||
- b.example.net
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
type: object
|
||||
resolver:
|
||||
|
@ -49,8 +49,8 @@ spec:
|
||||
- web
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
routes:
|
||||
description: Routes defines the list of routes.
|
||||
items:
|
||||
@ -281,6 +281,7 @@ spec:
|
||||
- b.example.net
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
type: object
|
||||
type: array
|
||||
|
@ -49,8 +49,8 @@ spec:
|
||||
- footcp
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
routes:
|
||||
description: Routes defines the list of routes.
|
||||
items:
|
||||
@ -156,8 +156,8 @@ spec:
|
||||
- name
|
||||
- port
|
||||
type: object
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
required:
|
||||
- match
|
||||
type: object
|
||||
@ -193,6 +193,7 @@ spec:
|
||||
- b.example.net
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
type: object
|
||||
type: array
|
||||
|
@ -49,8 +49,8 @@ spec:
|
||||
- fooudp
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
routes:
|
||||
description: Routes defines the list of routes.
|
||||
items:
|
||||
|
@ -215,8 +215,8 @@ spec:
|
||||
- text/event-stream
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
minResponseBodyBytes:
|
||||
default: 1024
|
||||
description: |-
|
||||
@ -441,6 +441,7 @@ spec:
|
||||
- 505-599
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
type: object
|
||||
forwardAuth:
|
||||
@ -462,8 +463,8 @@ spec:
|
||||
- X-CustomHeader
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
authResponseHeaders:
|
||||
description: AuthResponseHeaders defines the list of headers to
|
||||
copy from the authentication server response and set on forwarded
|
||||
@ -473,8 +474,8 @@ spec:
|
||||
- X-Secret
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
authResponseHeadersRegex:
|
||||
description: |-
|
||||
AuthResponseHeadersRegex defines the regex to match headers to copy from the authentication server response and set on forwarded request, after stripping all headers that match the regex.
|
||||
@ -534,8 +535,8 @@ spec:
|
||||
- '*'
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
accessControlAllowMethods:
|
||||
description: AccessControlAllowMethods defines the Access-Control-Request-Method
|
||||
values sent in preflight response.
|
||||
@ -545,8 +546,8 @@ spec:
|
||||
- PUT
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
accessControlAllowOriginList:
|
||||
description: AccessControlAllowOriginList is a list of allowable
|
||||
origins. Can also be a wildcard origin "*".
|
||||
@ -555,8 +556,8 @@ spec:
|
||||
- https://example.org
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
accessControlAllowOriginListRegex:
|
||||
description: AccessControlAllowOriginListRegex is a list of allowable
|
||||
origins written following the Regular Expression syntax (https://golang.org/pkg/regexp/).
|
||||
@ -564,15 +565,15 @@ spec:
|
||||
- https://example\.org/(foo|bar)
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
accessControlExposeHeaders:
|
||||
description: AccessControlExposeHeaders defines the Access-Control-Expose-Headers
|
||||
values sent in preflight response.
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
accessControlMaxAge:
|
||||
description: AccessControlMaxAge defines the time that a preflight
|
||||
request may be cached.
|
||||
@ -590,8 +591,8 @@ spec:
|
||||
allowed domain names.
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
browserXssFilter:
|
||||
default: false
|
||||
description: BrowserXSSFilter defines whether to add the X-XSS-Protection
|
||||
@ -654,8 +655,8 @@ spec:
|
||||
hold a proxied hostname value for the request.
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
isDevelopment:
|
||||
default: false
|
||||
description: |-
|
||||
@ -772,8 +773,8 @@ spec:
|
||||
- 13.0.0.1
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
requestHeaderName:
|
||||
description: RequestHeaderName defines the name of the header
|
||||
@ -814,8 +815,8 @@ spec:
|
||||
- 13.0.0.1
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
sourceRange:
|
||||
description: SourceRange defines the set of allowed IPs (or ranges
|
||||
@ -825,8 +826,8 @@ spec:
|
||||
- 192.168.1.7
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
ipWhiteList:
|
||||
description: |-
|
||||
@ -855,8 +856,8 @@ spec:
|
||||
- 13.0.0.1
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
sourceRange:
|
||||
description: SourceRange defines the set of allowed IPs (or ranges
|
||||
@ -866,8 +867,8 @@ spec:
|
||||
- 192.168.1.7
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
passTLSClientCert:
|
||||
description: |-
|
||||
@ -1081,8 +1082,8 @@ spec:
|
||||
- 13.0.0.1
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
requestHeaderName:
|
||||
description: RequestHeaderName defines the name of the header
|
||||
|
@ -67,8 +67,8 @@ spec:
|
||||
- 192.168.1.7
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
ipWhiteList:
|
||||
description: |-
|
||||
@ -85,8 +85,8 @@ spec:
|
||||
- 192.168.1.7
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
type: object
|
||||
required:
|
||||
|
@ -87,6 +87,7 @@ spec:
|
||||
- b.example.net
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
type: object
|
||||
resolver:
|
||||
|
@ -49,8 +49,8 @@ spec:
|
||||
- web
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
routes:
|
||||
description: Routes defines the list of routes.
|
||||
items:
|
||||
@ -281,6 +281,7 @@ spec:
|
||||
- b.example.net
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
type: object
|
||||
type: array
|
||||
@ -394,8 +395,8 @@ spec:
|
||||
- footcp
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
routes:
|
||||
description: Routes defines the list of routes.
|
||||
items:
|
||||
@ -501,8 +502,8 @@ spec:
|
||||
- name
|
||||
- port
|
||||
type: object
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
required:
|
||||
- match
|
||||
type: object
|
||||
@ -538,6 +539,7 @@ spec:
|
||||
- b.example.net
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
type: object
|
||||
type: array
|
||||
@ -653,8 +655,8 @@ spec:
|
||||
- fooudp
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
routes:
|
||||
description: Routes defines the list of routes.
|
||||
items:
|
||||
@ -933,8 +935,8 @@ spec:
|
||||
- text/event-stream
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
minResponseBodyBytes:
|
||||
default: 1024
|
||||
description: |-
|
||||
@ -1159,6 +1161,7 @@ spec:
|
||||
- 505-599
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
type: object
|
||||
forwardAuth:
|
||||
@ -1180,8 +1183,8 @@ spec:
|
||||
- X-CustomHeader
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
authResponseHeaders:
|
||||
description: AuthResponseHeaders defines the list of headers to
|
||||
copy from the authentication server response and set on forwarded
|
||||
@ -1191,8 +1194,8 @@ spec:
|
||||
- X-Secret
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
authResponseHeadersRegex:
|
||||
description: |-
|
||||
AuthResponseHeadersRegex defines the regex to match headers to copy from the authentication server response and set on forwarded request, after stripping all headers that match the regex.
|
||||
@ -1252,8 +1255,8 @@ spec:
|
||||
- '*'
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
accessControlAllowMethods:
|
||||
description: AccessControlAllowMethods defines the Access-Control-Request-Method
|
||||
values sent in preflight response.
|
||||
@ -1263,8 +1266,8 @@ spec:
|
||||
- PUT
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
accessControlAllowOriginList:
|
||||
description: AccessControlAllowOriginList is a list of allowable
|
||||
origins. Can also be a wildcard origin "*".
|
||||
@ -1273,8 +1276,8 @@ spec:
|
||||
- https://example.org
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
accessControlAllowOriginListRegex:
|
||||
description: AccessControlAllowOriginListRegex is a list of allowable
|
||||
origins written following the Regular Expression syntax (https://golang.org/pkg/regexp/).
|
||||
@ -1282,15 +1285,15 @@ spec:
|
||||
- https://example\.org/(foo|bar)
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
accessControlExposeHeaders:
|
||||
description: AccessControlExposeHeaders defines the Access-Control-Expose-Headers
|
||||
values sent in preflight response.
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
accessControlMaxAge:
|
||||
description: AccessControlMaxAge defines the time that a preflight
|
||||
request may be cached.
|
||||
@ -1308,8 +1311,8 @@ spec:
|
||||
allowed domain names.
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
browserXssFilter:
|
||||
default: false
|
||||
description: BrowserXSSFilter defines whether to add the X-XSS-Protection
|
||||
@ -1372,8 +1375,8 @@ spec:
|
||||
hold a proxied hostname value for the request.
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
isDevelopment:
|
||||
default: false
|
||||
description: |-
|
||||
@ -1490,8 +1493,8 @@ spec:
|
||||
- 13.0.0.1
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
requestHeaderName:
|
||||
description: RequestHeaderName defines the name of the header
|
||||
@ -1532,8 +1535,8 @@ spec:
|
||||
- 13.0.0.1
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
sourceRange:
|
||||
description: SourceRange defines the set of allowed IPs (or ranges
|
||||
@ -1543,8 +1546,8 @@ spec:
|
||||
- 192.168.1.7
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
ipWhiteList:
|
||||
description: |-
|
||||
@ -1573,8 +1576,8 @@ spec:
|
||||
- 13.0.0.1
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
sourceRange:
|
||||
description: SourceRange defines the set of allowed IPs (or ranges
|
||||
@ -1584,8 +1587,8 @@ spec:
|
||||
- 192.168.1.7
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
passTLSClientCert:
|
||||
description: |-
|
||||
@ -1799,8 +1802,8 @@ spec:
|
||||
- 13.0.0.1
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
requestHeaderName:
|
||||
description: RequestHeaderName defines the name of the header
|
||||
@ -2030,8 +2033,8 @@ spec:
|
||||
- 192.168.1.7
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
ipWhiteList:
|
||||
description: |-
|
||||
@ -2048,8 +2051,8 @@ spec:
|
||||
- 192.168.1.7
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
type: object
|
||||
required:
|
||||
@ -2430,6 +2433,7 @@ spec:
|
||||
- b.example.net
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
type: object
|
||||
resolver:
|
||||
@ -3208,6 +3212,7 @@ spec:
|
||||
- b.example.net
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
type: object
|
||||
type: array
|
||||
@ -3438,6 +3443,7 @@ spec:
|
||||
- b.example.net
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
type: object
|
||||
type: array
|
||||
@ -3800,8 +3806,8 @@ spec:
|
||||
- text/event-stream
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
minResponseBodyBytes:
|
||||
default: 1024
|
||||
description: |-
|
||||
@ -4064,8 +4070,8 @@ spec:
|
||||
- '*'
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
accessControlAllowMethods:
|
||||
description: AccessControlAllowMethods defines the Access-Control-Request-Method
|
||||
values sent in preflight response.
|
||||
@ -4075,8 +4081,8 @@ spec:
|
||||
- PUT
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
accessControlAllowOriginList:
|
||||
description: AccessControlAllowOriginList is a list of allowable
|
||||
origins. Can also be a wildcard origin "*".
|
||||
@ -4085,8 +4091,8 @@ spec:
|
||||
- https://example.org
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
accessControlAllowOriginListRegex:
|
||||
description: AccessControlAllowOriginListRegex is a list of allowable
|
||||
origins written following the Regular Expression syntax (https://golang.org/pkg/regexp/).
|
||||
@ -4094,15 +4100,15 @@ spec:
|
||||
- https://example\.org/(foo|bar)
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
accessControlExposeHeaders:
|
||||
description: AccessControlExposeHeaders defines the Access-Control-Expose-Headers
|
||||
values sent in preflight response.
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
accessControlMaxAge:
|
||||
description: AccessControlMaxAge defines the time that a preflight
|
||||
request may be cached.
|
||||
@ -4120,8 +4126,8 @@ spec:
|
||||
allowed domain names.
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
browserXssFilter:
|
||||
default: false
|
||||
description: BrowserXSSFilter defines whether to add the X-XSS-Protection
|
||||
@ -4184,8 +4190,8 @@ spec:
|
||||
hold a proxied hostname value for the request.
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
isDevelopment:
|
||||
default: false
|
||||
description: |-
|
||||
@ -4302,8 +4308,8 @@ spec:
|
||||
- 13.0.0.1
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
requestHeaderName:
|
||||
description: RequestHeaderName defines the name of the header
|
||||
@ -4344,8 +4350,8 @@ spec:
|
||||
- 13.0.0.1
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
sourceRange:
|
||||
description: SourceRange defines the set of allowed IPs (or ranges
|
||||
@ -4355,8 +4361,8 @@ spec:
|
||||
- 192.168.1.7
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
ipWhiteList:
|
||||
description: |-
|
||||
@ -4385,8 +4391,8 @@ spec:
|
||||
- 13.0.0.1
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
sourceRange:
|
||||
description: SourceRange defines the set of allowed IPs (or ranges
|
||||
@ -4396,8 +4402,8 @@ spec:
|
||||
- 192.168.1.7
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
passTLSClientCert:
|
||||
description: |-
|
||||
@ -4603,8 +4609,8 @@ spec:
|
||||
- 13.0.0.1
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
requestHeaderName:
|
||||
description: RequestHeaderName defines the name of the header
|
||||
@ -4829,8 +4835,8 @@ spec:
|
||||
- 192.168.1.7
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
ipWhiteList:
|
||||
description: |-
|
||||
@ -4847,8 +4853,8 @@ spec:
|
||||
- 192.168.1.7
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
uniqueItems: true
|
||||
type: object
|
||||
type: object
|
||||
required:
|
||||
@ -5184,6 +5190,7 @@ spec:
|
||||
- b.example.net
|
||||
items:
|
||||
type: string
|
||||
maxItems: 100
|
||||
type: array
|
||||
type: object
|
||||
resolver:
|
||||
|
@ -166,7 +166,7 @@ func (c *CircuitBreaker) SetDefaults() {
|
||||
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/compress/
|
||||
type Compress struct {
|
||||
// ExcludedContentTypes defines the list of content types to compare the Content-Type header of the incoming requests and responses before compressing.
|
||||
// +kubebuilder:validation:UniqueItems=true
|
||||
// +kubebuilder:validation:MaxItems=100
|
||||
// +kubebuilder:example={"text/event-stream"}
|
||||
ExcludedContentTypes []string `json:"excludedContentTypes,omitempty" toml:"excludedContentTypes,omitempty" yaml:"excludedContentTypes,omitempty" export:"true"`
|
||||
// MinResponseBodyBytes defines the minimum amount of bytes a response body must have to be compressed.
|
||||
@ -258,23 +258,23 @@ type Headers struct {
|
||||
// +kubebuilder:example=true
|
||||
AccessControlAllowCredentials bool `json:"accessControlAllowCredentials,omitempty" toml:"accessControlAllowCredentials,omitempty" yaml:"accessControlAllowCredentials,omitempty" export:"true"`
|
||||
// AccessControlAllowHeaders defines the Access-Control-Request-Headers values sent in preflight response.
|
||||
// +kubebuilder:validation:UniqueItems=true
|
||||
// +kubebuilder:validation:MaxItems=100
|
||||
// +kubebuilder:example={"*"}
|
||||
AccessControlAllowHeaders []string `json:"accessControlAllowHeaders,omitempty" toml:"accessControlAllowHeaders,omitempty" yaml:"accessControlAllowHeaders,omitempty" export:"true"`
|
||||
// AccessControlAllowMethods defines the Access-Control-Request-Method values sent in preflight response.
|
||||
// +kubebuilder:validation:UniqueItems=true
|
||||
// +kubebuilder:validation:MaxItems=100
|
||||
// +kubebuilder:example=GET;OPTIONS;PUT
|
||||
AccessControlAllowMethods []string `json:"accessControlAllowMethods,omitempty" toml:"accessControlAllowMethods,omitempty" yaml:"accessControlAllowMethods,omitempty" export:"true"`
|
||||
// AccessControlAllowOriginList is a list of allowable origins. Can also be a wildcard origin "*".
|
||||
// +kubebuilder:validation:UniqueItems=true
|
||||
// +kubebuilder:validation:MaxItems=100
|
||||
// +kubebuilder:example="https://foo.bar.org";"https://example.org"
|
||||
AccessControlAllowOriginList []string `json:"accessControlAllowOriginList,omitempty" toml:"accessControlAllowOriginList,omitempty" yaml:"accessControlAllowOriginList,omitempty"`
|
||||
// AccessControlAllowOriginListRegex is a list of allowable origins written following the Regular Expression syntax (https://golang.org/pkg/regexp/).
|
||||
// +kubebuilder:validation:UniqueItems=true
|
||||
// +kubebuilder:validation:MaxItems=100
|
||||
// +kubebuilder:example={"https://example\\.org/(foo|bar)"}
|
||||
AccessControlAllowOriginListRegex []string `json:"accessControlAllowOriginListRegex,omitempty" toml:"accessControlAllowOriginListRegex,omitempty" yaml:"accessControlAllowOriginListRegex,omitempty"`
|
||||
// AccessControlExposeHeaders defines the Access-Control-Expose-Headers values sent in preflight response.
|
||||
// +kubebuilder:validation:UniqueItems=true
|
||||
// +kubebuilder:validation:MaxItems=100
|
||||
AccessControlExposeHeaders []string `json:"accessControlExposeHeaders,omitempty" toml:"accessControlExposeHeaders,omitempty" yaml:"accessControlExposeHeaders,omitempty" export:"true"`
|
||||
// AccessControlMaxAge defines the time that a preflight request may be cached.
|
||||
AccessControlMaxAge int64 `json:"accessControlMaxAge,omitempty" toml:"accessControlMaxAge,omitempty" yaml:"accessControlMaxAge,omitempty" export:"true"`
|
||||
@ -283,10 +283,10 @@ type Headers struct {
|
||||
// +kubebuilder:example=true
|
||||
AddVaryHeader bool `json:"addVaryHeader,omitempty" toml:"addVaryHeader,omitempty" yaml:"addVaryHeader,omitempty" export:"true"`
|
||||
// AllowedHosts defines the fully qualified list of allowed domain names.
|
||||
// +kubebuilder:validation:UniqueItems=true
|
||||
// +kubebuilder:validation:MaxItems=100
|
||||
AllowedHosts []string `json:"allowedHosts,omitempty" toml:"allowedHosts,omitempty" yaml:"allowedHosts,omitempty"`
|
||||
// HostsProxyHeaders defines the header keys that may hold a proxied hostname value for the request.
|
||||
// +kubebuilder:validation:UniqueItems=true
|
||||
// +kubebuilder:validation:MaxItems=100
|
||||
HostsProxyHeaders []string `json:"hostsProxyHeaders,omitempty" toml:"hostsProxyHeaders,omitempty" yaml:"hostsProxyHeaders,omitempty" export:"true"`
|
||||
// Deprecated: use EntryPoint redirection or RedirectScheme instead.
|
||||
// +kubebuilder:default=false
|
||||
@ -417,7 +417,7 @@ type IPStrategy struct {
|
||||
// +kubebuilder:example=2
|
||||
Depth int `json:"depth,omitempty" toml:"depth,omitempty" yaml:"depth,omitempty" export:"true"`
|
||||
// ExcludedIPs configures Traefik to scan the X-Forwarded-For header and select the first IP not in the list.
|
||||
// +kubebuilder:validation:UniqueItems=true
|
||||
// +kubebuilder:validation:MaxItems=100
|
||||
// +kubebuilder:example="12.0.0.1";"13.0.0.1"
|
||||
ExcludedIPs []string `json:"excludedIPs,omitempty" toml:"excludedIPs,omitempty" yaml:"excludedIPs,omitempty"`
|
||||
// TODO(mpl): I think we should make RemoteAddr an explicit field. For one thing, it would yield better documentation.
|
||||
@ -459,7 +459,7 @@ func (s *IPStrategy) Get() (ip.Strategy, error) {
|
||||
// Deprecated: please use IPAllowList instead.
|
||||
type IPWhiteList struct {
|
||||
// SourceRange defines the set of allowed IPs (or ranges of allowed IPs by using CIDR notation). Required.
|
||||
// +kubebuilder:validation:UniqueItems=true
|
||||
// +kubebuilder:validation:MaxItems=100
|
||||
// +kubebuilder:example="127.0.0.1/32";"192.168.1.7"
|
||||
SourceRange []string `json:"sourceRange,omitempty" toml:"sourceRange,omitempty" yaml:"sourceRange,omitempty"`
|
||||
IPStrategy *IPStrategy `json:"ipStrategy,omitempty" toml:"ipStrategy,omitempty" yaml:"ipStrategy,omitempty" label:"allowEmpty" file:"allowEmpty" kv:"allowEmpty" export:"true"`
|
||||
@ -472,7 +472,7 @@ type IPWhiteList struct {
|
||||
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/
|
||||
type IPAllowList struct {
|
||||
// SourceRange defines the set of allowed IPs (or ranges of allowed IPs by using CIDR notation).
|
||||
// +kubebuilder:validation:UniqueItems=true
|
||||
// +kubebuilder:validation:MaxItems=100
|
||||
// +kubebuilder:example="127.0.0.1/32";"192.168.1.7"
|
||||
SourceRange []string `json:"sourceRange,omitempty" toml:"sourceRange,omitempty" yaml:"sourceRange,omitempty"`
|
||||
IPStrategy *IPStrategy `json:"ipStrategy,omitempty" toml:"ipStrategy,omitempty" yaml:"ipStrategy,omitempty" label:"allowEmpty" file:"allowEmpty" kv:"allowEmpty" export:"true"`
|
||||
|
@ -31,7 +31,7 @@ type TCPInFlightConn struct {
|
||||
// Deprecated: please use IPAllowList instead.
|
||||
type TCPIPWhiteList struct {
|
||||
// SourceRange defines the allowed IPs (or ranges of allowed IPs by using CIDR notation).
|
||||
// +kubebuilder:validation:UniqueItems=true
|
||||
// +kubebuilder:validation:MaxItems=100
|
||||
// +kubebuilder:example="127.0.0.1/32";"192.168.1.7"
|
||||
SourceRange []string `json:"sourceRange,omitempty" toml:"sourceRange,omitempty" yaml:"sourceRange,omitempty"`
|
||||
}
|
||||
@ -43,7 +43,7 @@ type TCPIPWhiteList struct {
|
||||
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/tcp/ipallowlist/
|
||||
type TCPIPAllowList struct {
|
||||
// SourceRange defines the allowed IPs (or ranges of allowed IPs by using CIDR notation).
|
||||
// +kubebuilder:validation:UniqueItems=true
|
||||
// +kubebuilder:validation:MaxItems=100
|
||||
// +kubebuilder:example="127.0.0.1/32";"192.168.1.7"
|
||||
SourceRange []string `json:"sourceRange,omitempty" toml:"sourceRange,omitempty" yaml:"sourceRange,omitempty"`
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ type IngressRouteSpec struct {
|
||||
// Entry points have to be configured in the static configuration.
|
||||
// More info: https://doc.traefik.io/traefik/v2.11/routing/entrypoints/
|
||||
// Default: all.
|
||||
// +kubebuilder:validation:UniqueItems=true
|
||||
// +kubebuilder:validation:MaxItems=100
|
||||
// +kubebuilder:example={"web"}
|
||||
EntryPoints []string `json:"entryPoints,omitempty"`
|
||||
// TLS defines the TLS configuration.
|
||||
|
@ -15,8 +15,8 @@ type IngressRouteTCPSpec struct {
|
||||
// Entry points have to be configured in the static configuration.
|
||||
// More info: https://doc.traefik.io/traefik/v2.11/routing/entrypoints/
|
||||
// Default: all.
|
||||
// +kubebuilder:validation:UniqueItems=true
|
||||
// +kubebuilder:example={"footcp"}
|
||||
// +kubebuilder:validation:MaxItems=100
|
||||
EntryPoints []string `json:"entryPoints,omitempty"`
|
||||
// TLS defines the TLS configuration on a layer 4 / TCP Route.
|
||||
// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#tls_1
|
||||
@ -35,7 +35,7 @@ type RouteTCP struct {
|
||||
// +kubebuilder:example=10
|
||||
Priority int `json:"priority,omitempty"`
|
||||
// Services defines the list of TCP services.
|
||||
// +kubebuilder:validation:UniqueItems=true
|
||||
// +kubebuilder:validation:MaxItems=100
|
||||
Services []ServiceTCP `json:"services,omitempty"`
|
||||
// Middlewares defines the list of references to MiddlewareTCP resources.
|
||||
// +kubebuilder:example={{"name": "middleware1", "namespace": "default"}}
|
||||
|
@ -13,7 +13,7 @@ type IngressRouteUDPSpec struct {
|
||||
// Entry points have to be configured in the static configuration.
|
||||
// More info: https://doc.traefik.io/traefik/v2.11/routing/entrypoints/
|
||||
// Default: all.
|
||||
// +kubebuilder:validation:UniqueItems=true
|
||||
// +kubebuilder:validation:MaxItems=100
|
||||
// +kubebuilder:example={"fooudp"}
|
||||
EntryPoints []string `json:"entryPoints,omitempty"`
|
||||
}
|
||||
|
@ -65,7 +65,7 @@ type ErrorPage struct {
|
||||
// as multiple comma-separated numbers (500,502),
|
||||
// as ranges by separating two codes with a dash (500-599),
|
||||
// or a combination of the two (404,418,500-599).
|
||||
// +kubebuilder:validation:items:UniqueItems=true
|
||||
// +kubebuilder:validation:MaxItems=100
|
||||
// +kubebuilder:validation:items:Pattern=`^[-0-9,]+$`
|
||||
// +kubebuilder:example="500";"501";"503";"505-599"
|
||||
Status []string `json:"status,omitempty"`
|
||||
@ -177,7 +177,7 @@ type ForwardAuth struct {
|
||||
// +kubebuilder:example=true
|
||||
TrustForwardHeader bool `json:"trustForwardHeader,omitempty"`
|
||||
// AuthResponseHeaders defines the list of headers to copy from the authentication server response and set on forwarded request, replacing any existing conflicting headers.
|
||||
// +kubebuilder:validation:UniqueItems=true
|
||||
// +kubebuilder:validation:MaxItems=100
|
||||
// +kubebuilder:example={"X-Auth-User","X-Secret"}
|
||||
AuthResponseHeaders []string `json:"authResponseHeaders,omitempty"`
|
||||
// AuthResponseHeadersRegex defines the regex to match headers to copy from the authentication server response and set on forwarded request, after stripping all headers that match the regex.
|
||||
@ -186,7 +186,7 @@ type ForwardAuth struct {
|
||||
AuthResponseHeadersRegex string `json:"authResponseHeadersRegex,omitempty"`
|
||||
// AuthRequestHeaders defines the list of the headers to copy from the request to the authentication server.
|
||||
// If not set or empty then all request headers are passed.
|
||||
// +kubebuilder:validation:UniqueItems=true
|
||||
// +kubebuilder:validation:MaxItems=100
|
||||
// +kubebuilder:example={"Accept","X-CustomHeader"}
|
||||
AuthRequestHeaders []string `json:"authRequestHeaders,omitempty"`
|
||||
// TLS defines the configuration used to secure the connection to the authentication server.
|
||||
|
@ -12,8 +12,8 @@ type Domain struct {
|
||||
// +kubebuilder:example=example.net
|
||||
Main string `description:"Default subject name." json:"main,omitempty" toml:"main,omitempty" yaml:"main,omitempty"`
|
||||
// SANs defines the subject alternative domain names.
|
||||
// +kubebuilder:validation:items:UniqueItems=true
|
||||
// +kubebuilder:example="a.example.net";"b.example.net"
|
||||
// +kubebuilder:validation:MaxItems=100
|
||||
SANs []string `description:"Subject alternative names." json:"sans,omitempty" toml:"sans,omitempty" yaml:"sans,omitempty"`
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user