From dcc9e6d40a6a877cac8b634dc6ca8307fd887dfe Mon Sep 17 00:00:00 2001 From: Igor Artamonov Date: Mon, 28 Oct 2024 13:18:41 +0000 Subject: [PATCH] Configuration for a custom Kubernetes domain name (#110) * Configuration for a custom Kubernetes domain name * Version bump to v0.7.7 --- charts/quickwit/Chart.yaml | 2 +- charts/quickwit/templates/_helpers.tpl | 2 +- charts/quickwit/values.yaml | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/charts/quickwit/Chart.yaml b/charts/quickwit/Chart.yaml index 8c270c6..5174751 100644 --- a/charts/quickwit/Chart.yaml +++ b/charts/quickwit/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: quickwit description: Sub-second search & analytics engine on cloud storage. type: application -version: 0.7.6 +version: 0.7.7 appVersion: "v0.8.2" keywords: - quickwit diff --git a/charts/quickwit/templates/_helpers.tpl b/charts/quickwit/templates/_helpers.tpl index 4421428..542b56e 100644 --- a/charts/quickwit/templates/_helpers.tpl +++ b/charts/quickwit/templates/_helpers.tpl @@ -154,7 +154,7 @@ Quickwit environment - name: QW_ADVERTISE_ADDRESS value: "$(POD_IP)" - name: QW_CLUSTER_ENDPOINT - value: http://{{ include "quickwit.fullname" $ }}-metastore.{{ $.Release.Namespace }}.svc.cluster.local:7280 + value: http://{{ include "quickwit.fullname" $ }}-metastore.{{ $.Release.Namespace }}.svc.{{ .Values.clusterDomain }}:7280 {{- range $key, $value := .Values.environment }} - name: "{{ $key }}" value: "{{ $value }}" diff --git a/charts/quickwit/values.yaml b/charts/quickwit/values.yaml index cc6571d..2b63435 100644 --- a/charts/quickwit/values.yaml +++ b/charts/quickwit/values.yaml @@ -12,6 +12,9 @@ imagePullSecrets: [] nameOverride: "" fullnameOverride: "" +# Set the Kuberentes cluster domain if not default. It's used to build URLs for the services. +clusterDomain: cluster.local + # -- Additional labels to add to all resources additionalLabels: {} # app: quickwit