diff --git a/charts/kafka-ui/CONFIGURATION.md b/charts/kafka-ui/CONFIGURATION.md index 7a4d3bd..67fced6 100644 --- a/charts/kafka-ui/CONFIGURATION.md +++ b/charts/kafka-ui/CONFIGURATION.md @@ -81,6 +81,7 @@ | `ingress.pathType` | Ingress path type | `Prefix` | | `ingress.host` | Default hostname for the ingress record | `""` | | `ingress.tls.enabled` | Enable TLS configuration for the host defined at `ingress.host` parameter | `false` | +| `ingress.tls.host` | Optional host value for TLS certificate used by the ingress, value of `ingress.host` is used if not defined | `""` | | `ingress.tls.secretName` | The name of a pre-created Secret containing a TLS private key and certificate | `""` | | `ingress.precedingPaths` | HTTP paths to add to the Ingress before the default path | `[]` | | `ingress.succeedingPaths` | Http paths to add to the Ingress after the default path | `[]` | diff --git a/charts/kafka-ui/Chart.yaml b/charts/kafka-ui/Chart.yaml index 5680eae..e9eb39a 100644 --- a/charts/kafka-ui/Chart.yaml +++ b/charts/kafka-ui/Chart.yaml @@ -2,6 +2,6 @@ apiVersion: v2 name: kafka-ui description: A Helm chart for kafka-UI type: application -version: 1.6.3 +version: 1.6.4 appVersion: v1.4.2 icon: https://raw.githubusercontent.com/kafbat/kafka-ui/main/documentation/images/logo_new.png diff --git a/charts/kafka-ui/templates/ingress.yaml b/charts/kafka-ui/templates/ingress.yaml index 5a17937..bc87bc1 100644 --- a/charts/kafka-ui/templates/ingress.yaml +++ b/charts/kafka-ui/templates/ingress.yaml @@ -27,7 +27,7 @@ spec: {{- if .Values.ingress.tls.enabled }} tls: - hosts: - - {{ tpl .Values.ingress.host . }} + - "{{ tpl (.Values.ingress.tls.host | default .Values.ingress.host) . }}" secretName: {{ .Values.ingress.tls.secretName }} {{- end }} {{- if .Values.ingress.ingressClassName }} diff --git a/charts/kafka-ui/values.yaml b/charts/kafka-ui/values.yaml index 9150b0e..0ad3e67 100644 --- a/charts/kafka-ui/values.yaml +++ b/charts/kafka-ui/values.yaml @@ -255,6 +255,8 @@ ingress: # Enable TLS termination for the Ingress ## @param ingress.tls.enabled Enable TLS configuration for the host defined at `ingress.host` parameter enabled: false + ## @param ingress.tls.host Optional host value for TLS certificate used by the ingress, value of `ingress.host` is used if not defined + host: "" ## @param ingress.tls.secretName [string] The name of a pre-created Secret containing a TLS private key and certificate secretName: ""