From 0bfa15d3008d0a37c3783c6743f73a52c14a7339 Mon Sep 17 00:00:00 2001 From: Ignacio Moreno Date: Wed, 1 Oct 2025 17:37:18 -0600 Subject: [PATCH] Allow to set the CT_CUSTOM_CLIENTS_ORIGIN env variable. --- charts/intel/templates/deployment.yaml | 4 ++++ charts/intel/values.yaml | 1 + 2 files changed, 5 insertions(+) diff --git a/charts/intel/templates/deployment.yaml b/charts/intel/templates/deployment.yaml index 930b1a1..19ba549 100644 --- a/charts/intel/templates/deployment.yaml +++ b/charts/intel/templates/deployment.yaml @@ -87,6 +87,10 @@ spec: {{ else }} {{ .Values.ai.url | quote }} {{ end }} + {{- if .Values.codetogether.customClientsUrl }} + - name: CT_HQ_OLLAMA_AI_CLIENTS_URL + value: {{ .Values.codetogether.customClientsUrl | quote }} + {{- end }} - name: CT_HQ_OLLAMA_AI_MODEL_NAME value: {{ .Values.ai.modelName | default "gemma3:1b" | quote }} - name: CT_HQ_OLLAMA_AI_API_KEY diff --git a/charts/intel/values.yaml b/charts/intel/values.yaml index 6cb0cc5..bb4c418 100644 --- a/charts/intel/values.yaml +++ b/charts/intel/values.yaml @@ -39,6 +39,7 @@ imageCredentials: codetogether: url: https:// trustAllCerts: false # Set to 'true' to trust all certificates + # customClientsUrl: "" # Optional custom URL for clients to download from hqproperties: