Skip to content

IP Allow List Middleware

Appears in

  • .Values.middlewares.$name.data

sourceRange

Define the sourceRange

Keymiddlewares.$name.data.sourceRange
Typelist of string
Required
Helm tpl
Default-

Example

middlewares:
middleware-name:
data:
sourceRange:
- some-source-range

ipStrategy

Define the ipStrategy

Keymiddlewares.$name.data.ipStrategy
Typemap
Required
Helm tpl
Default{}

Example

middlewares:
middleware-name:
data:
ipStrategy: {}

ipStrategy.depth

Define the ipStrategy.depth

Keymiddlewares.$name.data.ipStrategy.depth
Typeint
Required
Helm tpl
Default-

Example

middlewares:
middleware-name:
data:
ipStrategy:
depth: 1

ipStrategy.excludedIPs

Define the ipStrategy.excludedIPs

Keymiddlewares.$name.data.ipStrategy.excludedIPs
Typelist of string
Required
Helm tpl
Default-

Example

middlewares:
middleware-name:
data:
ipStrategy:
excludedIPs:
- some-excluded-ip

Full Examples

middlewares:
middleware-name:
enabled: true
type: ip-allow-list
data:
sourceRange:
- some-source-range
ipStrategy:
depth: 1
excludedIPs:
- some-excluded-ip