Skip to content

Ingress

Appears in

  • .Values.ingress

Naming scheme

  • Primary: $FullName (release-name-chart-name)
  • Non-Primary: $FullName-$IngressName (release-name-chart-name-ingress-name)

Target Selector

  • targetSelector (dict): Define the service: port to assign the ingress
  • targetSelector (empty): Assign the ingress to the primary service: port

ingress

Create Ingress objects

Keyingress
Typemap
Required
Helm tpl
Default{}

Example

ingress: {}

$name

Define Ingress

Keyingress.$name
Typemap
Required
Helm tpl
Default{}

Example

ingress:
ingress-name: {}

enabled

Enables or Disables the Ingress

Keyingress.$name.enabled
Typebool
Required
Helm tpl
Defaultfalse

Example

ingress:
ingress-name:
enabled: true

primary

Define the primary ingress

Keyingress.$name.primary
Typebool
Required
Helm tpl
Defaultfalse

Example

ingress:
ingress-name:
primary: true

expandObjectName

Define if the object name should be expanded

Keyingress.$name.expandObjectName
Typebool
Required
Helm tpl
Defaultfalse

Example

ingress:
ingress-name:
expandObjectName: true

required

Define if the ingress is required

Keyingress.$name.required
Typebool
Required
Helm tpl
Defaultfalse

Example

ingress:
ingress-name:
required: true

namespace

Define the namespace for this object

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

Example

ingress:
ingress-name:
namespace: some-namespace

labels

Additional labels for ingress

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

Example

ingress:
ingress-name:
labels:
key: value

annotations

Additional annotations for ingress

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

Example

ingress:
ingress-name:
annotations:
key: value

ingressClassName

Define the ingress class name for this object

Keyingress.$name.ingressClassName
Typestring
Required
Helm tpl
Defaultnil

Example

ingress:
ingress-name:
ingressClassName: some-ingress-class-name

targetSelector

Define the service: port to assign the ingress

Keyingress.$name.targetSelector
Typedict
Required
Helm tpl
Default{}

Example

ingress:
ingress-name:
targetSelector:
service-name: port-name

hosts

Define the hosts for this ingress

Keyingress.$name.hosts
Typelist of map
Required
Helm tpl
Default[]

Example

ingress:
ingress-name:
hosts: []

hosts[].host

Define the host for this ingress

Keyingress.$name.hosts[].host
Typestring
Required
Helm tpl
Default""

Example

ingress:
ingress-name:
hosts:
- host: chart-example.local

hosts[].paths

Define the paths for this ingress

Keyingress.$name.hosts[].paths
Typelist of map
Required
Helm tpl
Default[]

Example

ingress:
ingress-name:
hosts:
- host: chart-example.local
paths: []

hosts[].paths[].path

Define the path for this ingress

Keyingress.$name.hosts[].paths[].path
Typestring
Required
Helm tpl
Default""

Example

ingress:
ingress-name:
hosts:
- host: chart-example.local
paths:
- path: /

hosts[].paths[].pathType

Define the path type for this ingress

Keyingress.$name.hosts[].paths[].pathType
Typestring
Required
Helm tpl
DefaultPrefix

Example

ingress:
ingress-name:
hosts:
- host: chart-example.local
paths:
- path: /
pathType: Prefix

hosts[].paths[].overrideService

Overrides the “selected” service for this path

Keyingress.$name.hosts[].paths[].overrideService
Typedict
Required
Helm tpl
Default{}

Example

ingress:
ingress-name:
hosts:
- host: chart-example.local
paths:
- path: /
pathType: Prefix
overrideService: {}

hosts[].paths[].overrideService.name

Define the service name for this path

Keyingress.$name.hosts[].paths[].overrideService.name
Typestring
Required
Helm tpl
Default""

Example

ingress:
ingress-name:
hosts:
- host: chart-example.local
paths:
- path: /
pathType: Prefix
overrideService:
name: main

hosts[].paths[].overrideService.port

Define the service port for this path

Keyingress.$name.hosts[].paths[].overrideService.port
Typeint
Required
Helm tpl
Defaultunset

Example

ingress:
ingress-name:
hosts:
- host: chart-example.local
paths:
- path: /
pathType: Prefix
overrideService:
name: main

tls

Define the TLS for this ingress

Keyingress.$name.tls
Typelist of map
Required
Helm tpl
Default[]

Example

ingress:
ingress-name:
tls: []

tls[].hosts

Define the hosts for this TLS

Keyingress.$name.tls[].host
Typelist of string
Required
Helm tpl✅ (On each entry)
Default[]

Example

ingress:
ingress-name:
tls:
- hosts:
- chart-example.local

tls[].secretName

Define the secret name for this TLS

Keyingress.$name.tls[].secretName
Typestring
Required
Helm tpl
Default""

Example

ingress:
ingress-name:
tls:
- hosts:
- chart-example.local
secretName: chart-example-tls

tls[].certificateIssuer

Define the certificate issuer for this TLS

Keyingress.$name.tls[].certificateIssuer
Typestring
Required
Helm tpl
Default""

Example

ingress:
ingress-name:
tls:
- hosts:
- chart-example.local
certificateIssuer: some-issuer

tls[].clusterIssuer

Define the cluster issuer for this TLS

Keyingress.$name.tls[].clusterIssuer
Typestring
Required
Helm tpl
Default""

Example

ingress:
ingress-name:
tls:
- hosts:
- chart-example.local
clusterIssuer: some-issuer

integrations

Define the integrations for this ingress

Keyingress.$name.integrations
Typemap
Required
Helm tpl
Default{}

Example

ingress:
ingress-name:
integrations: {}

integrations.certManager

Define the cert-manager integration for this ingress

See more details in Cert Manager Integration

Keyingress.$name.integrations.certManager
Typemap
Required
Helm tpl
Default{}

Example

ingress:
ingress-name:
integrations:
certManager: {}

integrations.traefik

Define the traefik integration for this ingress

See more details in Traefik Integration

Keyingress.$name.integrations.traefik
Typemap
Required
Helm tpl
Default{}

Example

ingress:
ingress-name:
integrations:
traefik: {}

integrations.homepage

Define the homepage integration for this ingress

See more details in Homepage Integration

Keyingress.$name.integrations.homepage
Typemap
Required
Helm tpl
Default{}

Example

ingress:
ingress-name:
integrations:
homepage: {}

Full Examples

ingress:
main:
enabled: false
primary: true
required: false
expandObjectName: false
labels:
key: value
annotations:
key: value
ingressClassName: ""
targetSelector:
main: main
hosts:
- host: chart-example.local
paths:
- path: /
pathType: Prefix
overrideService:
name: main
port: 80
tls:
- hosts:
- chart-example.local
secretName: chart-example-tls
# OR
certificateIssuer: ""
integrations:
certManager:
enabled: false
certificateIssuer: ""
traefik:
enabled: true
entrypoints:
- websecure
enableFixedMiddlewares: true
forceTLS: true
allowCors: false
fixedMiddlewares:
- name: chain-basic
namespace: ""
middlewares:
- name: my-middleware
namespace: ""
homepage:
enabled: false
name: ""
description: ""
group: ""
icon: ""
widget:
type: ""
url: ""
custom:
key: value
customkv:
- key: some key
value: some value