Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HELM] Improvements #1592

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions helm/h2ogpt-chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0-288
version: 0.2.0-521

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: 0.1.0-288
appVersion: 0.2.0-521
21 changes: 21 additions & 0 deletions helm/h2ogpt-chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,27 @@ spec:
name: {{ .Values.h2ogpt.externalLLM.secret }}
key: REPLICATE_API_TOKEN
{{- end }}
{{- if and .Values.h2ogpt.externalLLM.google.enabled .Values.h2ogpt.externalLLM.enabled }}
- name: GOOGLE_API_KEY
valueFrom:
secretKeyRef:
name: {{ .Values.h2ogpt.externalLLM.secret }}
key: GOOGLE_API_KEY
{{- end }}
{{- if and .Values.h2ogpt.externalLLM.mistral.enabled .Values.h2ogpt.externalLLM.enabled }}
- name: MISTRAL_API_KEY
valueFrom:
secretKeyRef:
name: {{ .Values.h2ogpt.externalLLM.secret }}
key: MISTRAL_API_KEY
{{- end }}
{{- if and .Values.h2ogpt.externalLLM.anthropic.enabled .Values.h2ogpt.externalLLM.enabled }}
- name: ANTHROPIC_API_KEY
valueFrom:
secretKeyRef:
name: {{ .Values.h2ogpt.externalLLM.secret }}
key: ANTHROPIC_API_KEY
{{- end }}
{{- if .Values.h2ogpt.externalLLM.enabled }}
- name: H2OGPT_MODEL_LOCK
value: {{ toJson .Values.h2ogpt.externalLLM.modelLock | quote }}
Expand Down
11 changes: 10 additions & 1 deletion helm/h2ogpt-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,19 @@ h2ogpt:
enabled: false

openAI:
enabled: False
enabled: false

replicate:
enabled: false

mistral:
enabled: false

google:
enabled: false

anthropic:
enabled: false

# -- Example configs to use when not using Model Lock and External LLM
# overrideConfig:
Expand Down
Loading