Middlewares
Appears in
.Values.middlewares
Naming scheme
$FullName-$MiddlewareName
(release-name-chart-name-middleware-name)
middlewares
Create Middleware objects
Key | middlewares |
Type | map |
Required | ❌ |
Helm tpl | ❌ |
Default | {} |
Example
$name
Define Middleware
Key | middlewares.$name |
Type | map |
Required | ✅ |
Helm tpl | ❌ |
Default | {} |
Example
enabled
Enables or Disables the Configmap
Key | configmap.$name.enabled |
Type | bool |
Required | ✅ |
Helm tpl | ✅ |
Default | false |
Example
expandObjectName
Whether to expand (adding the fullname as prefix) the middleware name.
Key | configmap.$name.expandObjectName |
Type | bool |
Required | ✅ |
Helm tpl | ✅ |
Default | true |
Example
namespace
Define the namespace for this object
Key | middlewares.$name.namespace |
Type | string |
Required | ❌ |
Helm tpl | ✅ |
Default | "" |
Example
type
Define the type for this object
Available types:
- add-prefix
- basic-auth
- buffering
- chain
- compress
- content-type
- forward-auth
- headers
- ip-allow-list
- plugin-bouncer
- plugin-geoblock
- plugin-mod-security
- plugin-real-ip
- plugin-rewrite-response-headers
- plugin-theme-park
- rate-limit
- redirect-regex
- redirect-scheme
- replace-path-regex
- replace-path
- retry
- strip-prefix-regex
- strip-prefix
Key | middlewares.$name.type |
Type | string |
Required | ❌ |
Helm tpl | ❌ |
Default | "" |
Example
labels
Additional labels for middleware
Key | middlewares.$name.labels |
Type | map |
Required | ❌ |
Helm tpl | ✅ (On value only) |
Default | {} |
Example
annotations
Additional annotations for middleware
Key | middlewares.$name.annotations |
Type | map |
Required | ❌ |
Helm tpl | ✅ (On value only) |
Default | {} |
Example
data
Define the data of the middleware
Key | middlewares.$name.data |
Type | map |
Required | ✅ |
Helm tpl | ✅ |
Example | {} |