From 5921825ca55f00aa9327fffee83a784e46df071f Mon Sep 17 00:00:00 2001 From: Roman Martin Gil Date: Thu, 4 May 2023 13:59:49 +0200 Subject: [PATCH 1/3] Deploy OpenShift route for external communications --- charts/kafka-ui/templates/route.yaml | 26 ++++++++++++++++++++++++++ charts/kafka-ui/values.yaml | 17 +++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 charts/kafka-ui/templates/route.yaml diff --git a/charts/kafka-ui/templates/route.yaml b/charts/kafka-ui/templates/route.yaml new file mode 100644 index 00000000000..24ef6cee555 --- /dev/null +++ b/charts/kafka-ui/templates/route.yaml @@ -0,0 +1,26 @@ +{{- if .Values.route.enabled -}} +{{- $fullName := include "kafka-ui.fullname" . -}} +{{- $svcPort := (eq (int .Values.service.port) 80) | ternary "http" .Values.service.port -}} +kind: Route +apiVersion: route.openshift.io/v1 +metadata: + name: {{ $fullName }} + labels: + {{- include "kafka-ui.labels" . | nindent 4 }} + {{- with .Values.route.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} +spec: + to: + kind: Service + name: {{ $fullName }} + weight: 100 + port: + targetPort: {{ $svcPort | quote }} + {{- if .Values.route.tls.enabled }} + tls: + termination: {{ .Values.route.tls.termination }} + insecureEdgeTerminationPolicy: {{ .Values.route.tls.insecureEdgeTerminationPolicy }} + {{- end }} +{{- end }} diff --git a/charts/kafka-ui/values.yaml b/charts/kafka-ui/values.yaml index 3c30b408134..d28380c198e 100644 --- a/charts/kafka-ui/values.yaml +++ b/charts/kafka-ui/values.yaml @@ -130,6 +130,23 @@ ingress: # Http paths to add to the Ingress after the default path succeedingPaths: [] +# OpenShift Route configuration +route: + # Enable OpenShift Route resource + enabled: false + + # Annotations for OpenShift Route + annotations: {} + + # configs for OpenShift Route TLS + tls: + # Enable TLS termination for the OpenShift Route + enabled: false + # TLS termination + termination: edge + # Insecure Edge Termination Policy + insecureEdgeTerminationPolicy: Redirect + resources: {} # limits: From 9a0feeb7d9e2e1daaa771910254e129d39236780 Mon Sep 17 00:00:00 2001 From: Roman Martin Gil Date: Fri, 12 May 2023 02:09:21 +0200 Subject: [PATCH 2/3] Upgrade to version 0.6.4 --- charts/kafka-ui/Chart.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/kafka-ui/Chart.yaml b/charts/kafka-ui/Chart.yaml index 9337f597748..51d1c74ea88 100644 --- a/charts/kafka-ui/Chart.yaml +++ b/charts/kafka-ui/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: kafka-ui -description: A Helm chart for kafka-UI +description: A Helm chart for Kafka-UI type: application -version: 0.6.2 -appVersion: v0.6.2 +version: 0.6.4 +appVersion: v0.6.4 icon: https://github.com/provectus/kafka-ui/raw/master/documentation/images/kafka-ui-logo.png From 3126c55a65bee823dea4182b41f1c8320b120966 Mon Sep 17 00:00:00 2001 From: Roman Martin Gil Date: Fri, 19 May 2023 12:57:36 +0200 Subject: [PATCH 3/3] Upgrade to version 0.7.2 --- charts/kafka-ui/Chart.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/kafka-ui/Chart.yaml b/charts/kafka-ui/Chart.yaml index 51d1c74ea88..edd0394864c 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: 0.6.4 -appVersion: v0.6.4 +version: 0.7.2 +appVersion: v0.7.2 icon: https://github.com/provectus/kafka-ui/raw/master/documentation/images/kafka-ui-logo.png