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: portto assign the ingress
- targetSelector(empty): Assign the ingress to the primary- service: port
ingress
Create Ingress objects
| Key | ingress | 
| Type | map | 
| Required | ❌ | 
| Helm tpl | ❌ | 
| Default | {} | 
Example
ingress: {}$name
Define Ingress
| Key | ingress.$name | 
| Type | map | 
| Required | ✅ | 
| Helm tpl | ❌ | 
| Default | {} | 
Example
ingress:  ingress-name: {}enabled
Enables or Disables the Ingress
| Key | ingress.$name.enabled | 
| Type | bool | 
| Required | ✅ | 
| Helm tpl | ✅ | 
| Default | false | 
Example
ingress:  ingress-name:    enabled: trueprimary
Define the primary ingress
| Key | ingress.$name.primary | 
| Type | bool | 
| Required | ✅ | 
| Helm tpl | ❌ | 
| Default | false | 
Example
ingress:  ingress-name:    primary: trueexpandObjectName
Define if the object name should be expanded
| Key | ingress.$name.expandObjectName | 
| Type | bool | 
| Required | ❌ | 
| Helm tpl | ❌ | 
| Default | false | 
Example
ingress:  ingress-name:    expandObjectName: truerequired
Define if the ingress is required
| Key | ingress.$name.required | 
| Type | bool | 
| Required | ❌ | 
| Helm tpl | ❌ | 
| Default | false | 
Example
ingress:  ingress-name:    required: truenamespace
Define the namespace for this object
| Key | ingress.$name.namespace | 
| Type | string | 
| Required | ❌ | 
| Helm tpl | ✅ | 
| Default | "" | 
Example
ingress:  ingress-name:    namespace: some-namespacelabels
Additional labels for ingress
| Key | ingress.$name.labels | 
| Type | map | 
| Required | ❌ | 
| Helm tpl | ✅ (On value only) | 
| Default | {} | 
Example
ingress:  ingress-name:    labels:      key: valueannotations
Additional annotations for ingress
| Key | ingress.$name.annotations | 
| Type | map | 
| Required | ❌ | 
| Helm tpl | ✅ (On value only) | 
| Default | {} | 
Example
ingress:  ingress-name:    annotations:      key: valueingressClassName
Define the ingress class name for this object
| Key | ingress.$name.ingressClassName | 
| Type | string | 
| Required | ❌ | 
| Helm tpl | ✅ | 
| Default | nil | 
Example
ingress:  ingress-name:    ingressClassName: some-ingress-class-nametargetSelector
Define the service: port to assign the ingress
| Key | ingress.$name.targetSelector | 
| Type | dict | 
| Required | ❌ | 
| Helm tpl | ❌ | 
| Default | {} | 
Example
ingress:  ingress-name:    targetSelector:      service-name: port-namehosts
Define the hosts for this ingress
| Key | ingress.$name.hosts | 
| Type | listofmap | 
| Required | ✅ | 
| Helm tpl | ❌ | 
| Default | [] | 
Example
ingress:  ingress-name:    hosts: []hosts[].host
Define the host for this ingress
| Key | ingress.$name.hosts[].host | 
| Type | string | 
| Required | ✅ | 
| Helm tpl | ✅ | 
| Default | "" | 
Example
ingress:  ingress-name:    hosts:      - host: chart-example.localhosts[].paths
Define the paths for this ingress
| Key | ingress.$name.hosts[].paths | 
| Type | listofmap | 
| Required | ✅ | 
| Helm tpl | ❌ | 
| Default | [] | 
Example
ingress:  ingress-name:    hosts:      - host: chart-example.local        paths: []hosts[].paths[].path
Define the path for this ingress
| Key | ingress.$name.hosts[].paths[].path | 
| Type | string | 
| 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
| Key | ingress.$name.hosts[].paths[].pathType | 
| Type | string | 
| Required | ❌ | 
| Helm tpl | ✅ | 
| Default | Prefix | 
Example
ingress:  ingress-name:    hosts:      - host: chart-example.local        paths:          - path: /            pathType: Prefixhosts[].paths[].overrideService
Overrides the “selected” service for this path
| Key | ingress.$name.hosts[].paths[].overrideService | 
| Type | dict | 
| 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
| Key | ingress.$name.hosts[].paths[].overrideService.name | 
| Type | string | 
| Required | ✅ | 
| Helm tpl | ❌ | 
| Default | "" | 
Example
ingress:  ingress-name:    hosts:      - host: chart-example.local        paths:          - path: /            pathType: Prefix            overrideService:              name: mainhosts[].paths[].overrideService.expandObjectName
Define if the override service object name should be expanded
| Key | ingress.$name.hosts[].paths[].overrideService.expandObjectName | 
| Type | bool | 
| Required | ❌ | 
| Helm tpl | ✅ | 
| Default | true | 
Example
ingress:  ingress-name:    hosts:      - host: chart-example.local        paths:          - path: /            pathType: Prefix            overrideService:              name: main              expandObjectName: falsehosts[].paths[].overrideService.port
Define the service port for this path
| Key | ingress.$name.hosts[].paths[].overrideService.port | 
| Type | int | 
| Required | ✅ | 
| Helm tpl | ❌ | 
| Default | unset | 
Example
ingress:  ingress-name:    hosts:      - host: chart-example.local        paths:          - path: /            pathType: Prefix            overrideService:              port: 80tls
Define the TLS for this ingress
| Key | ingress.$name.tls | 
| Type | listofmap | 
| Required | ✅ | 
| Helm tpl | ❌ | 
| Default | [] | 
Example
ingress:  ingress-name:    tls: []tls[].hosts
Define the hosts for this TLS
| Key | ingress.$name.tls[].host | 
| Type | listofstring | 
| Required | ✅ | 
| Helm tpl | ✅ (On each entry) | 
| Default | [] | 
Example
ingress:  ingress-name:    tls:      - hosts:          - chart-example.localtls[].secretName
Define the secret name for this TLS
| Key | ingress.$name.tls[].secretName | 
| Type | string | 
| Required | ❌ | 
| Helm tpl | ✅ | 
| Default | "" | 
Example
ingress:  ingress-name:    tls:      - hosts:          - chart-example.local        secretName: chart-example-tlstls[].certificateIssuer
Define the certificate issuer for this TLS
| Key | ingress.$name.tls[].certificateIssuer | 
| Type | string | 
| Required | ❌ | 
| Helm tpl | ❌ | 
| Default | "" | 
Example
ingress:  ingress-name:    tls:      - hosts:          - chart-example.local        certificateIssuer: some-issuertls[].clusterIssuer
Define the cluster issuer for this TLS
| Key | ingress.$name.tls[].clusterIssuer | 
| Type | string | 
| Required | ❌ | 
| Helm tpl | ✅ | 
| Default | "" | 
Example
ingress:  ingress-name:    tls:      - hosts:          - chart-example.local        clusterIssuer: some-issuerintegrations
Define the integrations for this ingress
| Key | ingress.$name.integrations | 
| Type | map | 
| 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
| Key | ingress.$name.integrations.certManager | 
| Type | map | 
| 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
| Key | ingress.$name.integrations.traefik | 
| Type | map | 
| 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
| Key | ingress.$name.integrations.homepage | 
| Type | map | 
| 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        forceTLS: true        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