Skip to content

Traefik Integration

Appears in

  • .Values.ingress.$name.integration.traefik

enabled

Enables or Disables the traefik integration

Keyingress.$name.integrations.traefik.enabled
Typebool
Required
Helm tpl
Defaulttrue

Example

ingress:
ingress-name:
integrations:
traefik:
enabled: true

entrypoints

Define the entrypoints for this traefik integration

Keyingress.$name.integrations.traefik.entrypoints
Typelist
Required
Helm tpl
Default["websecure"]

enableFixedMiddlewares

Enable or disable the fixedMiddlewares

Keyingress.$name.integrations.traefik.enableFixedMiddlewares
Typebool
Required
Helm tpl
Defaulttrue

Example

ingress:
ingress-name:
integrations:
traefik:
enableFixedMiddlewares: true

forceTLS

Force TLS on this ingress

Keyingress.$name.integrations.traefik.forceTLS
Typebool
Required
Helm tpl
Defaulttrue

Example

ingress:
ingress-name:
integrations:
traefik:
forceTLS: true

allowCors

Allow CORS on this ingress

Keyingress.$name.integrations.traefik.allowCors
Typebool
Required
Helm tpl
Defaultfalse

Example

ingress:
ingress-name:
integrations:
traefik:
allowCors: true

fixedMiddlewares

Override the fixed middlewares for this traefik integration

Keyingress.$name.integrations.traefik.fixedMiddlewares
Typelist of map
Required
Helm tpl
DefaultSee default here

Example

ingress:
ingress-name:
integrations:
traefik:
fixedMiddlewares:
- name: chain-basic
namespace: ""

fixedMiddlewares[].name

The name of the middleware

Keyingress.$name.integrations.traefik.fixedMiddlewares[].name
Typestring
Required
Helm tpl
Default""

Example

ingress:
ingress-name:
integrations:
traefik:
fixedMiddlewares:
- name: chain-basic
namespace: ""

fixedMiddlewares[].namespace

The namespace of the middleware

Keyingress.$name.integrations.traefik.fixedMiddlewares[].namespace
Typestring
Required
Helm tpl
Default""

Example

ingress:
ingress-name:
integrations:
traefik:
fixedMiddlewares:
- name: chain-basic
namespace: ""

middlewares

Override the middlewares for this traefik integration

Keyingress.$name.integrations.traefik.middlewares
Typelist of map
Required
Helm tpl
Default[]

Example

ingress:
ingress-name:
integrations:
traefik:
middlewares:
- name: my-middleware
namespace: ""

middlewares[].name

The name of the middleware

Keyingress.$name.integrations.traefik.middlewares[].name
Typestring
Required
Helm tpl
Default""

Example

ingress:
ingress-name:
integrations:
traefik:
middlewares:
- name: my-middleware
namespace: ""

middlewares[].namespace

The namespace of the middleware

Keyingress.$name.integrations.traefik.middlewares[].namespace
Typestring
Required
Helm tpl
Default""

Example

ingress:
ingress-name:
integrations:
traefik:
middlewares:
- name: my-middleware
namespace: my-namespace

Full Examples

ingress:
ingress-name:
integrations:
traefik:
enabled: true
entrypoints:
- websecure
enableFixedMiddlewares: true
forceTLS: true
allowCors: false
fixedMiddlewares:
- name: chain-basic
namespace: ""
middlewares:
- name: my-middleware
namespace: ""