Skip to content

Chain Middleware

Appears in

  • .Values.middlewares.$name.data

middlewares

Define the middlewares

Keymiddlewares.$name.data.middlewares
Typelist of map
Required
Helm tpl
Default-

Example

middlewares:
middleware-name:
data:
middlewares: []

middlewares[].name

Define the middleware name

Keymiddlewares.$name.data.middlewares.name
Typestring
Required
Helm tpl
Default-

Example

middlewares:
middleware-name:
data:
middlewares:
- name: some-name

middlewares[].expandObjectName

Define the middleware expandObjectName

Keymiddlewares.$name.data.middlewares.expandObjectName
Typebool
Required
Helm tpl
Defaulttrue

Example

middlewares:
middleware-name:
data:
middlewares:
- name: some-name
expandObjectName: false

Full Examples

middlewares:
middleware-name:
enabled: true
type: compress