From e56bbdbf1e46f694c87025dc94607cf9cc2a1c59 Mon Sep 17 00:00:00 2001 From: Lucas Fernandes da Costa Date: Thu, 24 Oct 2024 10:53:34 -0300 Subject: [PATCH] support azure setting on helm chart --- chart/Chart.yaml | 4 ++-- chart/templates/ai-deployment.yaml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index b59cd7d5..9cc74f5b 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: briefer description: The helm chart for Briefer's open-source version. type: application -version: 0.1.1 -appVersion: '0.1.1' +version: 0.1.2 +appVersion: '0.1.2' diff --git a/chart/templates/ai-deployment.yaml b/chart/templates/ai-deployment.yaml index 9f550eec..cd3a1330 100644 --- a/chart/templates/ai-deployment.yaml +++ b/chart/templates/ai-deployment.yaml @@ -46,6 +46,8 @@ spec: {{- end }} {{- end }} env: + - name: USE_AZURE + value: '{{ .Values.ai.env.useAzure | default "false" }}' - name: PORT value: '{{ .Values.ai.env.port | default "8080" }}' - name: OPENAI_DEFAULT_MODEL_NAME