diff --git a/charts/intel/templates/ai-config.yaml b/charts/intel/templates/ai-config.yaml index 763fedb..0074238 100644 --- a/charts/intel/templates/ai-config.yaml +++ b/charts/intel/templates/ai-config.yaml @@ -2,10 +2,13 @@ apiVersion: v1 kind: ConfigMap metadata: - name: ai-config + name: {{ printf "%s-ai-config" (include "codetogether.fullname" .) }} namespace: {{ .Release.Namespace }} + labels: + {{- include "codetogether.labels" . | nindent 4 }} data: ai_provider: {{ .Values.ai.provider | quote }} ai_url: {{ .Values.ai.url | quote }} {{- end }} + diff --git a/charts/intel/templates/deployment.yaml b/charts/intel/templates/deployment.yaml index b37a34f..4af3218 100644 --- a/charts/intel/templates/deployment.yaml +++ b/charts/intel/templates/deployment.yaml @@ -44,12 +44,12 @@ spec: - name: AI_PROVIDER valueFrom: configMapKeyRef: - name: ai-config + name: {{ printf "%s-ai-config" (include "codetogether.fullname" .) }} key: ai_provider - name: AI_EXTERNAL_URL valueFrom: configMapKeyRef: - name: ai-config + name: {{ printf "%s-ai-config" (include "codetogether.fullname" .) }} key: ai_url - name: AI_EXTERNAL_API_KEY valueFrom: diff --git a/charts/intel/values.yaml b/charts/intel/values.yaml index 3eb285f..b17e158 100644 --- a/charts/intel/values.yaml +++ b/charts/intel/values.yaml @@ -143,9 +143,13 @@ securityContext: {} ai: enabled: false mode: "bundled" # Options: bundled | external - image: - repository: hub.edge.codetogether.com/releases/codetogether-llm - tag: latest + provider: "" + url: "" + modelName: "gemma3:1b" + externalSecret: + create: false + name: "" + apiKey: "" # resources: # Recommended resources configuration # requests: # cpu: "2"