Skip to content

Middlewares

Appears in

  • .Values.middlewares

Naming scheme

  • $FullName-$MiddlewareName (release-name-chart-name-middleware-name)

middlewares

Create Middleware objects

Keymiddlewares
Typemap
Required
Helm tpl
Default{}

Example

middlewares: {}

$name

Define Middleware

Keymiddlewares.$name
Typemap
Required
Helm tpl
Default{}

Example

middlewares:
middleware-name: {}

enabled

Enables or Disables the Configmap

Keyconfigmap.$name.enabled
Typebool
Required
Helm tpl
Defaultfalse

Example

middlewares:
middleware-name:
enabled: true

expandObjectName

Whether to expand (adding the fullname as prefix) the middleware name.

Keyconfigmap.$name.expandObjectName
Typebool
Required
Helm tpl
Defaulttrue

Example

middlewares:
middleware-name:
expandObjectName: false

namespace

Define the namespace for this object

Keymiddlewares.$name.namespace
Typestring
Required
Helm tpl
Default""

Example

middlewares:
middleware-name:
namespace: some-namespace

type

Define the type for this object

Available types:

Keymiddlewares.$name.type
Typestring
Required
Helm tpl
Default""

Example

middlewares:
middleware-name:
type: buffering

labels

Additional labels for middleware

Keymiddlewares.$name.labels
Typemap
Required
Helm tpl✅ (On value only)
Default{}

Example

middlewares:
middleware-name:
labels:
key: value

annotations

Additional annotations for middleware

Keymiddlewares.$name.annotations
Typemap
Required
Helm tpl✅ (On value only)
Default{}

Example

middlewares:
middleware-name:
annotations:
key: value

data

Define the data of the middleware

Keymiddlewares.$name.data
Typemap
Required
Helm tpl
Example{}
middlewares:
middleware-name:
data:
key: value

Full Examples

middlewares:
middleware-name:
enabled: true
type: buffering
expandObjectName: false
labels:
key: value
keytpl: "{{ .Values.some.value }}"
annotations:
key: value
keytpl: "{{ .Values.some.value }}"
data:
key: value
other-middleware-name:
enabled: true
type: buffering
namespace: some-namespace
data:
key: value