diff --git a/charts/testkube-cloud-ui/templates/deployment.yaml b/charts/testkube-cloud-ui/templates/deployment.yaml index 4290b823f..41fff17e0 100644 --- a/charts/testkube-cloud-ui/templates/deployment.yaml +++ b/charts/testkube-cloud-ui/templates/deployment.yaml @@ -52,6 +52,12 @@ spec: value: {{ .Values.ui.authStrategy }} {{- end }} {{- if .Values.global.ai.enabled }} + - name: TK_AI_URI + value: {{ .Values.global.ai.uri }} + - name: TK_AI_KIND + value: {{ .Values.global.ai.kind }} + - name: TK_AI_MODEL + value: {{ .Values.global.ai.model }} - name: TK_AI_KEY {{- if .Values.global.ai.secretRef }} valueFrom: diff --git a/charts/testkube-cloud-ui/values.yaml b/charts/testkube-cloud-ui/values.yaml index 4b7d970d8..426ea7c68 100644 --- a/charts/testkube-cloud-ui/values.yaml +++ b/charts/testkube-cloud-ui/values.yaml @@ -35,6 +35,12 @@ global: ai: # -- Enable Testkube AI keys for frontend enabled: false + # -- API URI + uri: "https://ai.testkube.dev" + # -- LLM kind (openaai | ollama) + kind: "openai" + # -- LLM model - LLM need to support it + model: "gpt-4o-mini" # -- Secret name secretRef: testkube-ai replicaCount: 1